Class DataFieldValuesProperties
java.lang.Object
org.odpi.openmetadata.accessservices.assetowner.properties.ClassificationProperties
org.odpi.openmetadata.accessservices.assetowner.properties.DataFieldValuesProperties
DataFieldValuesProperties is used to provide the characterizations of the data values stored in a data field
described by the attached element.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault 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.accessservices.assetowner.properties.ClassificationProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
DataFieldValuesProperties
public DataFieldValuesProperties()Default constructor -
DataFieldValuesProperties
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 classClassificationProperties
- 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 classClassificationProperties
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code based on properties.- Overrides:
hashCode
in classClassificationProperties
- Returns:
- int
-