biz.janux.geography
Interface Country

All Superinterfaces:
Persistent, Serializable

public interface Country
extends Serializable, Persistent

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

Since:
2005-10-01
Version:
$Revision: 1.5 $ - $Date: 2007-12-18 20:29:48 $
Author:
Philippe Paravicini

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

getCode

String getCode()
the unique two-letter ISO code identifying this Country


setCode

void setCode(String code)

getPhoneCode

int getPhoneCode()
the International Code used to place a telephone call in this Country


setPhoneCode

void setPhoneCode(int phoneCode)

getName

String getName()
the name of the Country; TODO: this field should be internationalized


setName

void setName(String name)

getSortOrder

Integer getSortOrder()
implementation specific sorting order, for example to display the Countries in a list or drop-down in an arbitrary order


setSortOrder

void setSortOrder(Integer i)


Copyright © 2005-2013 Janux. All Rights Reserved.