Class DataFieldQueryProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.FindProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.schema.DataFieldQueryProperties
DataFieldQueryProperties is used to provide the properties that can be used to extract an element by the data values classification.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy/clone constructor for an editing glossary classification. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return a regular expression that characterizes the data values stored in this data field.Return the default value typically assigned to these types of data fields.Return a regular expression that characterizes the name used for this type of data field.Return a list of sample values for the data field.int
hashCode()
Return hash code based on properties.void
setDataPattern
(List<String> dataPattern) Set up a regular expression that characterizes the data values stored in this data field.void
setDefaultValue
(String defaultValue) Set up the description (typically and overview of the revision) of the glossary.void
setNamePattern
(List<String> namePattern) Set up a regular expression that characterizes the name used for this type of data field.void
setSampleValues
(List<String> sampleValues) Set up a list of sample values for the data field.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.FindProperties
getAsOfTime, getEffectiveTime, getLimitResultsByStatus, getOpenMetadataTypeName, getSequencingOrder, getSequencingProperty, setAsOfTime, setEffectiveTime, setLimitResultsByStatus, setOpenMetadataTypeName, setSequencingOrder, setSequencingProperty
-
Constructor Details
-
DataFieldQueryProperties
public DataFieldQueryProperties()Default constructor -
DataFieldQueryProperties
Copy/clone constructor for an editing glossary classification.- Parameters:
template
- template object to copy.
-
-
Method Details
-
getDefaultValue
Return the default value typically assigned to these types of data fields.- Returns:
- string description
-
setDefaultValue
Set up the description (typically and overview of the revision) of the glossary.- Parameters:
defaultValue
- string description
-
getSampleValues
Return a list of sample values for the data field.- Returns:
- list of strings
-
setSampleValues
Set up a list of sample values for the data field.- Parameters:
sampleValues
- list of strings
-
getDataPattern
Return a regular expression that characterizes the data values stored in this data field.- Returns:
- string
-
setDataPattern
Set up a regular expression that characterizes the data values stored in this data field.- Parameters:
dataPattern
- string
-
getNamePattern
Return a regular expression that characterizes the name used for this type of data field.- Returns:
- string
-
setNamePattern
Set up a regular expression that characterizes the name used for this type of data field.- Parameters:
namePattern
- string
-
toString
Standard toString method.- Overrides:
toString
in classFindProperties
- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equals
in classFindProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classFindProperties
- Returns:
- int
-