it.imolinfo.jbi4cics.messageformat.jdbc
Class JdbcBeanMappingDescriptor

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

public class JdbcBeanMappingDescriptor
extends java.lang.Object
implements MappingDescriptor

Author:
raffaele

Constructor Summary
JdbcBeanMappingDescriptor()
           
 
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)
          Non implementato.
 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()
           
 JdbcStatementDescriptor getJdbcStatementDescriptor()
           
 ResultSetMappingDescriptor getResultSetMappingDescriptor()
           
 java.lang.String getResultSetPropertyName()
           
 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)
           
 void setJdbcStatementDescriptor(JdbcStatementDescriptor jdbcStatementDescriptor)
           
 void setResultSetMappingDescriptor(ResultSetMappingDescriptor resultSetMappingDescriptor)
           
 void setResultSetPropertyName(java.lang.String resultSetPropertyName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JdbcBeanMappingDescriptor

public JdbcBeanMappingDescriptor()
Method Detail

getResultSetPropertyName

public java.lang.String getResultSetPropertyName()
Returns:
Returns the resultSetPropertyName.

setResultSetPropertyName

public void setResultSetPropertyName(java.lang.String resultSetPropertyName)
Parameters:
resultSetPropertyName - The resultSetPropertyName to set.

getJdbcStatementDescriptor

public JdbcStatementDescriptor getJdbcStatementDescriptor()
Returns:
Returns the jdbcStatementDescriptor.

setJdbcStatementDescriptor

public void setJdbcStatementDescriptor(JdbcStatementDescriptor jdbcStatementDescriptor)
Parameters:
jdbcStatementDescriptor - The jdbcStatementDescriptor to set.

addFieldMapping

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

Specified by:
addFieldMapping in interface MappingDescriptor
Parameters:
propertyName - The property name
fieldName - The field name
fieldDescriptor - The filed 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 index
fieldDescriptor - The filed descriptor
Throws:
FormatException - The format exception

getResultSetMappingDescriptor

public ResultSetMappingDescriptor getResultSetMappingDescriptor()
Returns:
Returns the resultSetMappingDescriptor.

setResultSetMappingDescriptor

public void setResultSetMappingDescriptor(ResultSetMappingDescriptor resultSetMappingDescriptor)
Parameters:
resultSetMappingDescriptor - The resultSetMappingDescriptor to set.

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.