Package de.pisa.psa.rst.obj
Class PsaRstApiObjBas.StringMapper
java.lang.Object
de.pisa.psa.rst.obj.PsaRstApiObjBas.StringMapper
- All Implemented Interfaces:
DataMapping.StringMapper
- Enclosing class:
- PsaRstApiObjBas
string mapper for loading the data
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected de.pisa.psc.srv.dto.PscFld
DTO fieldprotected PsaRstApiObjBas.IsoDate
ISO dateprotected final de.pisa.psc.srv.glb.PscSsn
session -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmapToExternal
(Field field, String string) map a string as an external representationmapToInteral
(Field field, String string) map a string as an internal (PisaCubes) representationvoid
setCurrentField
(de.pisa.psc.srv.dto.PscFld field) set the current data object fieldvoid
setIsoDate
(PsaRstApiObjBas.IsoDate iso_date) set the ISO date
-
Field Details
-
Ssn
protected final de.pisa.psc.srv.glb.PscSsn Ssnsession -
Iso_Date
ISO date -
Dto_Field
protected de.pisa.psc.srv.dto.PscFld Dto_FieldDTO field
-
-
Constructor Details
-
StringMapper
public StringMapper(de.pisa.psc.srv.glb.PscSsn ssn) Constructor- Parameters:
ssn
- session
-
-
Method Details
-
setIsoDate
set the ISO date- Parameters:
iso_date
- ISO date instance
-
setCurrentField
public void setCurrentField(de.pisa.psc.srv.dto.PscFld field) set the current data object field- Parameters:
field
- field
-
mapToExternal
map a string as an external representation- Specified by:
mapToExternal
in interfaceDataMapping.StringMapper
- Parameters:
field
- class fieldstring
- input string- Returns:
- new string
- Throws:
Exception
- See Also:
-
mapToInteral
map a string as an internal (PisaCubes) representation- Specified by:
mapToInteral
in interfaceDataMapping.StringMapper
- Parameters:
field
- class fieldstring
- input string- Returns:
- new string
- Throws:
Exception
- See Also:
-