|
||||||||||
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.JDBCCMPFieldPropertyMetaData
This immutable class contains information about the an overriden field property.
Constructor Summary | |
JDBCCMPFieldPropertyMetaData(JDBCCMPFieldMetaData (src) cmpField,
org.w3c.dom.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 (src) cmpField,
JDBCCMPFieldPropertyMetaData (src) 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(java.lang.Object o)
Compares this JDBCCMPFieldPropertyMetaData against the specified object. |
java.lang.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. |
java.lang.String |
getPropertyName()
Gets the name of the property to be overriden. |
java.lang.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? |
java.lang.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 (src) cmpField, org.w3c.dom.Element element) throws DeploymentException (src)
cmpField
- the JDBCCMPFieldMetaData on which this property is definedelement
- the xml Element which contains the metadata about this
field
DeploymentException (src)
- if the xml element is not semantically correctpublic JDBCCMPFieldPropertyMetaData(JDBCCMPFieldMetaData (src) cmpField, JDBCCMPFieldPropertyMetaData (src) defaultValues)
cmpField
- the JDBCCMPFieldMetaData on which this property is defineddefaultValues
- the defaultValues of this propertyMethod Detail |
public java.lang.String getPropertyName()
public java.lang.String getColumnName()
public int getJDBCType()
public java.lang.String getSQLType()
public boolean isNotNull()
public boolean equals(java.lang.Object o)
o
- the reference object with which to compare
public int hashCode()
public java.lang.String toString()
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |