Class TypeDefChangeRequest

  • All Implemented Interfaces:
    java.io.Serializable

    public class TypeDefChangeRequest
    extends OMRSAPIRequest
    TypeDefChangeRequest carries details of the old and new TypeDef used to re-type an instance.
    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.typedefs.TypeDefSummary getCurrentTypeDef()
      Return the current type.
      org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefSummary getNewTypeDef()
      Return the new type.
      int hashCode()
      Create a hash code for this element type.
      void setCurrentTypeDef​(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefSummary currentTypeDef)
      Set up the current type
      void setNewTypeDef​(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefSummary newTypeDef)
      Set up the new type.
      java.lang.String toString()
      Standard toString method.
      • Methods inherited from class java.lang.Object

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

      • TypeDefChangeRequest

        public TypeDefChangeRequest()
        Default constructor
      • TypeDefChangeRequest

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

      • getCurrentTypeDef

        public org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefSummary getCurrentTypeDef()
        Return the current type.
        Returns:
        TypeDef summary
      • setCurrentTypeDef

        public void setCurrentTypeDef​(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefSummary currentTypeDef)
        Set up the current type
        Parameters:
        currentTypeDef - TypeDef summary
      • getNewTypeDef

        public org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefSummary getNewTypeDef()
        Return the new type.
        Returns:
        TypeDef summary
      • setNewTypeDef

        public void setNewTypeDef​(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefSummary newTypeDef)
        Set up the new type.
        Parameters:
        newTypeDef - TypeDef summary
      • 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