public class GphotoAlbumId extends ValueConstruct
AbstractExtension.AttributesHandler
attrName
localName, namespace
Constructor and Description |
---|
GphotoAlbumId()
Default mutable constructor.
|
GphotoAlbumId(java.lang.String value)
Constructor (mutable or immutable).
|
Modifier and Type | Method and Description |
---|---|
static GphotoAlbumId |
from(java.lang.Long id) |
static ExtensionDescription |
getDefaultDescription(boolean required,
boolean repeatable)
Returns the extension description, specifying whether it is required, and
whether it is repeatable.
|
java.lang.String |
toString() |
consumeAttributes, equals, generate, getHandler, getValue, hashCode, hasValue, isRequired, putAttributes, setRequired, setValue
disableStrictValidation, enableStrictValidation, eq, generate, generateAttributes, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, sameClassAs, setImmutable, throwExceptionForMissingAttribute, throwExceptionIfImmutable, validate
public GphotoAlbumId()
public GphotoAlbumId(java.lang.String value)
value
- immutable albumId or null
for a mutable albumIdpublic static ExtensionDescription getDefaultDescription(boolean required, boolean repeatable)
required
- whether it is requiredrepeatable
- whether it is repeatablepublic java.lang.String toString()
toString
in class java.lang.Object
public static GphotoAlbumId from(java.lang.Long id)