public class KeyValue
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.lang.Object[] |
values |
Constructor and Description |
---|
KeyValue(SFieldReference<?> field)
Creates a 'null' foreign key value that matches the number of key values for the reference field
|
KeyValue(SRecordInstance record)
Pulls the primary key values into an aggregate foreign key value
|
KeyValue(SRecordInstance record,
SFieldReference<?> field)
Pulls the foreign key values into an aggregate foreign key value
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getAsLong()
Convenience cast for the common case of a single, Long-valued key
|
java.lang.Object[] |
getKeyValues() |
void |
setRecordValues(SRecordInstance record,
SFieldReference<?> field) |
java.lang.String |
toString() |
public KeyValue(SFieldReference<?> field)
public KeyValue(SRecordInstance record, SFieldReference<?> field)
public KeyValue(SRecordInstance record)
public void setRecordValues(SRecordInstance record, SFieldReference<?> field)
public java.lang.Object[] getKeyValues()
public java.lang.Long getAsLong()
public java.lang.String toString()
toString
in class java.lang.Object