Class NewCSVFileAssetRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.NewFileAssetRequestBody
org.odpi.openmetadata.commonservices.ffdc.rest.NewCSVFileAssetRequestBody
NewCSVFileAssetRequestBody carries the parameters for creating a new CSV file asset.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.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.Return the delimiter character used between the columns.Return the character used to group the content of a column that contains one or more delimiter characters.int
hashCode()
Return hash code for this objectvoid
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.void
setDelimiterCharacter
(Character delimiterCharacter) Set up the delimiter character used between the columns.void
setQuoteCharacter
(Character quoteCharacter) Set up he character used to group the content of a column that contains one or more delimiter characters.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.commonservices.ffdc.rest.NewFileAssetRequestBody
getDescription, getFullPath, getName, getResourceName, getVersionIdentifier, setDescription, setFullPath, setName, setResourceName, setVersionIdentifier
-
Constructor Details
-
NewCSVFileAssetRequestBody
public NewCSVFileAssetRequestBody()Default constructor -
NewCSVFileAssetRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
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
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
Return the delimiter character used between the columns. Null means used the default of comma.- Returns:
- character
-
setDelimiterCharacter
Set up the delimiter character used between the columns. Null means used the default of comma.- Parameters:
delimiterCharacter
- 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
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
JSON-style toString- Overrides:
toString
in classNewFileAssetRequestBody
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classNewFileAssetRequestBody
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classNewFileAssetRequestBody
- Returns:
- int hash code
-