Class EnumSchemaType
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
-
- 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
public class EnumSchemaType extends SimpleSchemaType
EnumSchemaType describes a schema element that has a a fixed set of values.- See Also:
- Serialized Form
-
-
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, namespace, queries, usage, versionNumber
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaElement
anchorGUID, description, displayName, expression, isCalculatedValue, isDeprecated
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
additionalProperties, confidenceGovernanceClassification, confidentialityGovernanceClassification, criticalityGovernanceClassification, latestChange, latestChangeDetails, meanings, qualifiedName, retentionGovernanceClassification, searchKeywords, securityTags
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
classifications, extendedProperties, guid, type, url
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
-
Constructor Summary
Constructors Constructor Description EnumSchemaType()Default constructor used by subclassesEnumSchemaType(EnumSchemaType template)Copy/clone Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SchemaElementcloneSchemaElement()Returns a clone of this object as the abstract SchemaElement class.SchemaTypecloneSchemaType()Returns a clone of this object as the abstract SchemaType class.booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetValidValueSetGUID()Return the unique identifier of the valid value set that lists the valid values of this enumeration.inthashCode()Hash of propertiesvoidsetValidValueSetGUID(String validValueSetGUID)Set up the unique identifier of the valid value set that lists the valid values of this enumeration.StringtoString()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, getNamespace, getQueries, getUsage, getVersionNumber, setAuthor, setEncodingStandard, setFormula, setNamespace, setQueries, setUsage, setVersionNumber
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.SchemaElement
getAnchorGUID, getDescription, getDisplayName, getExpression, getIsDeprecated, isCalculatedValue, setAnchorGUID, setCalculatedValue, setDescription, setDisplayName, setExpression, setIsDeprecated
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
getAdditionalProperties, getConfidenceGovernanceClassification, getConfidentialityGovernanceClassification, getCriticalityGovernanceClassification, getLatestChange, getLatestChangeDetails, getMeanings, getQualifiedName, getRetentionGovernanceClassification, getSearchKeywords, getSecurityTags, setAdditionalProperties, setConfidenceGovernanceClassification, setConfidentialityGovernanceClassification, setCriticalityGovernanceClassification, setLatestChange, setLatestChangeDetails, setMeanings, setQualifiedName, setRetentionGovernanceClassification, setSearchKeywords, setSecurityTags
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
getClassifications, getExtendedProperties, getGUID, getType, getURL, setClassifications, setExtendedProperties, setGUID, setType, setURL
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
-
-
-
Constructor Detail
-
EnumSchemaType
public EnumSchemaType()
Default constructor used by subclasses
-
EnumSchemaType
public EnumSchemaType(EnumSchemaType template)
Copy/clone Constructor.- Parameters:
template- template object to copy.
-
-
Method Detail
-
getValidValueSetGUID
public String getValidValueSetGUID()
Return the unique identifier of the valid value set that lists the valid values of this enumeration.- Returns:
- string guid
-
setValidValueSetGUID
public void setValidValueSetGUID(String validValueSetGUID)
Set up the unique identifier of the valid value set that lists the valid values of this enumeration.- Parameters:
validValueSetGUID- string guid
-
cloneSchemaElement
public SchemaElement cloneSchemaElement()
Returns a clone of this object as the abstract SchemaElement class.- Overrides:
cloneSchemaElementin classSchemaType- Returns:
- SchemaElement
-
cloneSchemaType
public SchemaType cloneSchemaType()
Returns a clone of this object as the abstract SchemaType class.- Overrides:
cloneSchemaTypein classSchemaType- Returns:
- PrimitiveSchemaType object
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classSimpleSchemaType- 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:
equalsin classSimpleSchemaType- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Hash of properties- Overrides:
hashCodein classSimpleSchemaType- Returns:
- int
-
-