Class FindPropertyNamesProperties

java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.FindProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.FindPropertyNamesProperties

public class FindPropertyNamesProperties extends FindProperties
FindPropertyNamesProperties is the request body structure used on OMAG REST API calls that passes a property value and a list of names to match to.
  • Constructor Details

    • FindPropertyNamesProperties

      public FindPropertyNamesProperties()
      Default constructor
    • FindPropertyNamesProperties

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

    • getPropertyValue

      public String getPropertyValue()
      Return the name for the query request.
      Returns:
      string name
    • setPropertyValue

      public void setPropertyValue(String propertyValue)
      Set up the name for the query request.
      Parameters:
      propertyValue - string
    • getPropertyNames

      public List<String> getPropertyNames()
      Return the list of property names to match against.
      Returns:
      list of names
    • setPropertyNames

      public void setPropertyNames(List<String> propertyNames)
      Set up the list of property names to search for,
      Parameters:
      propertyNames - list of names
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class FindProperties
      Returns:
      print out of variables in a JSON-style
    • equals

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

      public int hashCode()
      Create a hash code for this element type.
      Overrides:
      hashCode in class FindProperties
      Returns:
      int hash code