public class D extends AMetadata<D> implements Comparable<D>
Modifier and Type | Field and Description |
---|---|
protected Calendar |
value
The value property.
|
availability, cls, extReferences, idref, legacyReleasability, quality, recommendedValue, remarkRef
Constructor and Description |
---|
D()
Construct a new, empty D instance.
|
D(Calendar value)
Construct a new D instance with the given initial value.
|
D(Date value)
Construct a new D instance with the given initial value.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(D obj)
Comparison and sorting is in REVERSE chronological order (Newest to Oldest)
|
boolean |
equals(Object obj)
Equality is based upon the value.
|
Calendar |
getValue()
Gets the value of the value property.
|
int |
hashCode()
Hash code is based upon the value.
|
boolean |
isSet()
Determine if the required fields in this SSRF data type instance are set.
|
boolean |
isSetValue()
Determine if the value property is configured.
|
void |
setValue(Calendar value)
Sets the value of the value property.
|
void |
setValue(Date value)
Sets the value of the value property.
|
String |
toString()
Get a string representation of this data wrapper value.
|
getAvailability, getCls, getExtReferences, getIdref, getLegacyReleasability, getQuality, getRecommendedValue, getRemarkRef, isSetAvailability, isSetCls, isSetExtReferences, isSetIdref, isSetLegacyReleasability, isSetQuality, isSetRecommendedValue, isSetRemarkRef, setAvailability, setCls, setIdref, setLegacyReleasability, setQuality, setRecommendedValue, unsetExtReferences, unsetRemarkRef, withAvailability, withCls, withExtReferences, withExtReferences, withIdref, withLegacyReleasability, withQuality, withRecommendedValue, withRemarkRef, withRemarkRef
protected Calendar value
public D()
public D(Calendar value)
value
- The initial value.public D(Date value)
value
- The initial value.public Calendar getValue()
public final void setValue(Calendar value)
value
- public final void setValue(Date value)
value
- public boolean isSetValue()
public boolean isSet()
Note that this method only checks for the presence of required information; this method does not validate the information format.
public String toString()
public int hashCode()
public boolean equals(Object obj)
public int compareTo(D obj)
compareTo
in interface Comparable<D>
obj
- the other object to compareCopyright © 2016 OpenSSRF.org. All rights reserved.