| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.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 MappingDescriptorpublic void setBeanClass(java.lang.Class beanClass)
setBeanClass in interface MappingDescriptorbeanClass - the bean class to set.
public void addFieldMapping(java.lang.String propertyName,
                            java.lang.String fieldName,
                            FieldDescriptor fieldDescriptor)
                     throws FormatException
MappingDescriptor
addFieldMapping in interface MappingDescriptorpropertyName - 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 exception
public void addFieldMapping(java.lang.String propertyName,
                            java.lang.Integer fieldIndex,
                            FieldDescriptor fieldDescriptor)
                     throws FormatException
addFieldMapping in interface MappingDescriptorpropertyName - 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
FormatExceptionpublic java.util.Map<java.lang.String,FieldDescriptor> getFieldMap()
getFieldMap in interface MappingDescriptorpublic void setCodePage(java.lang.String codePage)
setCodePage in interface MappingDescriptorcodePage - The code pagepublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic 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 | |||||||||