public class TDate extends AMetadata<TDate> implements IMetadataType, Comparable<TDate>
Modifier and Type | Field and Description |
---|---|
protected Calendar |
value
The value to which the metadata attributes are associated.
|
availability, cls, extReferences, idref, legacyReleasability, quality, recommendedValue, remarkRef
Constructor and Description |
---|
TDate()
Zero argument constructor.
|
TDate(Calendar value) |
TDate(Date value) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(TDate o)
Comparison and sorting is in REVERSE chronological order (Newest to Oldest)
|
boolean |
equals(Object obj)
Equality is based upon the Calendar value.
|
Calendar |
getValue()
Gets the value of the value property.
|
int |
hashCode()
Hash code is based upon the Calendar 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 TDate(Calendar value)
public TDate(Date value)
public TDate()
public Calendar getValue()
getValue
in interface IMetadataType
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(TDate o)
compareTo
in interface Comparable<TDate>
o
- the other object to compareCopyright © 2016 OpenSSRF.org. All rights reserved.