java.lang.Object
org.odpi.openmetadata.adapters.connectors.unitycatalog.resource.rest.UpdateElementRequestBody

public class UpdateElementRequestBody extends Object
Payload for patching an element
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    Compare the values of the supplied object with those stored in the current object.
    Return a comment describing the element within its name space.
    Return the unique name of the element within its name space..
    int
    Return hash code based on properties.
    void
    setComment(String comment)
    Set up a comment describing the element within its name space.
    void
    setNew_name(String new_name)
    Set up the unique name of the element within its name space.
    Standard toString method.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • UpdateElementRequestBody

      public UpdateElementRequestBody()
  • Method Details

    • getNew_name

      public String getNew_name()
      Return the unique name of the element within its name space..
      Returns:
      string
    • setNew_name

      public void setNew_name(String new_name)
      Set up the unique name of the element within its name space.
      Parameters:
      new_name - string name
    • getComment

      public String getComment()
      Return a comment describing the element within its name space.
      Returns:
      text
    • setComment

      public void setComment(String comment)
      Set up a comment describing the element within its name space.
      Parameters:
      comment - text
    • 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()
      Return hash code based on properties.
      Overrides:
      hashCode in class Object
      Returns:
      int