Skip to content

Commit

Permalink
added Private Adress, WebProfiles and InstantMessagingAccounts
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnybbb committed Jun 30, 2015
1 parent 6a30012 commit 976b52f
Show file tree
Hide file tree
Showing 18 changed files with 364 additions and 107 deletions.
8 changes: 4 additions & 4 deletions gradle.properties
@@ -1,11 +1,11 @@
version = 1.1.3.BUILD-SNAPSHOT
springSocialVersion = 1.1.0.RELEASE
version = 1.1.3.RELEASE
springSocialVersion = 1.1.2.RELEASE
hamcrestVersion = 1.3
jacksonVersion = 2.5.2
jacksonVersion = 2.5.4
junitVersion = 4.11
mockitoVersion = 1.10.17
servletApiVersion = 3.0.1
springVersion = 4.1.6.RELEASE
springSecurityVersion = 3.2.3.RELEASE
springSecurityVersion = 3.2.5.RELEASE
bintrayUser=''
bintrayKey=''
@@ -0,0 +1,93 @@
package org.springframework.social.xing.api;


import java.io.Serializable;

public class Address implements Serializable {

private static final long serialVersionUID = -4301007029555241358L;
private String fax;
private String mobilePhone;
private String phone;
private String zipCode;
private String country;
private String province;
private String city;
private String street;
private String email;



public Object getFax() {
return fax;
}

public void setFax(String fax) {
this.fax = fax;
}

public String getMobilePhone() {
return mobilePhone;
}

public void setMobilePhone(String mobilePhone) {
this.mobilePhone = mobilePhone;
}

public String getPhone() {
return phone;
}

public void setPhone(String phone) {
this.phone = phone;
}

public String getZipCode() {
return zipCode;
}

public void setZipCode(String zipCode) {
this.zipCode = zipCode;
}

public String getCountry() {
return country;
}

public void setCountry(String country) {
this.country = country;
}

public Object getProvince() {
return province;
}

public void setProvince(String province) {
this.province = province;
}

public String getCity() {
return city;
}

public void setCity(String city) {
this.city = city;
}

public String getStreet() {
return street;
}

public void setStreet(String street) {
this.street = street;
}

public String getEmail() {
return email;
}

public void setEmail(String email) {
this.email = email;
}

}
Expand Up @@ -3,90 +3,9 @@

import java.io.Serializable;

public class BusinessAddress implements Serializable {
public class BusinessAddress extends Address implements Serializable {

private static final long serialVersionUID = -4301007029555241358L;
private String fax;
private String mobilePhone;
private String phone;
private String zipCode;
private String country;
private String province;
private String city;
private String street;
private String email;


public Object getFax() {
return fax;
}

public void setFax(String fax) {
this.fax = fax;
}

public String getMobilePhone() {
return mobilePhone;
}

public void setMobilePhone(String mobilePhone) {
this.mobilePhone = mobilePhone;
}

public String getPhone() {
return phone;
}

public void setPhone(String phone) {
this.phone = phone;
}

public String getZipCode() {
return zipCode;
}

public void setZipCode(String zipCode) {
this.zipCode = zipCode;
}

public String getCountry() {
return country;
}

public void setCountry(String country) {
this.country = country;
}

public Object getProvince() {
return province;
}

public void setProvince(String province) {
this.province = province;
}

public String getCity() {
return city;
}

public void setCity(String city) {
this.city = city;
}

public String getStreet() {
return street;
}

public void setStreet(String street) {
this.street = street;
}

public String getEmail() {
return email;
}

public void setEmail(String email) {
this.email = email;
}

}
@@ -0,0 +1,25 @@
package org.springframework.social.xing.api;

public class InstantMessagingAccounts {

private String skype;
private String googletalk;


public String getSkype() {
return skype;
}

public void setSkype(String skype) {
this.skype = skype;
}

public String getGoogletalk() {
return googletalk;
}

public void setGoogletalk(String googletalk) {
this.googletalk = googletalk;
}

}
@@ -0,0 +1,11 @@
package org.springframework.social.xing.api;


import java.io.Serializable;

public class PrivateAddress extends Address implements Serializable {

private static final long serialVersionUID = -4301007029555241358L;


}
@@ -0,0 +1,25 @@
package org.springframework.social.xing.api;

public class TimeZone {

private String name;
private Double utcOffset;


public String getName() {
return name;
}

public void setName(String name) {
this.name = name;
}

public Double getUtcOffset() {
return utcOffset;
}

public void setUtcOffset(Double utcOffset) {
this.utcOffset = utcOffset;
}

}
@@ -0,0 +1,45 @@
package org.springframework.social.xing.api;

import java.util.List;

public class WebProfiles {

private List<String> qype;
private List<String> googlePlus;
private List<String> blog;
private List<String> homepage;


public List<String> getQype() {
return qype;
}

public void setQype(List<String> qype) {
this.qype = qype;
}

public List<String> getGooglePlus() {
return googlePlus;
}

public void setGooglePlus(List<String> googlePlus) {
this.googlePlus = googlePlus;
}

public List<String> getBlog() {
return blog;
}

public void setBlog(List<String> blog) {
this.blog = blog;
}

public List<String> getHomepage() {
return homepage;
}

public void setHomepage(List<String> homepage) {
this.homepage = homepage;
}

}
Expand Up @@ -38,19 +38,26 @@ public class XingProfile implements Serializable {
private String gender;
private String pageName;
private BusinessAddress businessAddress;
private PrivateAddress privateAddress;
private String haves;
private String id;
private String firstName;
private String lastName;
private String permalink;
private String activeEmail;
private String displayName;
private TimeZone timeZone;
private List<String> premiumServices;
private EmploymentStatus employmentStatus;
private WebProfiles webProfiles;
private InstantMessagingAccounts instantMessagingAccounts;
private ProfessionalExperience professionalExperience;
private EducationalBackground educationalBackground;
private Map<Language, LanguageSkill> languages;




public XingProfile() {
}

Expand Down Expand Up @@ -111,6 +118,22 @@ public void setHaves(String haves) {
this.haves = haves;
}

public void setPrivateAddress(PrivateAddress privateAddress) {
this.privateAddress = privateAddress;
}

public void setPremiumServices(List<String> premiumServices) {
this.premiumServices = premiumServices;
}

public void setWebProfiles(WebProfiles webProfiles) {
this.webProfiles = webProfiles;
}

public void setTimeZone(TimeZone timeZone) {
this.timeZone = timeZone;
}

public List<String> getBadges() {
return badges;
}
Expand Down Expand Up @@ -147,6 +170,10 @@ public BusinessAddress getBusinessAddress() {
return businessAddress;
}

public PrivateAddress getPrivateAddress() {
return privateAddress;
}

public String getHaves() {
return haves;
}
Expand Down Expand Up @@ -190,4 +217,16 @@ public EmploymentStatus getEmploymentStatus() {
public Map<Language, LanguageSkill> getLanguages() {
return languages;
}

public InstantMessagingAccounts getInstantMessagingAccounts() {
return instantMessagingAccounts;
}

public List<String> getPremiumServices() {
return premiumServices;
}

public WebProfiles getWebProfiles() {
return webProfiles;
}
}

0 comments on commit 976b52f

Please sign in to comment.