|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MappingDescriptor
Questa e' una tag interface per tutti i mapping descriptor.
Method Summary | |
---|---|
void |
addFieldMapping(java.lang.String propertyName,
java.lang.Integer fieldIndex,
FieldDescriptor fieldDescriptor)
Add a mapping definition to the mapping descriptor. |
void |
addFieldMapping(java.lang.String propertyName,
java.lang.String fieldName,
FieldDescriptor fieldDescriptor)
Add a mapping definition to the mapping descriptor. |
java.lang.Class |
getBeanClass()
Get the java class this mapping descriptor is expected to operate on Class. |
java.util.Map<java.lang.String,FieldDescriptor> |
getFieldMap()
|
void |
setBeanClass(java.lang.Class beanClass)
Set the java class this mapping descriptor is expected to operate on beanClass. |
void |
setCodePage(java.lang.String codePage)
|
Method Detail |
---|
void addFieldMapping(java.lang.String propertyName, java.lang.String fieldName, FieldDescriptor fieldDescriptor) throws FormatException
propertyName
- The name of the property of the resulting bean or XMLfieldName
- The name of the original fieldfieldDescriptor
- The data description of original field
FormatException
- The format exceptionvoid addFieldMapping(java.lang.String propertyName, java.lang.Integer fieldIndex, FieldDescriptor fieldDescriptor) throws FormatException
propertyName
- name of the property of the resulting bean or XMLfieldIndex
- index of original field, useful when original name is not available and order id relevantfieldDescriptor
- data description of original field
FormatException
- The format exceptionjava.util.Map<java.lang.String,FieldDescriptor> getFieldMap() throws FormatException
FormatException
- The format exceptionvoid setBeanClass(java.lang.Class beanClass)
beanClass
- The Bean Classjava.lang.Class getBeanClass()
void setCodePage(java.lang.String codePage)
codePage
- The code page
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |