Save This Page
Home » jboss-5.0.0.CR1-src » org.jboss.ejb.plugins.cmp » jdbc » [javadoc | source]
org.jboss.ejb.plugins.cmp.jdbc
public final class: JDBCTypeComplexProperty [javadoc | source]
java.lang.Object
   org.jboss.ejb.plugins.cmp.jdbc.JDBCTypeComplexProperty
Immutable class which contins the mapping between a single Java Bean (not an EJB) property and a column. This class has a flattened view of the Java Bean property, which may be several properties deep in the base Java Bean. The details of how a property is mapped to a column can be found in JDBCTypeFactory. This class holds a description of the column and, knows how to extract the column value from the Java Bean and how to set a column value info the Java Bean.
Constructor:
 public JDBCTypeComplexProperty(JDBCTypeComplexProperty defaultProperty,
    String columnName,
    int jdbcType,
    String sqlType,
    boolean notNull) 
 public JDBCTypeComplexProperty(String propertyName,
    String columnName,
    Class javaType,
    int jdbcType,
    String sqlType,
    boolean notNull,
    Method[] getters,
    Method[] setters) 
Method from org.jboss.ejb.plugins.cmp.jdbc.JDBCTypeComplexProperty Summary:
getColumnName,   getColumnValue,   getJDBCType,   getJavaType,   getParameterSetter,   getPropertyName,   getResulSetReader,   getSQLType,   isNotNull,   setColumnValue
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.ejb.plugins.cmp.jdbc.JDBCTypeComplexProperty Detail:
 public String getColumnName() 
 public Object getColumnValue(Object value) throws Exception 
 public int getJDBCType() 
 public Class getJavaType() 
 public JDBCParameterSetter getParameterSetter() 
 public String getPropertyName() 
 public JDBCResultSetReader getResulSetReader() 
 public String getSQLType() 
 public boolean isNotNull() 
 public Object setColumnValue(Object value,
    Object columnValue) throws Exception