All Implemented Interfaces:
Serializable

public class EntityProxy extends EntitySummary
EntityProxy summarizes an entity instance. It is used to describe one of the entities connected together by a relationship.
See Also:
  • Constructor Details

    • EntityProxy

      public EntityProxy()
      Default constructor sets up an empty entity proxy.
    • EntityProxy

      public EntityProxy(EntityProxy template)
      Copy/clone constructor for the entity proxy.
      Parameters:
      template - entity proxy to copy
    • EntityProxy

      public EntityProxy(EntitySummary template)
      Copy/clone constructor for the entity proxy.
      Parameters:
      template - entity summary to copy
  • Method Details

    • getUniqueProperties

      public InstanceProperties getUniqueProperties()
      Return a copy of the unique attributes for the entity.
      Returns:
      InstanceProperties iterator
    • setUniqueProperties

      public void setUniqueProperties(InstanceProperties uniqueAttributes)
      Set up the list of unique properties for this entity proxy. These attributes provide properties such as unique names etc that are useful to display.
      Parameters:
      uniqueAttributes - InstanceProperties iterator
    • 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