|
|||||||||||
| 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.JDBCCMPFieldPropertyMetaData
This immutable class contains information about the an overriden field property.
| Constructor Summary | |
JDBCCMPFieldPropertyMetaData(JDBCCMPFieldMetaData cmpField,
Element element)
Constructs cmp field property meta data with the data contained in the property xml element from a jbosscmp-jdbc xml file. |
|
JDBCCMPFieldPropertyMetaData(JDBCCMPFieldMetaData cmpField,
JDBCCMPFieldPropertyMetaData defaultValues)
Constructs cmp field property meta data based on the data contained in the defaultValues parameter but defined on the specified cmpField. |
|
| Method Summary | |
boolean |
equals(Object o)
Compares this JDBCCMPFieldPropertyMetaData against the specified object. |
String |
getColumnName()
Gets the column name the property should use or null if the column name is not overriden. |
int |
getJDBCType()
Gets the JDBC type the property should use or Integer.MIN_VALUE if not overriden. |
String |
getPropertyName()
Gets the name of the property to be overriden. |
String |
getSQLType()
Gets the SQL type the property should use or null if not overriden. |
int |
hashCode()
Returns a hashcode for this JDBCCMPFieldPropertyMetaData. |
boolean |
isNotNull()
Should this field allow null values? |
String |
toString()
Returns a string describing this JDBCCMPFieldPropertyMetaData. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public JDBCCMPFieldPropertyMetaData(JDBCCMPFieldMetaData cmpField,
Element element)
throws org.jboss.deployment.DeploymentException
cmpField - the JDBCCMPFieldMetaData on which this property is definedelement - the xml Element which contains the metadata about this
field
org.jboss.deployment.DeploymentException - if the xml element is not semantically correct
public JDBCCMPFieldPropertyMetaData(JDBCCMPFieldMetaData cmpField,
JDBCCMPFieldPropertyMetaData defaultValues)
cmpField - the JDBCCMPFieldMetaData on which this property is defineddefaultValues - the defaultValues of this property| Method Detail |
public String getPropertyName()
public String getColumnName()
public int getJDBCType()
public String getSQLType()
public boolean isNotNull()
public boolean equals(Object o)
o - the reference object with which to compare
public int hashCode()
public String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||