public class TString extends AMetadata<TString> implements Comparable<TString>
| Modifier and Type | Field and Description |
|---|---|
protected String |
value
The value to which the metadata attributes are associated.
|
availability, cls, extReferences, idref, legacyReleasability, quality, recommendedValue, remarkRef| Constructor and Description |
|---|
TString()
Empty constructor.
|
TString(String value)
Construct a new data type instance with the indicated value.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TString o)
Comparison and sorting is alphabetical based upon the String value.
|
boolean |
equals(Object obj)
Equality is based upon the String value.
|
String |
getValue()
Gets the value of the value property.
|
int |
hashCode()
Hash code is based upon the String 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(String value)
Sets the value of the value property.
|
String |
toString()
Get the configured value.
|
TString |
withValue(String value)
Sets the value of the value property.
|
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, withRemarkRefprotected String value
public TString(String value)
value - the valuepublic TString()
public String getValue()
public void setValue(String value)
value - public boolean isSetValue()
public TString withValue(String value)
value - the value to setpublic 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(TString o)
compareTo in interface Comparable<TString>o - the other TString valueCopyright © 2016 OpenSSRF.org. All rights reserved.