Class MapSchemaTypeProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetmanager.properties.ReferenceableProperties
-
- org.odpi.openmetadata.accessservices.assetmanager.properties.SupplementaryProperties
-
- org.odpi.openmetadata.accessservices.assetmanager.properties.SchemaProperties
-
- org.odpi.openmetadata.accessservices.assetmanager.properties.SchemaTypeProperties
-
- org.odpi.openmetadata.accessservices.assetmanager.properties.MapSchemaTypeProperties
-
- All Implemented Interfaces:
Serializable
public class MapSchemaTypeProperties extends SchemaTypeProperties
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
-
-
Constructor Summary
Constructors Constructor Description MapSchemaTypeProperties()Default constructorMapSchemaTypeProperties(MapSchemaTypeProperties template)Copy/clone Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.SchemaTypePropertiesgetMapFromElement()Return the type of schema element that represents the key or property name for the map.SchemaTypePropertiesgetMapToElement()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.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.SchemaTypeProperties
getAuthor, getEncodingStandard, getFormula, getNamespace, getQueries, getVersionNumber, setAuthor, setEncodingStandard, setFormula, setNamespace, setQueries, setVersionNumber
-
Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.SchemaProperties
getIsDeprecated, getTechnicalDescription, getTechnicalName, setIsDeprecated, setTechnicalDescription, setTechnicalName
-
Methods inherited from class org.odpi.openmetadata.accessservices.assetmanager.properties.SupplementaryProperties
getAbbreviation, getDescription, getDisplayName, getSummary, getUsage, setAbbreviation, setDescription, setDisplayName, setSummary, setUsage
-
Methods 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 Detail
-
MapSchemaTypeProperties
public MapSchemaTypeProperties()
Default constructor
-
MapSchemaTypeProperties
public MapSchemaTypeProperties(MapSchemaTypeProperties template)
Copy/clone Constructor.- Parameters:
template- template object to copy.
-
-
Method Detail
-
getMapFromElement
public SchemaTypeProperties 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(SchemaTypeProperties 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 SchemaTypeProperties 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(SchemaTypeProperties 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
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classSchemaTypeProperties- 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 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
-
-