public interface Identifier extends Serializable
entity
. In a temporal context an entity can have more than one version.
All of the versions have the same KeyValue
but each version must have an unique identifier
which is used to retrieve
the version from the database. In the temporal context the identifier is a composed
primary key it contains the key value of the entity and the following system columns:
valid from, valid to, release to
Entity.getIdentifier()
Modifier and Type | Method and Description |
---|---|
String |
getEntityTypeName()
Returns the name of the
entity type of the entity this identifier belongs to. |
String |
getName(int index)
Returns the name at the specfied index.
|
List<String> |
getNames()
Returns a list of all names representing the values of this identifier.
|
Object |
getValue(int index)
Returns the identifier value at the specified index.
|
Object |
getValue(String name)
Returns the identifier value for the specified name
|
List<Object> |
getValues()
Returns a list of all identifier values.
|
int |
size()
Returns the value count of this identifier.
|
String getEntityTypeName()
entity type
of the entity
this identifier belongs to.Object getValue(int index)
Object getValue(String name)
IllegalArgumentException
- if the given name is not defined for this identifiergetNames()
String getName(int index)
getValue(String)
List<String> getNames()
getValue(String)
int size()
getValue(int)
Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500