public class GphotoPhotoId extends ValueConstruct
Constructor and Description |
---|
GphotoPhotoId()
Default mutable constructor.
|
GphotoPhotoId(java.lang.String value)
Constructor (mutable or immutable).
|
Modifier and Type | Method and Description |
---|---|
static GphotoPhotoId |
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() |
equals, generate, getHandler, getValue, hashCode, hasValue, isRequired, putAttributes, setValue
disableStrictValidation, enableStrictValidation, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable
public GphotoPhotoId()
public GphotoPhotoId(java.lang.String value)
value
- immutable photoId or null
for a mutable photoIdpublic 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 GphotoPhotoId from(java.lang.Long id)