Class NewFileAssetRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.NewFileAssetRequestBody
- Direct Known Subclasses:
NewCSVFileAssetRequestBody
NewFileAssetRequestBody carries the parameters for creating a new 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 description of the file.Return the full path of the file - this should be unique.getName()
Return the name of the resource that this asset represents.Returns the stored display name property for the asset.Set up the version identifier of the resource.int
hashCode()
Return hash code for this objectvoid
setDescription
(String description) Set up the description of the file.void
setFullPath
(String fullPath) Set up the full path of the file - this should be unique.void
Set up the name of the resource that this asset represents.void
setResourceName
(String resourceName) Set up the stored display name property for the asset.void
setVersionIdentifier
(String versionIdentifier) Set up the version identifier of the resource.toString()
JSON-style toString
-
Constructor Details
-
NewFileAssetRequestBody
public NewFileAssetRequestBody()Default constructor -
NewFileAssetRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getName
Return the name of the resource that this asset represents.- Returns:
- string resource name
-
setName
Set up the name of the resource that this asset represents.- Parameters:
name
- string resource name
-
getVersionIdentifier
Set up the version identifier of the resource.- Returns:
- string version name
-
setVersionIdentifier
Set up the version identifier of the resource.- Parameters:
versionIdentifier
- string version name
-
getResourceName
Returns the stored display name property for the asset. If no resource name is available then name is returned.- Returns:
- String name
-
setResourceName
Set up the stored display name property for the asset.- Parameters:
resourceName
- String name
-
getDescription
Return the description of the file.- Returns:
- string description
-
setDescription
Set up the description of the file.- Parameters:
description
- string description
-
getFullPath
Return the full path of the file - this should be unique.- Returns:
- string name
-
setFullPath
Set up the full path of the file - this should be unique.- Parameters:
fullPath
- string name
-
toString
JSON-style toString -
equals
Return comparison result based on the content of the properties. -
hashCode
public int hashCode()Return hash code for this object
-