Class Identity

    • Constructor Detail

      • Identity

        public Identity​(String type,
                        String value,
                        long entityId,
                        String comparableValue)
      • Identity

        public Identity​(com.fasterxml.jackson.databind.node.ObjectNode src)
      • Identity

        public Identity​(String type,
                        long entityId,
                        com.fasterxml.jackson.databind.node.ObjectNode src)
        Partial creation from JSON (used by RDBMS storage)
        Parameters:
        type -
        entityId -
        comparableValue -
        src -
    • Method Detail

      • getEntityId

        public long getEntityId()
      • setEntityId

        public void setEntityId​(long entityId)
      • getCreationTs

        public Date getCreationTs()
      • setCreationTs

        public void setCreationTs​(Date creationTs)
      • getUpdateTs

        public Date getUpdateTs()
      • setUpdateTs

        public void setUpdateTs​(Date updateTs)
      • getComparableValue

        public String getComparableValue()
      • setComparableValue

        public void setComparableValue​(String comparableValue)
      • getName

        public String getName()
        Specified by:
        getName in interface NamedObject
        Returns:
        human readable name of the object. Must be unique for the object class.
      • toJson

        public com.fasterxml.jackson.databind.node.ObjectNode toJson()
        Overrides:
        toJson in class IdentityParam
      • toJsonBase

        public com.fasterxml.jackson.databind.node.ObjectNode toJsonBase()
        Overrides:
        toJsonBase in class IdentityParam