com.google.gdata.data.photos
Class GphotoName
java.lang.Object
com.google.gdata.data.AbstractExtension
com.google.gdata.data.ValueConstruct
com.google.gdata.data.photos.GphotoName
- All Implemented Interfaces:
- Extension
public class GphotoName
- extends ValueConstruct
The canonical name of the album.
Constructor Summary |
GphotoName()
Default mutable constructor. |
GphotoName(java.lang.String value)
Constructor (mutable or immutable). |
Methods inherited from class com.google.gdata.data.ValueConstruct |
consumeAttributes, equals, generate, getHandler, getValue, hashCode, hasValue, isRequired, putAttributes, setRequired, setValue |
Methods inherited from class com.google.gdata.data.AbstractExtension |
eq, generate, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validate |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
GphotoName
public GphotoName()
- Default mutable constructor.
GphotoName
public GphotoName(java.lang.String value)
- Constructor (mutable or immutable).
- Parameters:
value
- immutable canonical name or null
for a mutable
canonical name
getDefaultDescription
public static ExtensionDescription getDefaultDescription(boolean required,
boolean repeatable)
- Returns the extension description, specifying whether it is required, and
whether it is repeatable.
- Parameters:
required
- whether it is requiredrepeatable
- whether it is repeatable
- Returns:
- extension description
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object