|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.store.rdbms.schema.RDBMSTypesInfo
public class RDBMSTypesInfo
Representation of types information in the datastore. Contains a map of child JDBCTypeInfo objects, which turn contain child SQLTypeInfo objects.
| Constructor Summary | |
|---|---|
RDBMSTypesInfo()
|
|
| Method Summary | |
|---|---|
void |
addChild(org.datanucleus.store.schema.StoreSchemaData type)
Method to add another type to the schema. |
void |
addProperty(String name,
Object value)
Method to add a property for the types. |
void |
clearChildren()
Method to remove all children. |
boolean |
equals(Object obj)
Indicates whether some object is "equal to" this one. |
org.datanucleus.store.schema.StoreSchemaData |
getChild(String key)
Accessor for the JDBC type for this type. |
Map<String,org.datanucleus.store.schema.StoreSchemaData> |
getChildren()
Accessor for the JDBC types. |
int |
getNumberOfChildren()
Accessor for the number of JDBC types in the schema for this schema. |
org.datanucleus.store.schema.StoreSchemaData |
getParent()
|
Object |
getProperty(String name)
Accessor for a property of the types. |
int |
hashCode()
Returns a hash code value for this object. |
void |
setParent(org.datanucleus.store.schema.StoreSchemaData parent)
|
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 RDBMSTypesInfo()
| Method Detail |
|---|
public void addChild(org.datanucleus.store.schema.StoreSchemaData type)
addChild in interface org.datanucleus.store.schema.MapStoreSchemaDatatype - Typepublic void clearChildren()
clearChildren in interface org.datanucleus.store.schema.MapStoreSchemaDatapublic org.datanucleus.store.schema.StoreSchemaData getChild(String key)
getChild in interface org.datanucleus.store.schema.MapStoreSchemaDatakey - JDBC type to retrieve
public Map<String,org.datanucleus.store.schema.StoreSchemaData> getChildren()
getChildren in interface org.datanucleus.store.schema.MapStoreSchemaDatapublic int getNumberOfChildren()
getNumberOfChildren in interface org.datanucleus.store.schema.MapStoreSchemaData
public void addProperty(String name,
Object value)
addProperty in interface org.datanucleus.store.schema.StoreSchemaDataname - Name of propertyvalue - Its valuepublic Object getProperty(String name)
getProperty in interface org.datanucleus.store.schema.StoreSchemaDataname - Name of the property
public org.datanucleus.store.schema.StoreSchemaData getParent()
getParent in interface org.datanucleus.store.schema.MapStoreSchemaDatapublic void setParent(org.datanucleus.store.schema.StoreSchemaData parent)
setParent in interface org.datanucleus.store.schema.MapStoreSchemaDatapublic final boolean equals(Object obj)
equals in class Objectobj - the reference object with which to compare
public final int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||