Interface EntityIdWithRevision<I extends org.eclipse.ditto.base.model.entity.id.EntityId>

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  EntityIdWithRevision.JsonFields
      An enumeration of the known JsonFields of a EntityIdWithRevision.
      • Nested classes/interfaces inherited from interface org.eclipse.ditto.base.model.json.Jsonifiable

        org.eclipse.ditto.base.model.json.Jsonifiable.WithFieldSelector, org.eclipse.ditto.base.model.json.Jsonifiable.WithFieldSelectorAndPredicate<T extends java.lang.Object>, org.eclipse.ditto.base.model.json.Jsonifiable.WithPointer<J extends org.eclipse.ditto.json.JsonValue>, org.eclipse.ditto.base.model.json.Jsonifiable.WithPredicate<J extends org.eclipse.ditto.json.JsonValue,​T extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default java.lang.String asIdentifierString()
      Returns this tag as an identifier in the format <id>:<revision>.
      I getEntityId()
      Returns the Entity ID of the modified entity.
      long getRevision()
      Returns the revision of the modified entity.
      • Methods inherited from interface org.eclipse.ditto.base.model.json.Jsonifiable

        getImplementedSchemaVersion, getLatestSchemaVersion, getSupportedSchemaVersions, implementsSchemaVersion, implementsSchemaVersion, toJson, toJsonString
    • Method Detail

      • getEntityId

        I getEntityId()
        Returns the Entity ID of the modified entity.
        Returns:
        the ID of the modified entity.
      • getRevision

        long getRevision()
        Returns the revision of the modified entity.
        Returns:
        the revision of the modified entity.
      • asIdentifierString

        default java.lang.String asIdentifierString()
        Returns this tag as an identifier in the format <id>:<revision>.
        Specified by:
        asIdentifierString in interface IdentifiableStreamingMessage
        Returns:
        the tag as an identifier