public class DT extends AMetadata<DT> implements Comparable<DT>
Modifier and Type | Field and Description |
---|---|
protected Calendar |
value
The value property.
|
availability, cls, extReferences, idref, legacyReleasability, quality, recommendedValue, remarkRef
Constructor and Description |
---|
DT()
Construct a new, empty DT instance.
|
DT(Calendar value)
Construct a new DT instance with the given initial value.
|
DT(Date value)
Construct a new DT instance with the given initial value.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(DT 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 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 the configured 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 DT()
public DT(Calendar value)
value
- The initial value.public DT(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()
public String toString()
public int hashCode()
public boolean equals(Object obj)
public int compareTo(DT obj)
compareTo
in interface Comparable<DT>
obj
- the other object to compareCopyright © 2016 OpenSSRF.org. All rights reserved.