|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object it.imolinfo.jbi4cics.messageformat.commarea.CommareaBeanMappingDescriptor
public class CommareaBeanMappingDescriptor
Questa classe fondamentalmente wrappa una mappa fra i nomi dei field nella commarea e i nomi delle properies di un java bean.
Constructor Summary | |
---|---|
CommareaBeanMappingDescriptor()
Creates a new instance of this class. |
Method Summary | |
---|---|
void |
addFieldMapping(java.lang.String propertyName,
java.lang.Integer fieldIndex,
FieldDescriptor fieldDescriptor)
Not implementaed. |
void |
addFieldMapping(java.lang.String propertyName,
java.lang.String fieldName,
FieldDescriptor fieldDescriptor)
Add a mapping definition to the mapping descriptor. |
boolean |
equals(java.lang.Object obj)
|
java.lang.Class |
getBeanClass()
Returns the bean class. |
int |
getBufferedLength()
|
java.util.Map<java.lang.String,FieldDescriptor> |
getFieldMap()
|
int |
hashCode()
|
void |
setBeanClass(java.lang.Class beanClass)
Sets the bean class. |
void |
setCodePage(java.lang.String codePage)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CommareaBeanMappingDescriptor()
Method Detail |
---|
public java.lang.Class getBeanClass()
getBeanClass
in interface MappingDescriptor
public void setBeanClass(java.lang.Class beanClass)
setBeanClass
in interface MappingDescriptor
beanClass
- the bean class to set.public void addFieldMapping(java.lang.String propertyName, java.lang.String fieldName, FieldDescriptor fieldDescriptor) throws FormatException
MappingDescriptor
addFieldMapping
in interface MappingDescriptor
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 exceptionpublic void addFieldMapping(java.lang.String propertyName, java.lang.Integer fieldIndex, FieldDescriptor fieldDescriptor) throws FormatException
addFieldMapping
in interface MappingDescriptor
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
- ever.public int getBufferedLength() throws FormatException
FormatException
public java.util.Map<java.lang.String,FieldDescriptor> getFieldMap()
getFieldMap
in interface MappingDescriptor
public void setCodePage(java.lang.String codePage)
setCodePage
in interface MappingDescriptor
codePage
- The code pagepublic java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |