| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | |
|
| 15 | |
|
| 16 | |
|
| 17 | |
|
| 18 | |
package org.apache.shindig.social.core.model; |
| 19 | |
|
| 20 | |
import org.apache.shindig.social.opensocial.model.Name; |
| 21 | |
|
| 22 | |
public class NameImpl implements Name { |
| 23 | |
|
| 24 | |
private String additionalName; |
| 25 | |
private String familyName; |
| 26 | |
private String givenName; |
| 27 | |
private String honorificPrefix; |
| 28 | |
private String honorificSuffix; |
| 29 | |
private String unstructured; |
| 30 | |
|
| 31 | 33 | public NameImpl() { |
| 32 | 33 | } |
| 33 | |
|
| 34 | 48 | public NameImpl(String unstructured) { |
| 35 | 48 | this.unstructured = unstructured; |
| 36 | 48 | } |
| 37 | |
|
| 38 | |
public String getUnstructured() { |
| 39 | 52 | return unstructured; |
| 40 | |
} |
| 41 | |
|
| 42 | |
public void setUnstructured(String unstructured) { |
| 43 | 33 | this.unstructured = unstructured; |
| 44 | 33 | } |
| 45 | |
|
| 46 | |
public String getAdditionalName() { |
| 47 | 22 | return additionalName; |
| 48 | |
} |
| 49 | |
|
| 50 | |
public void setAdditionalName(String additionalName) { |
| 51 | 10 | this.additionalName = additionalName; |
| 52 | 10 | } |
| 53 | |
|
| 54 | |
public String getFamilyName() { |
| 55 | 22 | return familyName; |
| 56 | |
} |
| 57 | |
|
| 58 | |
public void setFamilyName(String familyName) { |
| 59 | 36 | this.familyName = familyName; |
| 60 | 36 | } |
| 61 | |
|
| 62 | |
public String getGivenName() { |
| 63 | 22 | return givenName; |
| 64 | |
} |
| 65 | |
|
| 66 | |
public void setGivenName(String givenName) { |
| 67 | 36 | this.givenName = givenName; |
| 68 | 36 | } |
| 69 | |
|
| 70 | |
public String getHonorificPrefix() { |
| 71 | 22 | return honorificPrefix; |
| 72 | |
} |
| 73 | |
|
| 74 | |
public void setHonorificPrefix(String honorificPrefix) { |
| 75 | 10 | this.honorificPrefix = honorificPrefix; |
| 76 | 10 | } |
| 77 | |
|
| 78 | |
public String getHonorificSuffix() { |
| 79 | 22 | return honorificSuffix; |
| 80 | |
} |
| 81 | |
|
| 82 | |
public void setHonorificSuffix(String honorificSuffix) { |
| 83 | 10 | this.honorificSuffix = honorificSuffix; |
| 84 | 10 | } |
| 85 | |
} |