Class EntityImpl

    • Field Detail

      • refId

        protected long refId
    • Constructor Detail

      • EntityImpl

        public EntityImpl()
    • Method Detail

      • getEntityType

        public EntityType getEntityType()
        Specified by:
        getEntityType in interface Entity
        Returns:
        the type of the entity (one of the types this system can manage, defined in enum EntityType).
      • setEntityType

        public void setEntityType​(EntityType entityType)
        Specified by:
        setEntityType in interface Entity
        Parameters:
        entityType - the type of the entity
      • getRefId

        public long getRefId()
        Description copied from interface: Entity
        Get the system wide unique reference id. Makes it possible to create very short permanent URIs by using a number.
        Specified by:
        getRefId in interface Entity
        Returns:
        system wide unique entity reference id
      • setRefId

        public void setRefId​(long refId)
        Specified by:
        setRefId in interface Entity
        Parameters:
        refId - system wide unique entity reference id.