Class TemplateClassificationRequestBody

java.lang.Object
org.odpi.openmetadata.accessservices.assetowner.rest.AssetOwnerOMASAPIRequestBody
org.odpi.openmetadata.accessservices.assetowner.rest.TemplateClassificationRequestBody

public class TemplateClassificationRequestBody extends AssetOwnerOMASAPIRequestBody
TemplateClassificationRequestBody carries the parameters for classifying an element as suitable to use for a template.
  • Constructor Details

    • TemplateClassificationRequestBody

      public TemplateClassificationRequestBody()
      Default constructor
    • TemplateClassificationRequestBody

      public TemplateClassificationRequestBody(TemplateClassificationRequestBody template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • 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
    • getVersionIdentifier

      public String getVersionIdentifier()
      Return the version identifier.
      Returns:
      string
    • setVersionIdentifier

      public void setVersionIdentifier(String versionIdentifier)
      Set up the version identifier.
      Parameters:
      versionIdentifier - string
    • 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:
      toString in class AssetOwnerOMASAPIRequestBody
      Returns:
      string value
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class Object
      Returns:
      int