Class NewFileAssetRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.assetowner.rest.AssetOwnerOMASAPIRequestBody
org.odpi.openmetadata.accessservices.assetowner.rest.NewFileAssetRequestBody
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NewCSVFileAssetRequestBody
NewFileAssetRequestBody carries the parameters for creating a new 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 description of the file.Returns the stored display name property for the asset.Return the full path of the file - this should be unique.getName()Return the name of the resource that this asset represents.Set up the version identifier of the resource.inthashCode()Return hash code for this objectvoidsetDescription(String description) Set up the description of the file.voidsetDisplayName(String displayName) Set up the stored display name property for the asset.voidsetFullPath(String fullPath) Set up the full path of the file - this should be unique.voidSet up the name of the resource that this asset represents.voidsetVersionIdentifier(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
-
getDisplayName
Returns the stored display name property for the asset. If no display name is available then name is returned.- Returns:
- String name
-
setDisplayName
Set up the stored display name property for the asset.- Parameters:
displayName- 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- Overrides:
toStringin classAssetOwnerOMASAPIRequestBody- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties. -
hashCode
public int hashCode()Return hash code for this object
-