Class ClassificationWithEntityRequest

  • All Implemented Interfaces:
    Serializable

    public class ClassificationWithEntityRequest
    extends OMRSAPIRequest
    ClassificationWithEntityRequest carries a classification that has changed along with its entity.
    See Also:
    Serialized Form
    • Constructor Detail

      • ClassificationWithEntityRequest

        public ClassificationWithEntityRequest()
        Default constructor
      • ClassificationWithEntityRequest

        public ClassificationWithEntityRequest​(ClassificationWithEntityRequest template)
        Copy/clone constructor
        Parameters:
        template - object to copy
    • Method Detail

      • getClassification

        public Classification getClassification()
        Return the classification.
        Returns:
        Classification object
      • setClassification

        public void setClassification​(Classification classification)
        Set up the classification.
        Parameters:
        classification - Classification object
      • getEntity

        public EntityDetail getEntity()
        Return the entity where the classification belongs.
        Returns:
        full entity
      • setEntity

        public void setEntity​(EntityDetail entity)
        Set up the entity where the classification belongs.
        Parameters:
        entity - full entity
      • getEntityProxy

        public EntityProxy getEntityProxy()
        Return the entity where the classification belongs.
        Returns:
        full entity
      • setEntityProxy

        public void setEntityProxy​(EntityProxy entity)
        Set up the entity where the classification belongs.
        Parameters:
        entity - proxy entity
      • toString

        public String toString()
        Standard toString method.
        Overrides:
        toString in class Object
        Returns:
        print out of variables in a JSON-style
      • equals

        public boolean equals​(Object objectToCompare)
        Compare the values of the supplied object with those stored in the current object.
        Overrides:
        equals in class Object
        Parameters:
        objectToCompare - supplied object
        Returns:
        boolean result of comparison
      • hashCode

        public int hashCode()
        Create a hash code for this element type.
        Overrides:
        hashCode in class Object
        Returns:
        int hash code