|
||||||||||
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(Name pPKTable,
Name pPKCatalog,
Name pPKSchema)
Construct a Select cache object. |
Method Summary | |
---|---|
ForeignKey |
clone()
|
Name[] |
getFKColumns()
Returns the foreign key columns. |
String |
getFKName()
Returns the foreign key name. |
Name |
getLinkReferenceColumn()
Returns the foreign key column for the LinkReference. |
Name |
getPKCatalog()
Returns the catalog of the primary key table. |
Name[] |
getPKColumns()
Returns the primary key columns. |
Name |
getPKSchema()
Returns the schema of the primary key table. |
Name |
getPKTable()
Returns the primary key table. |
boolean |
isNullable()
Returns if the foreign key is nullable. |
void |
setFKColumns(Name[] pFKColumns)
Sets the foreign key columns. |
void |
setFKName(String pFKName)
Sets the foreign key name. |
void |
setLinkReferenceColumn(Name pLinkReferenceColumn)
Sets the foreign key column for the LinkReference. |
void |
setNullable(boolean pNullable)
Sets if the foreign key is nullable. |
void |
setPKCatalog(Name pPKCatalog)
Sets the primary key catalog name. |
void |
setPKColumns(Name[] pPKColumns)
Sets the primary key columns. |
void |
setPKSchema(Name pPKSchema)
Sets the primary key Schema name. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ForeignKey(Name pPKTable, Name pPKCatalog, Name pPKSchema)
pPKTable
- The primary key tablepPKCatalog
- The catalog of the primary key tablepPKSchema
- The schema of the primary key tableMethod Detail |
---|
public String toString()
toString
in class Object
public ForeignKey clone()
clone
in class Object
public Name[] getPKColumns()
public void setPKColumns(Name[] pPKColumns)
pPKColumns
- the primary key columns to setpublic Name[] getFKColumns()
public void setFKColumns(Name[] pFKColumns)
pFKColumns
- the foreign key columns to setpublic Name getPKTable()
public Name getPKCatalog()
public void setPKCatalog(Name pPKCatalog)
pPKCatalog
- the primary key catalog name.public Name getPKSchema()
public void setPKSchema(Name pPKSchema)
pPKSchema
- the primary key schema name to use.public Name getLinkReferenceColumn()
public void setLinkReferenceColumn(Name 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 |