|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Country
Interface representing a Country; contains convenience classes for storing ISO Code and International Phone code; all State/Provinces and Cities in the system contain references to their containing Country
| Field Summary |
|---|
| Fields inherited from interface org.janux.bus.persistence.Persistent |
|---|
UNSAVED_ID |
| Method Summary | |
|---|---|
String |
getCode()
the unique two-letter ISO code identifying this Country |
String |
getName()
the name of the Country; TODO: this field should be internationalized |
int |
getPhoneCode()
the International Code used to place a telephone call in this Country |
Integer |
getSortOrder()
implementation specific sorting order, for example to display the Countries in a list or drop-down in an arbitrary order |
void |
setCode(String code)
|
void |
setName(String name)
|
void |
setPhoneCode(int phoneCode)
|
void |
setSortOrder(Integer i)
|
| Methods inherited from interface org.janux.bus.persistence.Persistent |
|---|
getId, setId |
| Method Detail |
|---|
String getCode()
void setCode(String code)
int getPhoneCode()
void setPhoneCode(int phoneCode)
String getName()
void setName(String name)
Integer getSortOrder()
void setSortOrder(Integer i)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||