Class ValidValueImplementation
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ValidValueImplementation
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ValidValueImplementationAsset,ValidValueImplementationDefinition
public class ValidValueImplementation extends PropertyBase
ValidValueImplementation contains the properties for a relationship between an asset and a valid value.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
-
Constructor Summary
Constructors Constructor Description ValidValueImplementation()Default constructorValidValueImplementation(ValidValueImplementation template)Copy clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.Map<String,String>getAdditionalValues()Return the additional values associated with the symbolic name.StringgetImplementationValue()Returns the implementation value for the valid value used in a particular system.StringgetSymbolicName()Returns the symbolic name for the valid value that is used to look up the implementation value.inthashCode()Return hash code for this objectvoidsetAdditionalValues(Map<String,String> additionalValues)Set up the additional values associated with the symbolic name.voidsetImplementationValue(String implementationValue)Set up the implementation value for the valid value used in a particular system.voidsetSymbolicName(String symbolicName)Set up the symbolic name for the valid value that is used to look up the implementation value.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
-
-
-
Constructor Detail
-
ValidValueImplementation
public ValidValueImplementation()
Default constructor
-
ValidValueImplementation
public ValidValueImplementation(ValidValueImplementation template)
Copy clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getSymbolicName
public String getSymbolicName()
Returns the symbolic name for the valid value that is used to look up the implementation value.- Returns:
- String name
-
setSymbolicName
public void setSymbolicName(String symbolicName)
Set up the symbolic name for the valid value that is used to look up the implementation value.- Parameters:
symbolicName- String name
-
getImplementationValue
public String getImplementationValue()
Returns the implementation value for the valid value used in a particular system.- Returns:
- String value
-
setImplementationValue
public void setImplementationValue(String implementationValue)
Set up the implementation value for the valid value used in a particular system.- Parameters:
implementationValue- String value
-
getAdditionalValues
public Map<String,String> getAdditionalValues()
Return the additional values associated with the symbolic name.- Returns:
- name-value pairs for additional values
-
setAdditionalValues
public void setAdditionalValues(Map<String,String> additionalValues)
Set up the additional values associated with the symbolic name.- Parameters:
additionalValues- name-value pairs for additional values
-
toString
public String toString()
JSON-style toString
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.- Overrides:
equalsin classPropertyBase- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classPropertyBase- Returns:
- int hash code
-
-