Class DataContractSchemaMap
java.lang.Object
org.odpi.openmetadata.frameworks.integration.bitol.odcs.DataContractSchemaMap
This class describes the key and value of a schema property whose logical type is map (ODCS v3.2.0, RFC 0030). Both the key and the value follow the standard property shape.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.getKey()Return the definition of the map key.getValue()Return the definition of the map value.inthashCode()Return hash code based on properties.voidSet up the definition of the map key.voidSet up the definition of the map value.toString()Standard toString method.
-
Constructor Details
-
DataContractSchemaMap
public DataContractSchemaMap()Default constructor
-
-
Method Details
-
getKey
Return the definition of the map key.- Returns:
- DataContractSchemaProperty
-
setKey
Set up the definition of the map key.- Parameters:
key- DataContractSchemaProperty
-
getValue
Return the definition of the map value.- Returns:
- DataContractSchemaProperty
-
setValue
Set up the definition of the map value.- Parameters:
value- DataContractSchemaProperty
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Return hash code based on properties.
-