public class State extends JDBCObject<State>
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
The class' serialization version id.
|
LOWVAL_RPG_DATE, LOWVAL_RPG_TIME, STATUS_ACTIVE, STATUS_BLANK, STATUS_CANCELED, STATUS_DELETED, STATUS_INACTIVE, STATUS_PENDING
ivHashCode, ivHashFlds, ivObjAttrs
Constructor and Description |
---|
State()
Constructs a
State object with all field values set to null . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCode()
Returns the unique code for the state/province.
|
Country |
getCountry()
Returns the country object.
|
java.lang.String |
getCountryCode()
Returns the country code.
|
java.lang.String |
getName()
Returns the description.
|
boolean |
isDefault()
Answers if this is a default state/province (code="", name="N/A").
|
void |
setCode(java.lang.String value)
Sets the unique code for the state/province.
|
void |
setCountry(Country value)
Sets the country object.
|
private void |
setCountryCode(java.lang.String value)
Sets the country code.
|
void |
setName(java.lang.String value)
Sets the description.
|
after, before, compareTo, equals, fmtStatus, fmtStatus, getObjectStatus, hashKey, setObjectStatus
cloneMapAttributes, formatValue, formatValue, getHashFields, getMapArrayList, getMapAttributes, getMapBigDecimal, getMapBoolean, getMapDate, getMapDouble, getMapInteger, getMapLong, getMapMapped, getMapObject, getMapShort, getMapString, getMapString, getMapStringBuffer, getMapStringBuilder, getMapTime, getMapTimestamp, getMapVector, hashCode, setHashFields, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMapAttributes, setMapObject, setMapTime, setMapTimestamp, toStringArray
private static final long serialVersionUID
public State()
State
object with all field values set to null
.public java.lang.String getCode()
public void setCode(java.lang.String value)
value
- (String) The unique code for the state/province.public java.lang.String getName()
public void setName(java.lang.String value)
value
- (String) The description.public Country getCountry()
public void setCountry(Country value)
value
- (Country) The country object.public java.lang.String getCountryCode()
private void setCountryCode(java.lang.String value)
value
- (String) The country code.public boolean isDefault()
true
if this is a default state/province,
otherwise false
.