public class EntityKey
extends java.lang.Object
Encapsulates an OData entity key.
| Constructor and Description |
|---|
EntityKey() |
| Modifier and Type | Method and Description |
|---|---|
DataValueMap |
getMap()
Return a map containing the key/value pairs for key properties.
|
void |
setMap(DataValueMap value)
Set a map containing the key/value pairs for key properties.
|
java.lang.String |
toString() |
EntityKey |
with(java.lang.String name,
DataValue value)
Set the value of a key property.
|
EntityKey |
withProperty(Property property,
DataValue value)
Set the value of a key property.
|
public DataValueMap getMap()
Return a map containing the key/value pairs for key properties.
public void setMap(DataValueMap value)
Set a map containing the key/value pairs for key properties.
value - A map containing the key/value pairs for key properties.public java.lang.String toString()
toString in class java.lang.Objectpublic EntityKey with(java.lang.String name, DataValue value)
Set the value of a key property.
name - Key property name.value - (nullable) Key property value.