|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sibvisions.rad.persist.jdbc.ForeignKey
public class ForeignKey
It stores all relevant information, like FK Columns, PK Columns, etc. of an Foreign Key.
| Constructor Summary | |
|---|---|
ForeignKey(String pPKTable,
String pPKCatalog,
String pPKSchema)
Construct a Select cache object. |
|
| Method Summary | |
|---|---|
String[] |
getFKColumns()
Returns the foreign key columns. |
String |
getFKName()
Returns the foreign key name. |
String |
getLinkReferenceColumn()
Returns the foreign key column for the LinkReference. |
String |
getPKCatalog()
Returns the catalog of the primary key table. |
String[] |
getPKColumns()
Returns the primary key columns. |
String |
getPKSchema()
Returns the schema of the primary key table. |
String |
getPKTable()
Returns the primary key table. |
String[] |
getPKTableRepresentationColumns()
Returns the representation columns of the primary key table. |
boolean |
isNullable()
Returns if the foreign key is nullable. |
void |
setFKColumns(String[] pFKColumns)
Sets the foreign key columns. |
void |
setFKName(String pFKName)
Sets the foreign key name. |
void |
setLinkReferenceColumn(String pLinkReferenceColumn)
Sets the foreign key column for the LinkReference. |
void |
setNullable(boolean pNullable)
Sets if the foreign key is nullable. |
void |
setPKColumns(String[] pPKColumns)
Sets the primary key columns. |
void |
setPKTableRepresentationColumns(String[] pAllPKTableColumns)
Sets the representation columns of the primary key table. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ForeignKey(String pPKTable,
String pPKCatalog,
String pPKSchema)
pPKTable - The primary key tablepPKCatalog - The catalog of the primary key tablepPKSchema - The schema of the primary key table| Method Detail |
|---|
public String toString()
toString in class Objectpublic String[] getPKTableRepresentationColumns()
public void setPKTableRepresentationColumns(String[] pAllPKTableColumns)
pAllPKTableColumns - the representation columns of the primary key table to setpublic String[] getPKColumns()
public void setPKColumns(String[] pPKColumns)
pPKColumns - the primary key columns to setpublic String[] getFKColumns()
public void setFKColumns(String[] pFKColumns)
pFKColumns - the foreign key columns to setpublic String getPKTable()
public String getPKCatalog()
public String getPKSchema()
public String getLinkReferenceColumn()
public void setLinkReferenceColumn(String pLinkReferenceColumn)
pLinkReferenceColumn - the foreign key column for the LinkReference to setpublic boolean isNullable()
public void setNullable(boolean pNullable)
pNullable - the bNullable to setpublic String getFKName()
public void setFKName(String pFKName)
pFKName - the foreign key name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||