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