public class RDBMSTableFKInfo extends Object implements org.datanucleus.store.schema.ListStoreSchemaData
Constructor and Description |
---|
RDBMSTableFKInfo() |
RDBMSTableFKInfo(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 column 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 column at the position.
|
List |
getChildren()
Accessor for the columns
|
int |
getNumberOfChildren()
Accessor for the number of columns 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
- Index of the columnpublic 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.