it.imolinfo.jbi4cics.messageformat.jdbc
Class ResultSetMappingDescriptor

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

public class ResultSetMappingDescriptor
extends java.lang.Object
implements MappingDescriptor


Constructor Summary
ResultSetMappingDescriptor()
           
 
Method Summary
 void addFieldMapping(java.lang.String propertyName, java.lang.Integer fieldIndex, FieldDescriptor fieldDescriptor)
          Non implementato.
 void addFieldMapping(java.lang.String propertyName, java.lang.String fieldName, FieldDescriptor fieldDescriptor)
          Il field descriptor non e' usato in questo caso.
 java.lang.Class getBeanClass()
          Get the java class this mapping descriptor is expected to operate on Class.
 java.util.Map<java.lang.String,java.lang.String> getColumnNamePropertyNameMap()
           
 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

ResultSetMappingDescriptor

public ResultSetMappingDescriptor()
Method Detail

getColumnNamePropertyNameMap

public java.util.Map<java.lang.String,java.lang.String> getColumnNamePropertyNameMap()
Returns:
Returns the columnNamePropertyNameMap.

addFieldMapping

public void addFieldMapping(java.lang.String propertyName,
                            java.lang.String fieldName,
                            FieldDescriptor fieldDescriptor)
                     throws FormatException
Il field descriptor non e' usato in questo caso.

Specified by:
addFieldMapping in interface MappingDescriptor
Parameters:
propertyName - The property name
fieldName - The field name
fieldDescriptor - The field descriptor
Throws:
FormatException - The format exception

addFieldMapping

public void addFieldMapping(java.lang.String propertyName,
                            java.lang.Integer fieldIndex,
                            FieldDescriptor fieldDescriptor)
                     throws FormatException
Non implementato.

Specified by:
addFieldMapping in interface MappingDescriptor
Parameters:
propertyName - The property name
fieldIndex - The field idex
fieldDescriptor - The field descriptor
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 with string and field descriptor
Throws:
FormatException - The format exception

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:
Returns the beanClass.

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 beanClass to set.

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.