public class KeyValue extends Object implements Serializable
Constructor and Description |
---|
KeyValue(String entityTypeName,
Object... values)
Constructor taking the name of the type and the values building the key.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Object value)
Adds a key value.
|
static KeyValue |
createKeyValue(Schema schema,
Identifier identifier)
Factory to create the key value within the given schema for the requested identifer.
|
boolean |
equals(Object o)
Equality implementation for key values.
|
String |
getEntityTypeName()
Provides the entity type name.
|
Object |
getValue(int index)
Provides the value stored at the given index.
|
List<Object> |
getValues()
Provides the key's values.
|
int |
hashCode()
Hashcode implementation.
|
int |
size()
Provides the size of the key value.
|
String |
toString()
Provides a textual representation of this value.
|
public static KeyValue createKeyValue(Schema schema, Identifier identifier)
schema
- The schema.identifier
- The identifier.public String getEntityTypeName()
public void add(Object value)
value
- The value to add.public List<Object> getValues()
public Object getValue(int index)
index
- The index.public int size()
public boolean equals(Object o)
public int hashCode()
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210