Class NewCSVFileAssetRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.assetowner.rest.AssetOwnerOMASAPIRequestBody
org.odpi.openmetadata.accessservices.assetowner.rest.NewFileAssetRequestBody
org.odpi.openmetadata.accessservices.assetowner.rest.NewCSVFileAssetRequestBody
- All Implemented Interfaces:
Serializable
NewCSVFileAssetRequestBody carries the parameters for creating a new CSV file asset.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn 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.inthashCode()Return hash code for this objectvoidsetColumnHeaders(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.voidsetDelimiterCharacter(Character delimiterCharacter) Set up the delimiter character used between the columns.voidsetQuoteCharacter(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.accessservices.assetowner.rest.NewFileAssetRequestBody
getDescription, getDisplayName, getFullPath, getName, getVersionIdentifier, setDescription, setDisplayName, setFullPath, setName, 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:
toStringin classNewFileAssetRequestBody- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equalsin classNewFileAssetRequestBody- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classNewFileAssetRequestBody- Returns:
- int hash code
-