Class DataFieldQueryProperties

java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.properties.FindProperties
org.odpi.openmetadata.accessservices.assetmanager.properties.DataFieldQueryProperties

public class DataFieldQueryProperties extends FindProperties
DataFieldQueryProperties is used to provide the properties that can be used to extract an element by the data values classification.
  • Constructor Details

    • DataFieldQueryProperties

      public DataFieldQueryProperties()
      Default constructor
    • DataFieldQueryProperties

      public DataFieldQueryProperties(DataFieldQueryProperties template)
      Copy/clone constructor for an editing glossary classification.
      Parameters:
      template - template object to copy.
  • Method Details

    • getDefaultValue

      public String getDefaultValue()
      Return the default value typically assigned to these types of data fields.
      Returns:
      string description
    • setDefaultValue

      public void setDefaultValue(String defaultValue)
      Set up the description (typically and overview of the revision) of the glossary.
      Parameters:
      defaultValue - string description
    • getSampleValues

      public List<String> getSampleValues()
      Return a list of sample values for the data field.
      Returns:
      list of strings
    • setSampleValues

      public void setSampleValues(List<String> sampleValues)
      Set up a list of sample values for the data field.
      Parameters:
      sampleValues - list of strings
    • getDataPattern

      public List<String> getDataPattern()
      Return a regular expression that characterizes the data values stored in this data field.
      Returns:
      string
    • setDataPattern

      public void setDataPattern(List<String> dataPattern)
      Set up a regular expression that characterizes the data values stored in this data field.
      Parameters:
      dataPattern - string
    • getNamePattern

      public List<String> getNamePattern()
      Return a regular expression that characterizes the name used for this type of data field.
      Returns:
      string
    • setNamePattern

      public void setNamePattern(List<String> namePattern)
      Set up a regular expression that characterizes the name used for this type of data field.
      Parameters:
      namePattern - string
    • 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 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