Class EntityInformation


  • public class EntityInformation
    extends Object
    Stores information about entity, besides its identities, credentials and basic information as id.
    Author:
    K. Benedyczak
    • Constructor Detail

      • EntityInformation

        public EntityInformation()
      • EntityInformation

        public EntityInformation​(long id)
      • EntityInformation

        public EntityInformation​(com.fasterxml.jackson.databind.node.ObjectNode json)
    • Method Detail

      • setState

        public void setState​(EntityState state)
      • getScheduledOperationTime

        public Date getScheduledOperationTime()
      • setScheduledOperationTime

        public void setScheduledOperationTime​(Date scheduledOperationTime)
      • getRemovalByUserTime

        public Date getRemovalByUserTime()
      • setRemovalByUserTime

        public void setRemovalByUserTime​(Date removalByUserTime)
      • getId

        public Long getId()
      • setId

        public void setId​(long id)
      • setEntityState

        public void setEntityState​(EntityState entityState)
      • toJson

        public com.fasterxml.jackson.databind.node.ObjectNode toJson()
      • toJsonBase

        public com.fasterxml.jackson.databind.node.ObjectNode toJsonBase()
      • fromJsonBase

        public void fromJsonBase​(com.fasterxml.jackson.databind.node.ObjectNode main)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object