public class RDBMSTableIndexInfo extends Object implements org.datanucleus.store.schema.ListStoreSchemaData
Constructor and Description |
---|
RDBMSTableIndexInfo() |
RDBMSTableIndexInfo(String catalog,
String schema,
String table)
Constructor taking just the catalog, schema and table name directly.
|
Modifier and Type | Method and Description |
---|---|
void |
addChild(org.datanucleus.store.schema.StoreSchemaData child)
Method to add another index col to the table schema.
|
void |
addProperty(String name,
Object value)
Method to add a property for the table.
|
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(int position)
Accessor for the index column at the position.
|
List |
getChildren()
Accessor for the indices.
|
int |
getNumberOfChildren()
Accessor for the number of indices cols in the schema for this table.
|
org.datanucleus.store.schema.StoreSchemaData |
getParent() |
Object |
getProperty(String name)
Accessor for a property of the table.
|
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 child)
addChild
in interface org.datanucleus.store.schema.ListStoreSchemaData
child
- Columnpublic void clearChildren()
clearChildren
in interface org.datanucleus.store.schema.ListStoreSchemaData
public org.datanucleus.store.schema.StoreSchemaData getChild(int position)
getChild
in interface org.datanucleus.store.schema.ListStoreSchemaData
position
- Indexpublic List getChildren()
getChildren
in interface org.datanucleus.store.schema.ListStoreSchemaData
public int getNumberOfChildren()
getNumberOfChildren
in interface org.datanucleus.store.schema.ListStoreSchemaData
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.ListStoreSchemaData
public void setParent(org.datanucleus.store.schema.StoreSchemaData parent)
setParent
in interface org.datanucleus.store.schema.ListStoreSchemaData
public final boolean equals(Object obj)
public final int hashCode()
Copyright © 2020. All rights reserved.