|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 Form| Nested 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 Codedpublic String getName()
CountyContract
getName in interface CountyContractpublic String getCountryCode()
CountyContract
getCountryCode in interface CountyContractpublic String getStateCode()
CountyContract
getStateCode in interface CountyContractpublic boolean isActive()
Inactivatable
isActive in interface Inactivatablepublic Long getVersionNumber()
Versioned
getVersionNumber in interface Versionedpublic int hashCode()
ModelObjectCompleteModelObjectComplete.hashCode() contract.
hashCode in interface ModelObjectCompletehashCode in class Objectpublic boolean equals(Object obj)
ModelObjectCompleteModelObjectComplete.equals(Object) contract.
equals in interface ModelObjectCompleteequals in class Objectobj - to object to compare for equality
public String toString()
ModelObjectBasic
toString in interface ModelObjectBasictoString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||