Class DataContractEnumValue
java.lang.Object
org.odpi.openmetadata.frameworks.integration.bitol.odcs.DataContractEnumValue
This class represents one allowed value in the enumeration of a schema property (ODCS v3.2.0, RFC 0033).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return links to the sources that define the value.Return the custom properties of the value, for example translations.Return the description of what the value represents.getId()Return the stable identifier of the value.getLabel()Return the human-readable label for the value.getTags()Return the tags attached to the value.getValue()Return the allowed value.inthashCode()Return hash code based on properties.voidsetAuthoritativeDefinitions(List<BitolAuthoritativeDefinition> authoritativeDefinitions) Set up links to the sources that define the value.voidsetCustomProperties(List<BitolCustomProperty> customProperties) Set up the custom properties of the value, for example translations.voidsetDescription(String description) Set up the description of what the value represents.voidSet up the stable identifier of the value.voidSet up the human-readable label for the value.voidSet up the tags attached to the value.voidSet up the allowed value.toString()Standard toString method.
-
Constructor Details
-
DataContractEnumValue
public DataContractEnumValue()Default constructor
-
-
Method Details
-
getValue
Return the allowed value.- Returns:
- Object
-
setValue
Set up the allowed value.- Parameters:
value- Object
-
getLabel
Return the human-readable label for the value.- Returns:
- String
-
setLabel
Set up the human-readable label for the value.- Parameters:
label- String
-
getId
Return the stable identifier of the value.- Returns:
- String
-
setId
Set up the stable identifier of the value.- Parameters:
id- String
-
getDescription
Return the description of what the value represents.- Returns:
- String
-
setDescription
Set up the description of what the value represents.- Parameters:
description- String
-
getTags
Return the tags attached to the value.- Returns:
- List
-
setTags
Set up the tags attached to the value.- Parameters:
tags- List
-
getCustomProperties
Return the custom properties of the value, for example translations.- Returns:
- List
-
setCustomProperties
Set up the custom properties of the value, for example translations.- Parameters:
customProperties- List
-
getAuthoritativeDefinitions
Return links to the sources that define the value.- Returns:
- List
-
setAuthoritativeDefinitions
public void setAuthoritativeDefinitions(List<BitolAuthoritativeDefinition> authoritativeDefinitions) Set up links to the sources that define the value.- Parameters:
authoritativeDefinitions- List
-
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.
-