Class TemplateClassificationRequestBody
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetowner.rest.AssetOwnerOMASAPIRequestBody
-
- org.odpi.openmetadata.accessservices.assetowner.rest.TemplateClassificationRequestBody
-
- All Implemented Interfaces:
Serializable
public class TemplateClassificationRequestBody extends AssetOwnerOMASAPIRequestBody
TemplateClassificationRequestBody carries the parameters for classifying an asset as suitable to use for a template.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TemplateClassificationRequestBody()Default constructorTemplateClassificationRequestBody(TemplateClassificationRequestBody template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.Map<String,String>getAdditionalProperties()Return a copy of the additional properties.StringgetDescription()Returns the description property for the template.StringgetName()Returns the name property for the template.inthashCode()Return hash code based on properties.voidsetAdditionalProperties(Map<String,String> additionalProperties)Set up additional properties.voidsetDescription(String description)Set up the description property associated with the template.voidsetName(String name)Set up the name property for the template.StringtoString()Generate a string containing the properties.
-
-
-
Constructor Detail
-
TemplateClassificationRequestBody
public TemplateClassificationRequestBody()
Default constructor
-
TemplateClassificationRequestBody
public TemplateClassificationRequestBody(TemplateClassificationRequestBody template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getName
public String getName()
Returns the name property for the template. If no name is available then null is returned.- Returns:
- String name
-
setName
public void setName(String name)
Set up the name property for the template.- Parameters:
name- String name
-
getDescription
public String getDescription()
Returns the description property for the template. If no description is provided then null is returned.- Returns:
- description String text
-
setDescription
public void setDescription(String description)
Set up the description property associated with the template.- Parameters:
description- String text
-
getAdditionalProperties
public Map<String,String> getAdditionalProperties()
Return a copy of the additional properties. Null means no additional properties are available.- Returns:
- AdditionalProperties
-
setAdditionalProperties
public void setAdditionalProperties(Map<String,String> additionalProperties)
Set up additional properties.- Parameters:
additionalProperties- Additional properties object
-
toString
public String toString()
Generate a string containing the properties.- Overrides:
toStringin classAssetOwnerOMASAPIRequestBody- Returns:
- string value
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-