|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.shareddata.api.county.County
public final class County
An immutable representation of a CountyContract
.
To construct an instance of a County, use the County.Builder
class.
CountyContract
,
Serialized FormNested Class Summary | |
---|---|
static class |
County.Builder
This builder constructs an County enforcing the constraints of the CountyContract . |
(package private) static class |
County.Constants
Defines some internal constants used on this class. |
(package private) static class |
County.Elements
A private class which exposes constants which define the XML element names to use when this object is marshalled to XML. |
Field Summary | |
---|---|
private Collection<Element> |
_futureElements
|
private boolean |
active
|
private String |
code
|
private String |
countryCode
|
private String |
name
|
private static long |
serialVersionUID
|
private String |
stateCode
|
private Long |
versionNumber
|
Constructor Summary | |
---|---|
private |
County()
This constructor should never be called except during JAXB unmarshalling. |
private |
County(County.Builder builder)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
All "Complete" model object's should adhere to the ModelObjectComplete.equals(Object) contract. |
String |
getCode()
The code value for this object. |
String |
getCountryCode()
This the postal country code for the County. |
String |
getName()
This the name for the County. |
String |
getStateCode()
This the postal state code for the County. |
Long |
getVersionNumber()
Returns the version number for this object. |
int |
hashCode()
All "Complete" model object's should adhere to the ModelObjectComplete.hashCode() contract. |
boolean |
isActive()
The active indicator for an object. |
String |
toString()
This will return a proper string representation of the Model Object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private final String code
private final String name
private final String countryCode
private final String stateCode
private final boolean active
private final Long versionNumber
private final Collection<Element> _futureElements
Constructor Detail |
---|
private County()
private County(County.Builder builder)
Method Detail |
---|
public String getCode()
Coded
getCode
in interface Coded
public String getName()
CountyContract
getName
in interface CountyContract
public String getCountryCode()
CountyContract
getCountryCode
in interface CountyContract
public String getStateCode()
CountyContract
getStateCode
in interface CountyContract
public boolean isActive()
Inactivatable
isActive
in interface Inactivatable
public Long getVersionNumber()
Versioned
getVersionNumber
in interface Versioned
public int hashCode()
ModelObjectComplete
ModelObjectComplete.hashCode()
contract.
hashCode
in interface ModelObjectComplete
hashCode
in class Object
public boolean equals(Object obj)
ModelObjectComplete
ModelObjectComplete.equals(Object)
contract.
equals
in interface ModelObjectComplete
equals
in class Object
obj
- to object to compare for equality
public String toString()
ModelObjectBasic
toString
in interface ModelObjectBasic
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |