Package rst.obj
Class IplGlbPsaRstApiObjAdr
java.lang.Object
de.pisa.psa.rst.obj.PsaRstApiObjBas
de.pisa.psa.rst.obj.PsaRstApiObj
rst.obj.IplGlbPsaRstApiObjAdr
PSA_RST_API_OBJ_ADR
Class representing an address object
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
FieldsModifier and TypeFieldDescriptionP.O. boxP.O. box postal codecitycomposed addresscountryhouse numberpostal codestreet nameadditional street informationcomposed street nameaddress typeaddress type identifierFields 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 -
Method Summary
Modifier and TypeMethodDescriptionvoid
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 companyMethods 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 Details
-
type_id
address type identifier -
type
address type -
street
street name -
house_number
house number -
street_additional
additional street information -
street_composed
composed street name -
postal_code
postal code -
city
city -
box
P.O. box -
box_postal_code
P.O. box postal code -
composed
composed address -
country
country
-
-
Constructor Details
-
IplGlbPsaRstApiObjAdr
public IplGlbPsaRstApiObjAdr()
-
-
Method Details
-
loadData
fill the attributes with data from the data object- Overrides:
loadData
in classPsaRstApiObjBas
- Parameters:
dto
- data objectrow
- row- Throws:
Exception
- See Also:
-
setData
set the value of the attributes at the data object- Overrides:
setData
in classPsaRstApiObjBas
- Parameters:
dto
- data object to modifyrow
- row to modify- Throws:
Exception
- See Also:
-
setDataPostPut
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:
Exception
- See Also:
-
updateCompanyFrnIdn
protected void updateCompanyFrnIdn(de.pisa.psc.srv.dto.PscDto adr_dto, int adr_row) throws Exception update the "save as" of the company- Parameters:
adr_dto
- address dtoadr_row
- address row- Throws:
Exception
-
newCty
create a new country object- Returns:
- country
-