public class GphotoBytesUsed extends AbstractExtension
Constructor and Description |
---|
GphotoBytesUsed()
Default mutable constructor.
|
GphotoBytesUsed(java.lang.Long 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.Long |
getValue()
Returns the number of bytes used.
|
int |
hashCode() |
boolean |
hasValue()
Returns whether it has the number of bytes used.
|
void |
setValue(java.lang.Long value)
Sets the number of bytes used.
|
java.lang.String |
toString() |
disableStrictValidation, enableStrictValidation, generate, getExtensionLocalName, getExtensionNamespace, getHandler, isImmutable, isStrictValidation, setImmutable
public GphotoBytesUsed()
public GphotoBytesUsed(java.lang.Long value)
value
- number of bytes used.public java.lang.Long getValue()
public void setValue(java.lang.Long value)
value
- number of bytes used 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