Class RDBMSTypesInfo
java.lang.Object
org.datanucleus.store.rdbms.schema.RDBMSTypesInfo
- All Implemented Interfaces:
org.datanucleus.store.schema.MapStoreSchemaData, org.datanucleus.store.schema.StoreSchemaData
public class RDBMSTypesInfo
extends Object
implements org.datanucleus.store.schema.MapStoreSchemaData
Representation of types information in the datastore.
Contains a map of child JDBCTypeInfo objects, which turn contain child SQLTypeInfo objects.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChild(org.datanucleus.store.schema.StoreSchemaData type) Method to add another type to the schema.voidaddProperty(String name, Object value) Method to add a property for the types.voidMethod to remove all children.final booleanIndicates whether some object is "equal to" this one.org.datanucleus.store.schema.StoreSchemaDataAccessor for the JDBC type for this type.Accessor for the JDBC types.intAccessor for the number of JDBC types in the schema for this schema.org.datanucleus.store.schema.StoreSchemaDatagetProperty(String name) Accessor for a property of the types.final inthashCode()Returns a hash code value for this object.voidsetParent(org.datanucleus.store.schema.StoreSchemaData parent) toString()Returns the string representation of this object.
-
Field Details
-
properties
-
jdbcTypes
-
-
Constructor Details
-
RDBMSTypesInfo
public RDBMSTypesInfo()
-
-
Method Details
-
addChild
public void addChild(org.datanucleus.store.schema.StoreSchemaData type) Method to add another type to the schema.- Specified by:
addChildin interfaceorg.datanucleus.store.schema.MapStoreSchemaData- Parameters:
type- Type
-
clearChildren
public void clearChildren()Method to remove all children.- Specified by:
clearChildrenin interfaceorg.datanucleus.store.schema.MapStoreSchemaData
-
getChild
Accessor for the JDBC type for this type.- Specified by:
getChildin interfaceorg.datanucleus.store.schema.MapStoreSchemaData- Parameters:
key- JDBC type to retrieve- Returns:
- Type with this key
-
getChildren
-
getNumberOfChildren
public int getNumberOfChildren()Accessor for the number of JDBC types in the schema for this schema.- Specified by:
getNumberOfChildrenin interfaceorg.datanucleus.store.schema.MapStoreSchemaData- Returns:
- Number of JDBC types
-
addProperty
-
getProperty
-
getParent
public org.datanucleus.store.schema.StoreSchemaData getParent()- Specified by:
getParentin interfaceorg.datanucleus.store.schema.MapStoreSchemaData
-
setParent
public void setParent(org.datanucleus.store.schema.StoreSchemaData parent) - Specified by:
setParentin interfaceorg.datanucleus.store.schema.MapStoreSchemaData
-
equals
-
hashCode
-
toString
-