public class Identity extends Object
DataToDatabaseSink class for inserting objects
in the correct order.| Constructor and Description |
|---|
Identity(Table table)
Creates a new identity object for the given table.
|
Identity(Table table,
String fkName)
Creates a new identity object for the given table.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Object |
getColumnValue(String name)
Returns the value of the indicated identity columns.
|
String |
getForeignKeyName()
Returns the name of the foreign key whose referenced object this identity represents.
|
Table |
getTable()
Returns the table that this identity is for.
|
int |
hashCode() |
void |
setColumnValue(String name,
Object value)
Specifies the value of the indicated identity columns.
|
String |
toString() |
public Identity(Table table)
table - The name of the tablepublic Table getTable()
public String getForeignKeyName()
null if the identity is not for a foreign key, or if the foreign key
was unnamed.public void setColumnValue(String name, Object value)
name - The column namevalue - The value for the columnpublic Object getColumnValue(String name)
name - The column nameCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.