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
public class NewCSVFileAssetRequestBody extends NewFileAssetRequestBody
NewCSVFileAssetRequestBody carries the parameters for creating a new CSV file asset.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NewCSVFileAssetRequestBody()Default constructorNewCSVFileAssetRequestBody(NewCSVFileAssetRequestBody template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.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.CharactergetDelimiterCharacter()Return the delimiter character used between the columns.CharactergetQuoteCharacter()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.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.assetowner.rest.NewFileAssetRequestBody
getDescription, getDisplayName, getFullPath, setDescription, setDisplayName, setFullPath
-
-
-
-
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
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classNewFileAssetRequestBody- 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:
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
-
-