Class InstancePropertiesRequest

  • All Implemented Interfaces:
    java.io.Serializable

    public class InstancePropertiesRequest
    extends OMRSAPIRequest
    InstancePropertiesRequest carries the properties needed to update an entity, relationship or classification.
    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.InstanceProperties getInstanceProperties()
      Return the list of properties for the new entity.
      int hashCode()
      Create a hash code for this element type.
      void setInstanceProperties​(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceProperties instanceProperties)
      Set up the initial properties for the entity.
      java.lang.String toString()
      Standard toString method.
      • Methods inherited from class java.lang.Object

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

      • InstancePropertiesRequest

        public InstancePropertiesRequest()
        Default constructor
      • InstancePropertiesRequest

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

      • getInstanceProperties

        public org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceProperties getInstanceProperties()
        Return the list of properties for the new entity.
        Returns:
        instance properties object
      • setInstanceProperties

        public void setInstanceProperties​(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceProperties instanceProperties)
        Set up the initial properties for the entity.
        Parameters:
        instanceProperties - InstanceProperties object
      • 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