it.imolinfo.jbi4cics.messageformat
Class NoOpMappingDescriptor

java.lang.Object
  extended by it.imolinfo.jbi4cics.messageformat.NoOpMappingDescriptor
All Implemented Interfaces:
MappingDescriptor

public class NoOpMappingDescriptor
extends java.lang.Object
implements MappingDescriptor


Constructor Summary
NoOpMappingDescriptor()
           
 
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoOpMappingDescriptor

public NoOpMappingDescriptor()
Method Detail

addFieldMapping

public void addFieldMapping(java.lang.String propertyName,
                            java.lang.String fieldName,
                            FieldDescriptor fieldDescriptor)
                     throws FormatException
Description copied from interface: MappingDescriptor
Add a mapping definition to the mapping descriptor.

Specified by:
addFieldMapping in interface MappingDescriptor
Parameters:
propertyName - The name of the property of the resulting bean or XML
fieldName - The name of the original field
fieldDescriptor - The data description of original field
Throws:
FormatException - The format exception

addFieldMapping

public void addFieldMapping(java.lang.String propertyName,
                            java.lang.Integer fieldIndex,
                            FieldDescriptor fieldDescriptor)
                     throws FormatException
Description copied from interface: MappingDescriptor
Add a mapping definition to the mapping descriptor.

Specified by:
addFieldMapping in interface MappingDescriptor
Parameters:
propertyName - name of the property of the resulting bean or XML
fieldIndex - index of original field, useful when original name is not available and order id relevant
fieldDescriptor - data description of original field
Throws:
FormatException - The format exception

getFieldMap

public java.util.Map<java.lang.String,FieldDescriptor> getFieldMap()
                                                            throws FormatException
Specified by:
getFieldMap in interface MappingDescriptor
Returns:
a map mado of
Throws:
FormatException - The format exception

setBeanClass

public void setBeanClass(java.lang.Class beanClass)
Description copied from interface: MappingDescriptor
Set the java class this mapping descriptor is expected to operate on beanClass.

Specified by:
setBeanClass in interface MappingDescriptor
Parameters:
beanClass - The Bean Class

getBeanClass

public java.lang.Class getBeanClass()
Description copied from interface: MappingDescriptor
Get the java class this mapping descriptor is expected to operate on Class.

Specified by:
getBeanClass in interface MappingDescriptor
Returns:
Class The bean class

setCodePage

public void setCodePage(java.lang.String codePage)
Specified by:
setCodePage in interface MappingDescriptor
Parameters:
codePage - The code page


Copyright © 2005-2008 Imola Informatica. All Rights Reserved.