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
public class NewFileAssetRequestBody extends AssetOwnerOMASAPIRequestBody
NewFileAssetRequestBody carries the parameters for creating a new file asset.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NewFileAssetRequestBody()Default constructorNewFileAssetRequestBody(NewFileAssetRequestBody 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.StringgetDescription()Return the description of the file.StringgetDisplayName()Returns the stored display name property for the asset.StringgetFullPath()Return the full path of the file - this should be unique.StringgetName()Return the name of the resource that this asset represents.StringgetVersionIdentifier()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.voidsetName(String name)Set up the name of the resource that this asset represents.voidsetVersionIdentifier(String versionIdentifier)Set up the version identifier of the resource.StringtoString()JSON-style toString
-
-
-
Constructor Detail
-
NewFileAssetRequestBody
public NewFileAssetRequestBody()
Default constructor
-
NewFileAssetRequestBody
public NewFileAssetRequestBody(NewFileAssetRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getName
public String getName()
Return the name of the resource that this asset represents.- Returns:
- string resource name
-
setName
public void setName(String name)
Set up the name of the resource that this asset represents.- Parameters:
name- string resource name
-
getVersionIdentifier
public String getVersionIdentifier()
Set up the version identifier of the resource.- Returns:
- string version name
-
setVersionIdentifier
public void setVersionIdentifier(String versionIdentifier)
Set up the version identifier of the resource.- Parameters:
versionIdentifier- string version name
-
getDisplayName
public String getDisplayName()
Returns the stored display name property for the asset. If no display name is available then name is returned.- Returns:
- String name
-
setDisplayName
public void setDisplayName(String displayName)
Set up the stored display name property for the asset.- Parameters:
displayName- String name
-
getDescription
public String getDescription()
Return the description of the file.- Returns:
- string description
-
setDescription
public void setDescription(String description)
Set up the description of the file.- Parameters:
description- string description
-
getFullPath
public String getFullPath()
Return the full path of the file - this should be unique.- Returns:
- string name
-
setFullPath
public void setFullPath(String fullPath)
Set up the full path of the file - this should be unique.- Parameters:
fullPath- string name
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classAssetOwnerOMASAPIRequestBody- 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.
-
-