Package rst.obj
Class IplGlbPsaRstApiObjCty
- java.lang.Object
-
- de.pisa.psa.rst.obj.PsaRstApiObjBas
-
- de.pisa.psa.rst.obj.PsaRstApiObj
-
- rst.obj.IplGlbPsaRstApiObjCty
-
@PsaRstApiObjIpl public class IplGlbPsaRstApiObjCty extends PsaRstApiObj
PSA_RST_API_OBJ_CTY
Class representing a country
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.pisa.psa.rst.obj.PsaRstApiObjBas
PsaRstApiObjBas.IsoDate, PsaRstApiObjBas.StringMapper
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
identifier
identifierjava.lang.String
iso_code
ISO 3166 codejava.lang.String
name
name-
Fields inherited from class de.pisa.psa.rst.obj.PsaRstApiObj
created_at, created_by, id, modified_at, modified_by
-
Fields inherited from class de.pisa.psa.rst.obj.PsaRstApiObjBas
DEFAULT_DATA
-
-
Constructor Summary
Constructors Constructor Description IplGlbPsaRstApiObjCty()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
loadData(de.pisa.psc.srv.glb.PscSsn ssn, java.lang.String cty_idn)
load the country data-
Methods inherited from class de.pisa.psa.rst.obj.PsaRstApiObjBas
checkAccess, getEventHandler, getField, getIsoDate, getMappedClassField, getSetMaxData, getSkipBaseFields, getSkipIdField, loadData, loadDataComponents, loadDataFields, loadDataRelations, newDataMapping, newDto, newStringMapper, setData, setDataPostPut, setEventHandler, setEventHandler, setIsoDate, setSetMaxData, setSkipBaseFields, setSkipIdField, skipField
-
-
-
-
Field Detail
-
identifier
@PsaRstApiMapFld("IDN") public java.lang.String identifier
identifier
-
name
@PsaRstApiMapFld("NAM") public java.lang.String name
name
-
iso_code
@PsaRstApiMapFld("ISO_COD") public java.lang.String iso_code
ISO 3166 code
-
-
Method Detail
-
loadData
public boolean loadData(de.pisa.psc.srv.glb.PscSsn ssn, java.lang.String cty_idn) throws java.lang.Exception
load the country data- Parameters:
ssn
- sessioncty_idn
- identifier of the country- Returns:
- true if the country with the given identifier was loaded
- Throws:
java.lang.Exception
-
-