Class MapSchemaType
- 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.MapSchemaType
-
- All Implemented Interfaces:
Serializable
public class MapSchemaType extends SchemaType
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.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected SchemaTypemapFromElementprotected SchemaTypemapToElement-
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
description, displayName, expression, 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
Constructors Constructor Description MapSchemaType()Default constructorMapSchemaType(MapSchemaType 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.SchemaTypegetMapFromElement()Return the type of schema element that represents the key or property name for the map.SchemaTypegetMapToElement()Return the type of schema element that represents the property value for the map.inthashCode()Hash of propertiesvoidsetMapFromElement(SchemaType mapFromElement)Set up the type of schema element that represents the key or property name for the map.voidsetMapToElement(SchemaType mapToElement)Set up the type of schema element that represents the property value for the map.StringtoString()Standard toString method.-
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
getDescription, getDisplayName, getExpression, getIsDeprecated, isCalculatedValue, setCalculatedValue, setDescription, setDisplayName, setExpression, 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
-
-
-
-
Field Detail
-
mapFromElement
protected SchemaType mapFromElement
-
mapToElement
protected SchemaType mapToElement
-
-
Constructor Detail
-
MapSchemaType
public MapSchemaType()
Default constructor
-
MapSchemaType
public MapSchemaType(MapSchemaType template)
Copy/clone Constructor.- Parameters:
template- template object to copy.
-
-
Method Detail
-
getMapFromElement
public SchemaType 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
public void setMapFromElement(SchemaType mapFromElement)
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
public SchemaType 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
public void setMapToElement(SchemaType mapToElement)
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
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:
- SchemaType
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classSchemaType- 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 classSchemaType- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Hash of properties- Overrides:
hashCodein classSchemaType- Returns:
- int
-
-