Class MapSchemaTypeProperties
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.properties.ReferenceableProperties
org.odpi.openmetadata.accessservices.assetmanager.properties.SchemaProperties
org.odpi.openmetadata.accessservices.assetmanager.properties.SchemaTypeProperties
org.odpi.openmetadata.accessservices.assetmanager.properties.MapSchemaTypeProperties
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.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone Constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare 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.inthashCode()Return hash code for this objectvoidsetMapFromElement(SchemaTypeProperties mapFromElement) Set up the type of schema element that represents the key or property name for the map.voidsetMapToElement(SchemaTypeProperties 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.accessservices.assetmanager.properties.SchemaTypeProperties
getAuthor, getEncodingStandard, getFormula, getFormulaType, getNamespace, getQueries, getUsage, getVersionNumber, setAuthor, setEncodingStandard, setFormula, setFormulaType, setNamespace, setQueries, setUsage, setVersionNumberMethods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.SchemaProperties
getDescription, getDisplayName, getIsDeprecated, setDescription, setDisplayName, setIsDeprecatedMethods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.ReferenceableProperties
getAdditionalProperties, getEffectiveFrom, getEffectiveTo, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setQualifiedName, setTypeName, setVendorProperties
-
Constructor Details
-
MapSchemaTypeProperties
public MapSchemaTypeProperties()Default constructor -
MapSchemaTypeProperties
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
-
toString
Standard toString method.- Overrides:
toStringin classSchemaTypeProperties- 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:
equalsin classSchemaTypeProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCodein classSchemaTypeProperties- Returns:
- int hash code
-