Class ClassificationWithEntityRequest

  • All Implemented Interfaces:
    java.io.Serializable

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Classification getClassification()
      Return the classification.
      org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail getEntity()
      Return the entity where the classification belongs.
      org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityProxy getEntityProxy()
      Return the entity where the classification belongs.
      int hashCode()
      Create a hash code for this element type.
      void setClassification​(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Classification classification)
      Set up the classification.
      void setEntity​(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail entity)
      Set up the entity where the classification belongs.
      void setEntityProxy​(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityProxy entity)
      Set up the entity where the classification belongs.
      java.lang.String toString()
      Standard toString method.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ClassificationWithEntityRequest

        public ClassificationWithEntityRequest()
        Default constructor
      • ClassificationWithEntityRequest

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

      • getClassification

        public org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Classification getClassification()
        Return the classification.
        Returns:
        Classification object
      • setClassification

        public void setClassification​(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Classification classification)
        Set up the classification.
        Parameters:
        classification - Classification object
      • getEntity

        public org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail getEntity()
        Return the entity where the classification belongs.
        Returns:
        full entity
      • setEntity

        public void setEntity​(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail entity)
        Set up the entity where the classification belongs.
        Parameters:
        entity - full entity
      • getEntityProxy

        public org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityProxy getEntityProxy()
        Return the entity where the classification belongs.
        Returns:
        full entity
      • setEntityProxy

        public void setEntityProxy​(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityProxy entity)
        Set up the entity where the classification belongs.
        Parameters:
        entity - proxy entity
      • toString

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

        public boolean equals​(java.lang.Object objectToCompare)
        Compare the values of the supplied object with those stored in the current object.
        Overrides:
        equals in class java.lang.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 java.lang.Object
        Returns:
        int hash code