Class NewCSVFileAssetRequestBody

java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.NewFileAssetRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.NewCSVFileAssetRequestBody

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

    • NewCSVFileAssetRequestBody

      public NewCSVFileAssetRequestBody()
      Default constructor
    • NewCSVFileAssetRequestBody

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

    • getColumnHeaders

      public List<String> getColumnHeaders()
      Return the list of column headers for the data set - this is used if the columns are not listed in the first line of the file.
      Returns:
      list of column names
    • setColumnHeaders

      public void setColumnHeaders(List<String> columnHeaders)
      Set up he list of column headers for the data set - this is used if the columns are not listed in the first line of the file.
      Parameters:
      columnHeaders - list of column names
    • getDelimiterCharacter

      public Character getDelimiterCharacter()
      Return the delimiter character used between the columns. Null means used the default of comma.
      Returns:
      character
    • setDelimiterCharacter

      public void setDelimiterCharacter(Character delimiterCharacter)
      Set up the delimiter character used between the columns. Null means used the default of comma.
      Parameters:
      delimiterCharacter - character
    • getQuoteCharacter

      public Character getQuoteCharacter()
      Return the character used to group the content of a column that contains one or more delimiter characters. Null means the quote character is a double quote.
      Returns:
      character
    • setQuoteCharacter

      public void setQuoteCharacter(Character quoteCharacter)
      Set up he character used to group the content of a column that contains one or more delimiter characters. Null means the quote character is a double quote.
      Parameters:
      quoteCharacter - character
    • toString

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

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