Class MapSchemaType
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.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.MapSchemaType
MapSchemaType describes a schema element of type map. It stores the type of schema element for the domain
(eg property name) for the map and the schema element for the range (eg property value) for the map.
-
Field Summary
FieldsFields 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
Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
CURRENT_AUDIT_HEADER_VERSION
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorMapSchemaType
(MapSchemaType 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 type of schema element that represents the key or property name for the map.Return the type of schema element that represents the property value for the map.int
hashCode()
Hash of propertiesvoid
setMapFromElement
(SchemaType mapFromElement) Set up the type of schema element that represents the key or property name for the map.void
setMapToElement
(SchemaType mapToElement) Set up the type of schema element that represents the property value for the map.toString()
Standard toString method.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, setExtendedProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeader
getClassifications, getGUID, setClassifications, setGUID
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
getHeaderVersion, getOrigin, getStatus, getType, getVersions, setHeaderVersion, setOrigin, setStatus, setType, setVersions
-
Field Details
-
mapFromElement
-
mapToElement
-
-
Constructor Details
-
MapSchemaType
public MapSchemaType()Default constructor -
MapSchemaType
Copy/clone Constructor.- Parameters:
template
- template object to copy.
-
-
Method Details
-
getMapFromElement
Return the type of schema element that represents the key or property name for the map. This is also called the domain of the map.- Returns:
- SchemaElement
-
setMapFromElement
Set up the type of schema element that represents the key or property name for the map. This is also called the domain of the map.- Parameters:
mapFromElement
- SchemaElement
-
getMapToElement
Return the type of schema element that represents the property value for the map. This is also called the range of the map.- Returns:
- SchemaElement
-
setMapToElement
Set up the type of schema element that represents the property value for the map. This is also called the range of the map.- Parameters:
mapToElement
- SchemaType
-
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:
- SchemaType
-
toString
Standard toString method.- Overrides:
toString
in classSchemaType
- 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 classSchemaType
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Hash of properties- Overrides:
hashCode
in classSchemaType
- Returns:
- int
-