Package rst.obj
Class IplGlbPsaRstApiObjAdr
- java.lang.Object
-
- de.pisa.psa.rst.obj.PsaRstApiObjBas
-
- de.pisa.psa.rst.obj.PsaRstApiObj
-
- rst.obj.IplGlbPsaRstApiObjAdr
-
@PsaRstApiObjIpl public class IplGlbPsaRstApiObjAdr extends PsaRstApiObj
PSA_RST_API_OBJ_ADR
Class representing an address object
-
-
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
box
P.O. boxjava.lang.String
box_postal_code
P.O. box postal codejava.lang.String
city
cityjava.lang.String
composed
composed addressIplGlbPsaRstApiObjCty
country
countryjava.lang.String
house_number
house numberjava.lang.String
postal_code
postal codejava.lang.String
street
street namejava.lang.String
street_additional
additional street informationjava.lang.String
street_composed
composed street namejava.lang.String
type
address typejava.lang.String
type_id
address type identifier-
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 IplGlbPsaRstApiObjAdr()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
loadData(de.pisa.psc.srv.dto.PscDto dto, int row)
fill the attributes with data from the data objectprotected IplGlbPsaRstApiObjCty
newCty()
create a new country objectvoid
setData(de.pisa.psc.srv.dto.PscDto dto, int row)
set the value of the attributes at the data objectvoid
setDataPostPut(de.pisa.psc.srv.dto.PscDto dto, int row)
Hook after the data has been set and putDat has been called on the data objectprotected void
updateCompanyFrnIdn(de.pisa.psc.srv.dto.PscDto adr_dto, int adr_row)
update the "save as" of the company-
Methods inherited from class de.pisa.psa.rst.obj.PsaRstApiObjBas
checkAccess, getEventHandler, getField, getIsoDate, getMappedClassField, getSetMaxData, getSkipBaseFields, getSkipIdField, loadDataComponents, loadDataFields, loadDataRelations, newDataMapping, newDto, newStringMapper, setEventHandler, setEventHandler, setIsoDate, setSetMaxData, setSkipBaseFields, setSkipIdField, skipField
-
-
-
-
Field Detail
-
type_id
@PsaRstApiMapFld("TYP_IDN") public java.lang.String type_id
address type identifier
-
type
@PsaRstApiMapFld(value="TYP_NAM", readonly=true) public java.lang.String type
address type
-
street
@PsaRstApiMapFld("STR_NAM") public java.lang.String street
street name
-
house_number
@PsaRstApiMapFld("STR_NUM") public java.lang.String house_number
house number
-
street_additional
@PsaRstApiMapFld("STR_ADD") public java.lang.String street_additional
additional street information
-
street_composed
@PsaRstApiMapFld("STR") public java.lang.String street_composed
composed street name
-
postal_code
@PsaRstApiMapFld("ZIP") public java.lang.String postal_code
postal code
-
city
@PsaRstApiMapFld("CIT") public java.lang.String city
city
-
box
@PsaRstApiMapFld("BOX") public java.lang.String box
P.O. box
-
box_postal_code
@PsaRstApiMapFld("BOX_ZIP") public java.lang.String box_postal_code
P.O. box postal code
-
composed
@PsaRstApiMapFld("CMP_ADR") public java.lang.String composed
composed address
-
country
public IplGlbPsaRstApiObjCty country
country
-
-
Method Detail
-
loadData
public void loadData(de.pisa.psc.srv.dto.PscDto dto, int row) throws java.lang.Exception
fill the attributes with data from the data object- Overrides:
loadData
in classPsaRstApiObjBas
- Parameters:
dto
- data objectrow
- row- Throws:
java.lang.Exception
- See Also:
PsaRstApiObjBas.loadData(de.pisa.psc.srv.dto.PscDto, int)
-
setData
public void setData(de.pisa.psc.srv.dto.PscDto dto, int row) throws java.lang.Exception
set the value of the attributes at the data object- Overrides:
setData
in classPsaRstApiObjBas
- Parameters:
dto
- data object to modifyrow
- row to modify- Throws:
java.lang.Exception
- See Also:
PsaRstApiObjBas.setData(de.pisa.psc.srv.dto.PscDto, int)
-
setDataPostPut
public void setDataPostPut(de.pisa.psc.srv.dto.PscDto dto, int row) throws java.lang.Exception
Hook after the data has been set and putDat has been called on the data object- Overrides:
setDataPostPut
in classPsaRstApiObjBas
- Parameters:
dto
- data objectrow
- the row that was modified- Throws:
java.lang.Exception
- See Also:
PsaRstApiObjBas.setDataPostPut(de.pisa.psc.srv.dto.PscDto, int)
-
updateCompanyFrnIdn
protected void updateCompanyFrnIdn(de.pisa.psc.srv.dto.PscDto adr_dto, int adr_row) throws java.lang.Exception
update the "save as" of the company- Parameters:
adr_dto
- address dtoadr_row
- address row- Throws:
java.lang.Exception
-
newCty
protected IplGlbPsaRstApiObjCty newCty()
create a new country object- Returns:
- country
-
-