|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.data.AbstractExtension
com.google.gdata.data.ExtensionPoint
com.google.gdata.data.extensions.Name
public class Name
Name of a person in a structured form.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gdata.data.ExtensionPoint |
---|
ExtensionPoint.CumulativeBlobHandler, ExtensionPoint.ExtensionHandler |
Constructor Summary | |
---|---|
Name()
Default mutable constructor. |
Method Summary | |
---|---|
void |
declareExtensions(ExtensionProfile extProfile)
Declares the set of expected Extension types for an ExtensionPoint within the target extension profile. |
AdditionalName |
getAdditionalName()
Returns the additional name. |
static ExtensionDescription |
getDefaultDescription(boolean required,
boolean repeatable)
Returns the extension description, specifying whether it is required, and whether it is repeatable. |
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. |
void |
setAdditionalName(AdditionalName additionalName)
Sets the additional name. |
void |
setFamilyName(FamilyName familyName)
Sets the family name. |
void |
setFullName(FullName fullName)
Sets the full name. |
void |
setGivenName(GivenName givenName)
Sets the given name. |
void |
setNamePrefix(NamePrefix namePrefix)
Sets the name prefix. |
void |
setNameSuffix(NameSuffix nameSuffix)
Sets the name suffix. |
java.lang.String |
toString()
|
Methods inherited from class com.google.gdata.data.ExtensionPoint |
---|
addExtension, addRepeatingExtension, generateCumulativeXmlBlob, getExtension, getExtensions, getHandler, getRepeatingExtension, getRepeatingExtensions, getXmlBlob, hasExtension, hasRepeatingExtension, parseCumulativeXmlBlob, removeExtension, removeExtension, removeRepeatingExtension, setExtension, setXmlBlob, visit |
Methods inherited from class com.google.gdata.data.AbstractExtension |
---|
disableStrictValidation, enableStrictValidation, generate, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Name()
Method Detail |
---|
public void declareExtensions(ExtensionProfile extProfile)
ExtensionPoint
declareExtensions
in class ExtensionPoint
extProfile
- the ExtensionProfile to initialize.public AdditionalName getAdditionalName()
public void setAdditionalName(AdditionalName additionalName)
additionalName
- additional name or null
to resetpublic boolean hasAdditionalName()
public FamilyName getFamilyName()
public void setFamilyName(FamilyName familyName)
familyName
- family name or null
to resetpublic boolean hasFamilyName()
public FullName getFullName()
public void setFullName(FullName fullName)
fullName
- full name or null
to resetpublic boolean hasFullName()
public GivenName getGivenName()
public void setGivenName(GivenName givenName)
givenName
- given name or null
to resetpublic boolean hasGivenName()
public NamePrefix getNamePrefix()
public void setNamePrefix(NamePrefix namePrefix)
namePrefix
- name prefix or null
to resetpublic boolean hasNamePrefix()
public NameSuffix getNameSuffix()
public void setNameSuffix(NameSuffix nameSuffix)
nameSuffix
- name suffix or null
to resetpublic boolean hasNameSuffix()
public static ExtensionDescription getDefaultDescription(boolean required, boolean repeatable)
required
- whether it is requiredrepeatable
- whether it is repeatable
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |