|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.store.rdbms.schema.RDBMSTableFKInfo
public class RDBMSTableFKInfo
Representation of FK information for a table in the datastore. Supports the properties :-
| Constructor Summary | |
|---|---|
RDBMSTableFKInfo()
|
|
RDBMSTableFKInfo(String catalog,
String schema,
String table)
Constructor taking just the catalog, schema and table name directly. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RDBMSTableFKInfo()
public RDBMSTableFKInfo(String catalog,
String schema,
String table)
catalog - Catalog containing the tableschema - Schema containing the tabletable - The table name| Method Detail |
|---|
public void addChild(org.datanucleus.store.schema.StoreSchemaData child)
addChild in interface org.datanucleus.store.schema.ListStoreSchemaDatachild - Columnpublic void clearChildren()
clearChildren in interface org.datanucleus.store.schema.ListStoreSchemaDatapublic org.datanucleus.store.schema.StoreSchemaData getChild(int position)
getChild in interface org.datanucleus.store.schema.ListStoreSchemaDataposition - Index of the column
public List getChildren()
getChildren in interface org.datanucleus.store.schema.ListStoreSchemaDatapublic int getNumberOfChildren()
getNumberOfChildren in interface org.datanucleus.store.schema.ListStoreSchemaData
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.ListStoreSchemaDatapublic void setParent(org.datanucleus.store.schema.StoreSchemaData parent)
setParent in interface org.datanucleus.store.schema.ListStoreSchemaDatapublic 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 | |||||||||