Interface Identifier

All Superinterfaces:
Serializable

public interface Identifier extends 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 Type
    Method
    Description
    Returns the name of the entity type of the entity this identifier belongs to.
    getName(int index)
    Returns the name at the specfied index.
    @NotNull List<String>
    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 name
    Returns a list of all identifier values.
    int
    Returns the value count of this identifier.
  • Method Details

    • getEntityTypeName

      String getEntityTypeName()
      Returns the name of the entity type of the entity this identifier belongs to.
      Since:
      4.0.17
    • getValue

      Object getValue(int index)
      Returns the identifier value at the specified index.
      Since:
      4.0.17
    • getValue

      Object getValue(String name)
      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

      List<Object> getValues()
      Returns a list of all identifier values.
      Since:
      4.0.17
    • getName

      String getName(int index)
      Returns the name at the specfied index.
      Since:
      4.0.17
      See Also:
    • getNames

      @NotNull @NotNull List<String> 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: