Class DataFieldValuesProperties

java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.properties.ClassificationProperties
org.odpi.openmetadata.accessservices.assetmanager.properties.DataFieldValuesProperties

public class DataFieldValuesProperties extends ClassificationProperties
DataFieldValuesProperties is used to provide the characterizations of the data values stored in a data field described by the attached element.
  • Constructor Details

    • DataFieldValuesProperties

      public DataFieldValuesProperties()
      Default constructor
    • DataFieldValuesProperties

      public DataFieldValuesProperties(DataFieldValuesProperties 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 ClassificationProperties
      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 ClassificationProperties
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

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