public class RDBMSTypesInfo extends Object implements org.datanucleus.store.schema.MapStoreSchemaData
Constructor and Description |
---|
RDBMSTypesInfo() |
Modifier and Type | Method and Description |
---|---|
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.
|
public void addChild(org.datanucleus.store.schema.StoreSchemaData type)
addChild
in interface org.datanucleus.store.schema.MapStoreSchemaData
type
- Typepublic void clearChildren()
clearChildren
in interface org.datanucleus.store.schema.MapStoreSchemaData
public org.datanucleus.store.schema.StoreSchemaData getChild(String key)
getChild
in interface org.datanucleus.store.schema.MapStoreSchemaData
key
- JDBC type to retrievepublic Map<String,org.datanucleus.store.schema.StoreSchemaData> getChildren()
getChildren
in interface org.datanucleus.store.schema.MapStoreSchemaData
public int getNumberOfChildren()
getNumberOfChildren
in interface org.datanucleus.store.schema.MapStoreSchemaData
public void addProperty(String name, Object value)
addProperty
in interface org.datanucleus.store.schema.StoreSchemaData
name
- Name of propertyvalue
- Its valuepublic Object getProperty(String name)
getProperty
in interface org.datanucleus.store.schema.StoreSchemaData
name
- Name of the propertypublic org.datanucleus.store.schema.StoreSchemaData getParent()
getParent
in interface org.datanucleus.store.schema.MapStoreSchemaData
public void setParent(org.datanucleus.store.schema.StoreSchemaData parent)
setParent
in interface org.datanucleus.store.schema.MapStoreSchemaData
public final boolean equals(Object obj)
public final int hashCode()
Copyright © 2020. All rights reserved.