Class NewCSVFileAssetRequestBody

    • Constructor Detail

      • NewCSVFileAssetRequestBody

        public NewCSVFileAssetRequestBody()
        Default constructor
      • NewCSVFileAssetRequestBody

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

      • 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
      • 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