| java.lang.Object org.netbeans.modules.jdbcwizard.builder.dbmodel.impl.ForeignKeyImpl
Inner Class :public static class Column implements Comparable | |
Constructor Summary | |
public | ForeignKeyImpl(DBTable fkTable, String foreignKeyName, String primaryKeyName, String primaryKeyTable, String primaryKeySchema, String primaryKeyCatalog, int updateFlag, int deleteFlag, int deferFlag) Creates a new instance of ForeignKey with the given key name and referencing the column names
in the given List. | public | ForeignKeyImpl(ForeignKey src) Creates a new instance of ForeignKeyImpl, cloning the contents of the given ForeignKey
implementation instance. |
ForeignKeyImpl | public ForeignKeyImpl(DBTable fkTable, String foreignKeyName, String primaryKeyName, String primaryKeyTable, String primaryKeySchema, String primaryKeyCatalog, int updateFlag, int deleteFlag, int deferFlag)(Code) | | Creates a new instance of ForeignKey with the given key name and referencing the column names
in the given List.
Parameters: fkTable - DBTable that owns this FK instance Parameters: foreignKeyName - name, if any, of this ForeignKeyImpl Parameters: primaryKeyName - name, if any, of PK associated with this ForeignKeyImpl Parameters: primaryKeyTable - table owning associated PK Parameters: primaryKeySchema - schema containing table which owns associated PK; may be null Parameters: primaryKeyCatalog - catalog containing table which owns associated PK; may be null Parameters: updateFlag - update cascade rule Parameters: deleteFlag - delete cascade rule Parameters: deferFlag - flag indicating deferrability of application of cascade rules |
ForeignKeyImpl | public ForeignKeyImpl(ForeignKey src)(Code) | | Creates a new instance of ForeignKeyImpl, cloning the contents of the given ForeignKey
implementation instance.
Parameters: src - ForeignKey to be cloned |
clone | public Object clone()(Code) | | Create a clone of this PrimaryKeyImpl.
cloned copy of DBColumn. |
contains | public boolean contains(String fkColumnName)(Code) | | See Also: com.stc.model.database.ForeignKey.contains(String) |
contains | public boolean contains(DBColumn fkCol)(Code) | | See Also: com.stc.model.database.ForeignKey.contains(DbColumn) |
equals | public boolean equals(Object refObj)(Code) | | Overrides default implementation to return value based on memberwise comparison.
Parameters: refObj - Object against which we compare this instance true if refObj is functionally identical to this instance; false otherwise |
getColumnCount | public int getColumnCount()(Code) | | See Also: com.stc.model.database.ForeignKey.getColumnCount |
getColumnName | public String getColumnName(int iColumn)(Code) | | See Also: com.stc.model.database.ForeignKey.getColumnName |
getColumnNames | public List getColumnNames()(Code) | | See Also: com.stc.model.database.ForeignKey.getColumnNames |
getDeferrability | public int getDeferrability()(Code) | | See Also: com.stc.model.database.ForeignKey.getDeferrability |
getDeleteRule | public int getDeleteRule()(Code) | | See Also: com.stc.model.database.ForeignKey.getDeleteRule |
getMatchingPKColumn | public String getMatchingPKColumn(String fkColumnName)(Code) | | See Also: com.stc.model.database.ForeignKey.getMatchingPKColumn |
getName | public String getName()(Code) | | See Also: com.stc.model.database.ForeignKey.getName |
getPKCatalog | public String getPKCatalog()(Code) | | See Also: com.stc.model.database.ForeignKey.getPKCatalog |
getPKColumnNames | public List getPKColumnNames()(Code) | | See Also: com.stc.model.database.ForeignKey.getPKColumnNames |
getPKName | public String getPKName()(Code) | | See Also: com.stc.model.database.ForeignKey.getPKName |
getPKSchema | public String getPKSchema()(Code) | | See Also: com.stc.model.database.ForeignKey.getPKSchema |
getPKTable | public String getPKTable()(Code) | | See Also: com.stc.model.database.ForeignKey.getPKTable |
getParent | public DBTable getParent()(Code) | | See Also: com.stc.model.database.ForeignKey.getParent |
getSequence | public int getSequence(DBColumn col)(Code) | | See Also: com.stc.model.database.ForeignKey.getSequence |
getUpdateRule | public int getUpdateRule()(Code) | | See Also: com.stc.model.database.ForeignKey.getUpdateRule |
hashCode | public int hashCode()(Code) | | Overrides default implementation to compute hashCode value for those members used in equals()
for comparison.
hash code for this object See Also: java.lang.Object.hashCode |
references | public boolean references(PrimaryKey pk)(Code) | | See Also: com.stc.model.database.ForeignKey.references |
references | public boolean references(DBTable pkTable)(Code) | | See Also: com.stc.model.database.ForeignKey.references(DBTable) |
references | public boolean references(String pkTableName, String pkSchemaName, String pkCatalogName)(Code) | | See Also: com.stc.model.database.ForeignKey.references(StringStringString) |
setColumnNames | public void setColumnNames(List columns)(Code) | | |
setColumnNames | public void setColumnNames(List fkColumns, List pkColumns)(Code) | | |
|
|