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