|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FieldAdaptor
An interface definition of a class that can be used to get or set values for fields during a Mapping operation.
| Method Summary | |
|---|---|
SIFSimpleType |
getSIFValue(java.lang.String fieldName,
SIFTypeConverter typeConverter,
FieldMapping mapping)
Gets a value from the underlying data store to be used in an outbound field mapping operation |
java.lang.Object |
getValue(java.lang.String key)
Returns the underlying value being stored for the field. |
boolean |
hasField(java.lang.String fieldName)
Returns whether the field being requested for mapping has a value that can be mapped to SIF |
void |
setSIFValue(java.lang.String fieldName,
SIFSimpleType value,
FieldMapping mapping)
Sets a value that has been retrieved from a SIF Element in an inbound field mapping operation. |
| Method Detail |
|---|
boolean hasField(java.lang.String fieldName)
fieldName - The field name being mapped to SIF
True if there is a value for the specified field that
should be mapped to SIF
void setSIFValue(java.lang.String fieldName,
SIFSimpleType value,
FieldMapping mapping)
fieldName - The field name that is mapped to a SIFElementvalue - The value of the SIF elementmapping - The FieldMappings that will be used to set this value or null
SIFSimpleType getSIFValue(java.lang.String fieldName,
SIFTypeConverter typeConverter,
FieldMapping mapping)
fieldName - The field name that is mapped to a SIFElementtypeConverter - The converter class for the requested SIF data typemapping - The FieldMapping this value was generated from or null
java.lang.Object getValue(java.lang.String key)
This method is not called during Mappings operations. It may be called by
classes such as the ValueBuilder class
key - The field name to retrieve
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||