|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCMappingMetaData
Imutable class which holds a mapping between a Java Class and a JDBC type and a SQL type.
Constructor Summary | |
JDBCMappingMetaData(org.w3c.dom.Element element)
Constructs a mapping with the data contained in the mapping xml element from a jbosscmp-jdbc xml file. |
Method Summary | |
java.lang.String |
getJavaType()
Gets the java type of this mapping. |
int |
getJdbcType()
Gets the jdbc type of this mapping. |
static int |
getJdbcTypeFromName(java.lang.String name)
Gets the JDBC type constant int for the name. |
java.lang.String |
getParamSetter()
|
java.lang.String |
getResultReader()
|
java.lang.String |
getSqlType()
Gets the sql type of this mapping. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JDBCMappingMetaData(org.w3c.dom.Element element) throws DeploymentException (src)
element
- the xml Element which contains the metadata about
this mapping
DeploymentException (src)
- if the xml element is not semantically correctMethod Detail |
public static int getJdbcTypeFromName(java.lang.String name) throws DeploymentException (src)
name
- the name for the jdbc type
DeploymentException (src)
Types
public java.lang.String getJavaType()
public int getJdbcType()
public java.lang.String getSqlType()
public java.lang.String getParamSetter()
public java.lang.String getResultReader()
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |