Package de.espirit.or.schema
Interface Identifier
- All Superinterfaces:
Serializable
Interface representing the identifier of an
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
- Since:
- 4.0.17
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of theentity type
of theentity
this identifier belongs to.getName
(int index) Returns the name at the specfied index.getNames()
Returns a list of all names representing the values of this identifier.getValue
(int index) Returns the identifier value at the specified index.Returns the identifier value for the specified nameReturns a list of all identifier values.int
size()
Returns the value count of this identifier.
-
Method Details
-
getEntityTypeName
String getEntityTypeName()Returns the name of theentity type
of theentity
this identifier belongs to.- Since:
- 4.0.17
-
getValue
Returns the identifier value at the specified index.- Since:
- 4.0.17
-
getValue
Returns the identifier value for the specified name- Throws:
IllegalArgumentException
- if the given name is not defined for this identifier- Since:
- 4.0.17
- See Also:
-
getValues
Returns a list of all identifier values.- Since:
- 4.0.17
-
getName
Returns the name at the specfied index.- Since:
- 4.0.17
- See Also:
-
getNames
Returns a list of all names representing the values of this identifier.- Since:
- 4.0.17
- See Also:
-
size
int size()Returns the value count of this identifier.- Since:
- 4.0.17
- See Also:
-