Class TemplateClassificationRequestBody
java.lang.Object
org.odpi.openmetadata.accessservices.assetowner.rest.AssetOwnerOMASAPIRequestBody
org.odpi.openmetadata.accessservices.assetowner.rest.TemplateClassificationRequestBody
- All Implemented Interfaces:
Serializable
TemplateClassificationRequestBody carries the parameters for classifying an asset as suitable to use for a template.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return a copy of the additional properties.Returns the description property for the template.getName()
Returns the name property for the template.int
hashCode()
Return hash code based on properties.void
setAdditionalProperties
(Map<String, String> additionalProperties) Set up additional properties.void
setDescription
(String description) Set up the description property associated with the template.void
Set up the name property for the template.toString()
Generate a string containing the properties.
-
Constructor Details
-
TemplateClassificationRequestBody
public TemplateClassificationRequestBody()Default constructor -
TemplateClassificationRequestBody
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getName
Returns the name property for the template. If no name is available then null is returned.- Returns:
- String name
-
setName
Set up the name property for the template.- Parameters:
name
- String name
-
getDescription
Returns the description property for the template. If no description is provided then null is returned.- Returns:
- description String text
-
setDescription
Set up the description property associated with the template.- Parameters:
description
- String text
-
getAdditionalProperties
Return a copy of the additional properties. Null means no additional properties are available.- Returns:
- AdditionalProperties
-
setAdditionalProperties
Set up additional properties.- Parameters:
additionalProperties
- Additional properties object
-
toString
Generate a string containing the properties.- Overrides:
toString
in classAssetOwnerOMASAPIRequestBody
- Returns:
- string value
-
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-