|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ddlutils.model.Reference
Represents a reference between a column in the local table and a column in another table.
Constructor Summary | |
Reference()
Creates a new, empty reference. |
|
Reference(Column localColumn,
Column foreignColumn)
Creates a new reference between the two given columns. |
Method Summary | |
protected Object |
clone()
|
boolean |
equals(Object obj)
|
Column |
getForeignColumn()
Returns the foreign column. |
String |
getForeignColumnName()
Returns the name of the foreign column. |
Column |
getLocalColumn()
Returns the local column. |
String |
getLocalColumnName()
Returns the name of the local column. |
int |
getSequenceValue()
Returns the sequence value within the owning key. |
int |
hashCode()
|
void |
setForeignColumn(Column foreignColumn)
Sets the foreign column. |
void |
setForeignColumnName(String foreignColumnName)
Sets the name of the remote column. |
void |
setLocalColumn(Column localColumn)
Sets the local column. |
void |
setLocalColumnName(String localColumnName)
Sets the name of the local column. |
void |
setSequenceValue(int sequenceValue)
Sets the sequence value within the owning key. |
String |
toString()
|
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Reference()
public Reference(Column localColumn, Column foreignColumn)
localColumn
- The local columnforeignColumn
- The remote columnMethod Detail |
public int getSequenceValue()
public void setSequenceValue(int sequenceValue)
sequenceValue
- The sequence valuepublic Column getLocalColumn()
public void setLocalColumn(Column localColumn)
localColumn
- The local columnpublic Column getForeignColumn()
public void setForeignColumn(Column foreignColumn)
foreignColumn
- The foreign columnpublic String getLocalColumnName()
public void setLocalColumnName(String localColumnName)
setLocalColumn(Column)
method.
localColumnName
- The column namepublic String getForeignColumnName()
public void setForeignColumnName(String foreignColumnName)
setForeignColumn(Column)
method.
foreignColumnName
- The column nameprotected Object clone() throws CloneNotSupportedException
CloneNotSupportedException
public boolean equals(Object obj)
public int hashCode()
public String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |