Class NewFileAssetRequestBody

java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.NewFileAssetRequestBody
Direct Known Subclasses:
NewCSVFileAssetRequestBody

public class NewFileAssetRequestBody extends Object
NewFileAssetRequestBody carries the parameters for creating a new file asset.
  • Constructor Details

    • NewFileAssetRequestBody

      public NewFileAssetRequestBody()
      Default constructor
    • NewFileAssetRequestBody

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

    • getName

      public String getName()
      Return the name of the resource that this asset represents.
      Returns:
      string resource name
    • setName

      public void setName(String name)
      Set up the name of the resource that this asset represents.
      Parameters:
      name - string resource name
    • getVersionIdentifier

      public String getVersionIdentifier()
      Set up the version identifier of the resource.
      Returns:
      string version name
    • setVersionIdentifier

      public void setVersionIdentifier(String versionIdentifier)
      Set up the version identifier of the resource.
      Parameters:
      versionIdentifier - string version name
    • getResourceName

      public String getResourceName()
      Returns the stored display name property for the asset. If no resource name is available then name is returned.
      Returns:
      String name
    • setResourceName

      public void setResourceName(String resourceName)
      Set up the stored display name property for the asset.
      Parameters:
      resourceName - String name
    • getDescription

      public String getDescription()
      Return the description of the file.
      Returns:
      string description
    • setDescription

      public void setDescription(String description)
      Set up the description of the file.
      Parameters:
      description - string description
    • getFullPath

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

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

      public String toString()
      JSON-style toString
      Overrides:
      toString in class Object
      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 Object
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

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