|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.model.Element
com.google.gdata.model.gd.Name
public class Name
Name of a person in a structured form.
Field Summary | |
---|---|
static ElementKey<java.lang.Void,Name> |
KEY
The key for this element. |
Constructor Summary | |
---|---|
Name()
Constructs an instance using the default key. |
Method Summary | |
---|---|
AdditionalName |
getAdditionalName()
Returns the additional name. |
FamilyName |
getFamilyName()
Returns the family name. |
FullName |
getFullName()
Returns the full name. |
GivenName |
getGivenName()
Returns the given name. |
NamePrefix |
getNamePrefix()
Returns the name prefix. |
NameSuffix |
getNameSuffix()
Returns the name suffix. |
boolean |
hasAdditionalName()
Returns whether it has the additional name. |
boolean |
hasFamilyName()
Returns whether it has the family name. |
boolean |
hasFullName()
Returns whether it has the full name. |
boolean |
hasGivenName()
Returns whether it has the given name. |
boolean |
hasNamePrefix()
Returns whether it has the name prefix. |
boolean |
hasNameSuffix()
Returns whether it has the name suffix. |
Name |
lock()
Locks this element. |
static void |
registerMetadata(MetadataRegistry registry)
Registers the metadata for this element. |
Name |
setAdditionalName(AdditionalName additionalName)
Sets the additional name. |
Name |
setFamilyName(FamilyName familyName)
Sets the family name. |
Name |
setFullName(FullName fullName)
Sets the full name. |
Name |
setGivenName(GivenName givenName)
Sets the given name. |
Name |
setNamePrefix(NamePrefix namePrefix)
Sets the name prefix. |
Name |
setNameSuffix(NameSuffix nameSuffix)
Sets the name suffix. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ElementKey<java.lang.Void,Name> KEY
Constructor Detail |
---|
public Name()
Method Detail |
---|
public static void registerMetadata(MetadataRegistry registry)
public Name lock()
Element
lock
in class Element
public AdditionalName getAdditionalName()
public Name setAdditionalName(AdditionalName additionalName)
additionalName
- additional name or null
to reset
public boolean hasAdditionalName()
public FamilyName getFamilyName()
public Name setFamilyName(FamilyName familyName)
familyName
- family name or null
to reset
public boolean hasFamilyName()
public FullName getFullName()
public Name setFullName(FullName fullName)
fullName
- full name or null
to reset
public boolean hasFullName()
public GivenName getGivenName()
public Name setGivenName(GivenName givenName)
givenName
- given name or null
to reset
public boolean hasGivenName()
public NamePrefix getNamePrefix()
public Name setNamePrefix(NamePrefix namePrefix)
namePrefix
- name prefix or null
to reset
public boolean hasNamePrefix()
public NameSuffix getNameSuffix()
public Name setNameSuffix(NameSuffix nameSuffix)
nameSuffix
- name suffix or null
to reset
public boolean hasNameSuffix()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |