|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCValuePropertyMetaData
public final class JDBCValuePropertyMetaData
Imutable class which contains information about a single dependent value object property.
| Constructor Summary | |
|---|---|
JDBCValuePropertyMetaData(Element element,
Class classType)
Constructs a value property metadata class with the data contained in the property xml element from a jbosscmp-jdbc xml file. |
|
| Method Summary | |
|---|---|
String |
getColumnName()
Gets the column name which this property will be persisted. |
Method |
getGetter()
Gets the getter method of this property. |
int |
getJDBCType()
Gets the jdbc type of this property. |
String |
getPropertyName()
Gets the name of this property. |
Class |
getPropertyType()
Gets the java class type of this property. |
Method |
getSetter()
Gets the setter method of this property. |
String |
getSqlType()
Gets the sql type of this mapping. |
boolean |
isNotNull()
Should this field allow null values? |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JDBCValuePropertyMetaData(Element element,
Class classType)
throws org.jboss.deployment.DeploymentException
element - the xml Element which contains the metadata about
this propertyclassType - the java Class type of the value class on which this
property is defined
org.jboss.deployment.DeploymentException - if the xml element is not semantically correct| Method Detail |
|---|
public String getPropertyName()
public Class getPropertyType()
public String getColumnName()
public int getJDBCType()
public String getSqlType()
public boolean isNotNull()
public Method getGetter()
public Method getSetter()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||