|
||||||||||
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. |
|
ForeignKey(java.lang.String[] pFKColumns,
java.lang.String pPKTable,
java.lang.String[] pPKColumns,
java.lang.String[] pLinkReferenceColumns)
Construct a Select cache object. |
Method Summary | |
---|---|
ForeignKey |
clone()
|
Name[] |
getFKColumns()
Returns the foreign key columns. |
java.lang.String |
getFKName()
Returns the foreign key name. |
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. |
void |
setFKColumns(Name[] pFKColumns)
Sets the foreign key columns. |
void |
setFKName(java.lang.String pFKName)
Sets the foreign key name. |
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. |
java.lang.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 tablepublic ForeignKey(java.lang.String[] pFKColumns, java.lang.String pPKTable, java.lang.String[] pPKColumns, java.lang.String[] pLinkReferenceColumns)
pFKColumns
- The foreign key columnspPKTable
- The tablepPKColumns
- The the primary key columnspLinkReferenceColumns
- The columns of interestMethod Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public ForeignKey clone()
clone
in class java.lang.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 java.lang.String getFKName()
public void setFKName(java.lang.String pFKName)
pFKName
- the foreign key name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |