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

public class GuardType extends Object
GuardType describes a guard. It is used in the connector provider of a governance service to help tools understand the operations of a service.
  • Constructor Details

    • GuardType

      public GuardType()
      Default constructor
    • GuardType

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

    • getGuard

      public String getGuard()
      Return the string to use as the guard.
      Returns:
      string name
    • setGuard

      public void setGuard(String guard)
      Set up the string to use as the guard.
      Parameters:
      guard - string name
    • getDescription

      public String getDescription()
      Return the description of the action target.
      Returns:
      string
    • setDescription

      public void setDescription(String description)
      Set up the description of the action target.
      Parameters:
      description - string
    • getCompletionStatus

      public CompletionStatus getCompletionStatus()
      Return the completion status typically used with this guard.
      Returns:
      name of an open metadata type
    • setCompletionStatus

      public void setCompletionStatus(CompletionStatus completionStatus)
      Set up the completion status typically used with this guard.
      Parameters:
      completionStatus - name of an open metadata type
    • getOtherPropertyValues

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

      public void setOtherPropertyValues(Map<String,String> otherPropertyValues)
      Set up a map of property name to property value to provide additional information for this governance 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 property 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