Class PathNameRequestBody

java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.ExternalSourceRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.PathNameRequestBody

public class PathNameRequestBody extends ExternalSourceRequestBody
PathNameRequestBody carries the parameters for creating a new FileFolderProperties asset.
  • Constructor Details

    • PathNameRequestBody

      public PathNameRequestBody()
      Default constructor
    • PathNameRequestBody

      public PathNameRequestBody(PathNameRequestBody template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getPathName

      public String getPathName()
      Return the full path of the file - this should be unique.
      Returns:
      string name
    • setPathName

      public void setPathName(String pathName)
      Set up the full path of the file - this should be unique.
      Parameters:
      pathName - string name
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class ExternalSourceRequestBody
      Returns:
      return string containing the property names and values
    • equals

      public boolean equals(Object objectToCompare)
      Return comparison result based on the content of the properties.
      Overrides:
      equals in class ExternalSourceRequestBody
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class ExternalSourceRequestBody
      Returns:
      int hash code