Methods Summary |
---|
public void | addKeyColumn(org.netbeans.modules.dbschema.ColumnElement column)Adds a column to the primary key of columns in this mapping table.
This method should only be used to manipulate the key columns of the
primary table. The secondary table key columns should be manipulated
using MappingReferenceKeyElement methods for pairs.
|
public void | addReferencingKey(MappingReferenceKeyElement referencingKey)Adds a referencing key to the list of keys in this mapping table.
|
public java.util.ArrayList | getKey()Returns the list of column names in the primary key for this
mapping table.
|
public java.util.ArrayList | getReferencingKeys()Returns the list of keys (MappingReferenceKeyElements) for this
mapping table. There will be keys for foreign keys and "fake" foreign
keys.
|
public java.lang.String | getTable()Returns the name of the table element used by this mapping table.
|
public boolean | isEqual(org.netbeans.modules.dbschema.TableElement table)Returns true if the table element used by this mapping table is equal
to the supplied table.
|
public void | removeKeyColumn(java.lang.String columnName)Removes a column from the primary key of columns in this mapping table.
This method should only be used to manipulate the key columns of the
primary table. The secondary table key columns should be manipulated
using MappingReferenceKeyElement methods for pairs.
|
public void | removeReference(com.sun.jdo.api.persistence.model.mapping.MappingTableElement table)Removes the referencing key for the supplied table element from list
of keys in this mapping table.
|
public void | setTable(org.netbeans.modules.dbschema.TableElement table)Set the table element for this mapping table to the supplied table.
|