public class GphotoPhotosLeft extends AbstractExtension
Constructor and Description |
---|
GphotoPhotosLeft()
Default mutable constructor.
|
GphotoPhotosLeft(java.lang.Integer value)
Immutable constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static ExtensionDescription |
getDefaultDescription(boolean required,
boolean repeatable)
Returns the extension description, specifying whether it is required, and
whether it is repeatable.
|
java.lang.Integer |
getValue()
Returns the photos left.
|
int |
hashCode() |
boolean |
hasValue()
Returns whether it has the photos left.
|
void |
setValue(java.lang.Integer value)
Sets the photos left.
|
java.lang.String |
toString() |
disableStrictValidation, enableStrictValidation, generate, getExtensionLocalName, getExtensionNamespace, getHandler, isImmutable, isStrictValidation, setImmutable
public GphotoPhotosLeft()
public GphotoPhotosLeft(java.lang.Integer value)
value
- photos left.public java.lang.Integer getValue()
public void setValue(java.lang.Integer value)
value
- photos left or null
to resetpublic boolean hasValue()
public static ExtensionDescription getDefaultDescription(boolean required, boolean repeatable)
required
- whether it is requiredrepeatable
- whether it is repeatablepublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object