|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.store.rdbms.schema.JDBCTypeInfo
public class JDBCTypeInfo
Representation of JDBC type information in the datastore. Each JDBC type info has a map of SQL type info for this JDBC type. Has the property "jdbc_type" as a Short of the java.sql.Types value.
| Constructor Summary | |
|---|---|
JDBCTypeInfo(short type)
|
|
| Method Summary | |
|---|---|
void |
addChild(org.datanucleus.store.schema.StoreSchemaData child)
Add a SQL type for this JDBC type. |
void |
addProperty(java.lang.String name,
java.lang.Object value)
Method to add a property for the type. |
void |
clearChildren()
Method to remove all children. |
boolean |
equals(java.lang.Object obj)
Indicates whether some object is "equal to" this one. |
org.datanucleus.store.schema.StoreSchemaData |
getChild(java.lang.String key)
Accessor for the SQL type with this type name (if supported for this JDBC type). |
java.util.Map |
getChildren()
Accessor for the SQL types map for this JDBC type, keyed by the type name. |
int |
getNumberOfChildren()
|
org.datanucleus.store.schema.StoreSchemaData |
getParent()
Accessor for the parent component. |
java.lang.Object |
getProperty(java.lang.String name)
Accessor for a property. |
int |
hashCode()
Returns a hash code value for this object. |
void |
setParent(org.datanucleus.store.schema.StoreSchemaData parent)
Mutator for the parent component. |
java.lang.String |
toString()
Returns the string representation of this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JDBCTypeInfo(short type)
| Method Detail |
|---|
public void setParent(org.datanucleus.store.schema.StoreSchemaData parent)
setParent in interface org.datanucleus.store.schema.MapStoreSchemaDataparent - Parent componentpublic org.datanucleus.store.schema.StoreSchemaData getParent()
getParent in interface org.datanucleus.store.schema.MapStoreSchemaData
public void addProperty(java.lang.String name,
java.lang.Object value)
addProperty in interface org.datanucleus.store.schema.StoreSchemaDataname - Name of propertyvalue - Its valuepublic java.lang.Object getProperty(java.lang.String name)
getProperty in interface org.datanucleus.store.schema.StoreSchemaDataname - Name of the property
public void addChild(org.datanucleus.store.schema.StoreSchemaData child)
addChild in interface org.datanucleus.store.schema.MapStoreSchemaDatachild - The SQL typepublic void clearChildren()
clearChildren in interface org.datanucleus.store.schema.MapStoreSchemaDatapublic org.datanucleus.store.schema.StoreSchemaData getChild(java.lang.String key)
getChild in interface org.datanucleus.store.schema.MapStoreSchemaDatakey - type name
public java.util.Map getChildren()
getChildren in interface org.datanucleus.store.schema.MapStoreSchemaDatapublic int getNumberOfChildren()
getNumberOfChildren in interface org.datanucleus.store.schema.MapStoreSchemaDatapublic final boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the reference object with which to compare
public final int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||