Class ValidValueImplAssetElement
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.validvalues.ValidValuesImplProperties
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ValidValueImplAssetElement
ValidValueImplAssetElement contains the properties and header for a reference data set linked to a valid value retrieved from the metadata repository.
-
Constructor Summary
ConstructorDescriptionDefault constructorCopy clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Returns the asset where the implementation of the valid value set is stored.Return the list of connections assigned to the reference data asset.int
hashCode()
Return hash code for this objectvoid
setReferenceDataAsset
(AssetElement referenceDataAsset) Set up the asset where the implementation of the valid value set is stored.void
setReferenceDataConnections
(List<ConnectionElement> connections) Set up the list of connections assigned to the reference data asset.toString()
JSON-style toStringMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.validvalues.ValidValuesImplProperties
getAdditionalValues, getImplementationValue, getSymbolicName, setAdditionalValues, setImplementationValue, setSymbolicName
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
Constructor Details
-
ValidValueImplAssetElement
public ValidValueImplAssetElement()Default constructor -
ValidValueImplAssetElement
Copy clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getReferenceDataAsset
Returns the asset where the implementation of the valid value set is stored.- Returns:
- properties of the asset
-
setReferenceDataAsset
Set up the asset where the implementation of the valid value set is stored.- Parameters:
referenceDataAsset
- properties of the asset
-
getReferenceDataConnections
Return the list of connections assigned to the reference data asset.- Returns:
- Connection object
-
setReferenceDataConnections
Set up the list of connections assigned to the reference data asset.- Parameters:
connections
- Connection object list
-
toString
JSON-style toString- Overrides:
toString
in classValidValuesImplProperties
- Returns:
- return string containing the property names and values
-
equals
Return comparison result based on the content of the properties.- Overrides:
equals
in classValidValuesImplProperties
- Parameters:
objectToCompare
- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()Return hash code for this object- Overrides:
hashCode
in classValidValuesImplProperties
- Returns:
- int hash code
-