|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StateProvince
Interface representing a State or Province; States or Provinces are defined relative to the Country that contains them, and hence are required to contain a reference to this Country
Field Summary |
---|
Fields inherited from interface org.janux.bus.persistence.Persistent |
---|
UNSAVED_ID |
Method Summary | |
---|---|
String |
getCode()
a Code that uniquely identifies a State or Province within a Country |
Country |
getCountry()
the Country containing this State/Province, must be not null |
String |
getName()
the name of the State or Province; TODO: this field should be internationalized |
Integer |
getSortOrder()
implementation specific sorting order, for example to display the State/Provinces in a list or drop-down in an arbitrary order |
void |
setCode(String code)
|
void |
setCountry(Country c)
|
void |
setName(String name)
|
void |
setSortOrder(Integer i)
|
Methods inherited from interface org.janux.bus.persistence.Persistent |
---|
getId, setId |
Method Detail |
---|
String getCode()
void setCode(String code)
String getName()
void setName(String name)
Country getCountry()
void setCountry(Country c)
Integer getSortOrder()
void setSortOrder(Integer i)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |