Class EntityDetail

  • All Implemented Interfaces:
    Serializable

    public class EntityDetail
    extends EntitySummary
    EntityDetail stores all of the type-specific properties for the entity. These properties can be requested in an InstanceProperties object on request.
    See Also:
    Serialized Form
    • Constructor Detail

      • EntityDetail

        public EntityDetail()
        Default Constructor no properties established
      • EntityDetail

        public EntityDetail​(EntityDetail templateElement)
        Copy/clone constructor properties copied from template.
        Parameters:
        templateElement - element to copy.
    • Method Detail

      • getProperties

        public InstanceProperties getProperties()
        Return a copy of all of the properties for this entity. Null means no properties exist.
        Returns:
        InstanceProperties
      • setProperties

        public void setProperties​(InstanceProperties newProperties)
        Set up the properties for this entity.
        Parameters:
        newProperties - InstanceProperties object
      • toString

        public String toString()
        Standard toString method.
        Overrides:
        toString in class EntitySummary
        Returns:
        JSON style description of variables.
      • equals

        public boolean equals​(Object objectToCompare)
        Validate that an object is equal depending on their stored values.
        Overrides:
        equals in class EntitySummary
        Parameters:
        objectToCompare - object
        Returns:
        boolean result
      • hashCode

        public int hashCode()
        Return a hash code based on the values of this object.
        Overrides:
        hashCode in class EntitySummary
        Returns:
        in hash code