public class Reference extends Object implements Serializable
| Constructor and Description |
|---|
Reference()
Creates a new, empty reference.
|
Reference(Column localColumn,
Column foreignColumn)
Creates a new reference between the two given columns.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
equalsIgnoreCase(Reference otherRef)
Compares this reference to the given one while ignoring the case of identifiers.
|
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() |
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 namepublic boolean equalsIgnoreCase(Reference otherRef)
otherRef - The other referencetrue if this reference is equal (ignoring case) to the given oneCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.