|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.domain.DomainObject
com.arsdigita.cms.contenttypes.IsoCountry
This class represents country information, iso code and name. The country
information is being used by Address
.
Field Summary | |
static String |
BASE_DATA_OBJECT_TYPE
Data object type for this domain object |
static String |
COUNTRY_NAME
PDL property name for country name |
static String |
ISO_CODE
PDL property name for country iso code |
Fields inherited from class com.arsdigita.domain.DomainObject |
versionId |
Constructor Summary | |
IsoCountry()
|
|
IsoCountry(com.arsdigita.persistence.DataObject obj)
|
|
IsoCountry(com.arsdigita.persistence.OID oid)
|
Method Summary | |
String |
getCountryName()
|
String |
getIsoCode()
|
static Iterator |
getIsoCodes()
Returns iterator of all available iso country codes as strings. |
static com.arsdigita.domain.DomainCollection |
retrieveAll()
|
void |
setCountryName(String countryName)
Sets country name |
void |
setIsoCode(String isoCode)
|
Methods inherited from class com.arsdigita.domain.DomainObject |
add, add, addToAssociation, afterDelete, afterSave, beforeDelete, beforeSave, clear, delete, disconnect, equals, get, getBaseDataObjectType, getObjectType, getOID, getSession, hashCode, initialize, isDeleted, isDisconnected, isModified, isNew, isPropertyModified, isValid, remove, remove, remove, removeFromAssociation, save, set, setAssociation, setAssociation, specializeDataObject, specializeDataObject, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String BASE_DATA_OBJECT_TYPE
public static final String ISO_CODE
public static final String COUNTRY_NAME
Constructor Detail |
public IsoCountry()
public IsoCountry(com.arsdigita.persistence.OID oid) throws com.arsdigita.domain.DataObjectNotFoundException
public IsoCountry(com.arsdigita.persistence.DataObject obj)
Method Detail |
public String getIsoCode()
public void setIsoCode(String isoCode)
public String getCountryName()
public void setCountryName(String countryName)
countryName
- public static com.arsdigita.domain.DomainCollection retrieveAll()
public static Iterator getIsoCodes()
null
if there is no country codes
available
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |