|
|||||||||
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.ValueConstruct
com.google.gdata.data.contacts.Birthday
public class Birthday
Contact's birth date.
Constructor Summary | |
---|---|
Birthday()
Default mutable constructor. |
|
Birthday(java.lang.String when)
Constructor (mutable or immutable). |
Method Summary | |
---|---|
static ExtensionDescription |
getDefaultDescription(boolean required,
boolean repeatable)
Returns the extension description, specifying whether it is required, and whether it is repeatable. |
java.lang.String |
getWhen()
Returns the birth date. |
boolean |
hasWhen()
Returns whether it has the birth date. |
void |
setWhen(java.lang.String when)
Sets the birth date. |
java.lang.String |
toString()
|
Methods inherited from class com.google.gdata.data.ValueConstruct |
---|
equals, generate, getHandler, getValue, hashCode, hasValue, isRequired, putAttributes, setValue |
Methods inherited from class com.google.gdata.data.AbstractExtension |
---|
disableStrictValidation, enableStrictValidation, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Birthday()
public Birthday(java.lang.String when)
when
- immutable birth date or null
for a mutable birth
dateMethod Detail |
---|
public java.lang.String getWhen()
public void setWhen(java.lang.String when)
when
- birth date or null
to resetpublic boolean hasWhen()
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 |