Class EnumSchemaType
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernedReferenceable
org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaElement
org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaType
org.odpi.openmetadata.frameworks.connectors.properties.beans.SimpleSchemaType
org.odpi.openmetadata.frameworks.connectors.properties.beans.EnumSchemaType
- All Implemented Interfaces:
Serializable
EnumSchemaType describes a schema element that has a a fixed set of values.
- See Also:
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.SimpleSchemaType
dataType, defaultValue
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaType
author, encodingStandard, formula, formulaType, namespace, queries, usage, versionNumber
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaElement
description, displayName, expression, expressionType, isCalculatedValue, isDeprecated
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernedReferenceable
meanings, searchKeywords
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
additionalProperties, qualifiedName
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
extendedProperties, url
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor used by subclassesEnumSchemaType
(EnumSchemaType template) Copy/clone Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns a clone of this object as the abstract SchemaElement class.Returns a clone of this object as the abstract SchemaType class.boolean
Compare the values of the supplied object with those stored in the current object.Return the unique identifier of the valid value set that lists the valid values of this enumeration.int
hashCode()
Hash of propertiesvoid
setValidValueSetGUID
(String validValueSetGUID) Set up the unique identifier of the valid value set that lists the valid values of this enumeration.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.SimpleSchemaType
getDataType, getDefaultValue, setDataType, setDefaultValue
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaType
getAuthor, getEncodingStandard, getFormula, getFormulaType, getNamespace, getQueries, getUsage, getVersionNumber, setAuthor, setEncodingStandard, setFormula, setFormulaType, setNamespace, setQueries, setUsage, setVersionNumber
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaElement
getDescription, getDisplayName, getExpression, getExpressionType, getIsCalculatedValue, getIsDeprecated, setDescription, setDisplayName, setExpression, setExpressionType, setIsCalculatedValue, setIsDeprecated
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernedReferenceable
getMeanings, getSearchKeywords, setMeanings, setSearchKeywords
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedName
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
getExtendedProperties, getURL, setExtendedProperties, setURL
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
getClassifications, getGUID, setClassifications, setGUID
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
getOrigin, getStatus, getType, getVersions, setOrigin, setStatus, setType, setVersions
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
Constructor Details
-
EnumSchemaType
public EnumSchemaType()Default constructor used by subclasses -
EnumSchemaType
Copy/clone Constructor.- Parameters:
template
- template object to copy.
-
-
Method Details
-
getValidValueSetGUID
Return the unique identifier of the valid value set that lists the valid values of this enumeration.- Returns:
- string guid
-
setValidValueSetGUID
Set up the unique identifier of the valid value set that lists the valid values of this enumeration.- Parameters:
validValueSetGUID
- string guid
-
cloneSchemaElement
Returns a clone of this object as the abstract SchemaElement class.- Overrides:
cloneSchemaElement
in classSchemaType
- Returns:
- SchemaElement
-
cloneSchemaType
Returns a clone of this object as the abstract SchemaType class.- Overrides:
cloneSchemaType
in classSchemaType
- Returns:
- PrimitiveSchemaType object
-
toString
Standard toString method.- Overrides:
toString
in classSimpleSchemaType
- 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 classSimpleSchemaType
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Hash of properties- Overrides:
hashCode
in classSimpleSchemaType
- Returns:
- int
-