Class ReplacementAttributeType

java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.controls.ReplacementAttributeType

public class ReplacementAttributeType extends Object
ReplacementAttributeType characterises one of the attribute values that should be provided when using a specific template. A replacement attribute value is ued to update the principle entity of a template.
  • Constructor Details

    • ReplacementAttributeType

      public ReplacementAttributeType()
      Default constructor
    • ReplacementAttributeType

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

    • getName

      public String getName()
      Return the string to use as the name of the replacement attribute.
      Returns:
      string name
    • setName

      public void setName(String name)
      Set up the string to use as the name of the replacement attribute.
      Parameters:
      name - string name
    • getDescription

      public String getDescription()
      Return the description of the replacement attribute.
      Returns:
      string
    • setDescription

      public void setDescription(String description)
      Set up the description of the replacement attribute.
      Parameters:
      description - string
    • getDataType

      public String getDataType()
      Return the data type name for the parameter value.
      Returns:
      data type
    • setDataType

      public void setDataType(String dataType)
      Set up data type name for the parameter value.
      Parameters:
      dataType - data type
    • getExample

      public String getExample()
      Return an example parameter value.
      Returns:
      string
    • setExample

      public void setExample(String example)
      Set up an example parameter value.
      Parameters:
      example - string
    • getRequired

      public boolean getRequired()
      Return whether this replacement attribute is required for this service to work successful.
      Returns:
      boolean flag
    • setRequired

      public void setRequired(boolean required)
      Set up whether this replacement attribute is required for this service to work successful.
      Parameters:
      required - boolean flag
    • getOtherPropertyValues

      public Map<String,String> getOtherPropertyValues()
      Return a map of attribute name to attribute value to provide additional information for this service.
      Returns:
      map of string to string
    • setOtherPropertyValues

      public void setOtherPropertyValues(Map<String,String> otherPropertyValues)
      Set up a map of attribute name to attribute value to provide additional information for this service.
      Parameters:
      otherPropertyValues - map of string to string
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class Object
      Returns:
      return string containing the attribute names and values
    • equals

      public boolean equals(Object objectToCompare)
      Return comparison result based on the content of the properties.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class Object
      Returns:
      int hash code