Class ValidValueImplAssetElement
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.digitalarchitecture.properties.RelationshipProperties
-
- org.odpi.openmetadata.accessservices.digitalarchitecture.properties.ValidValuesImplProperties
-
- org.odpi.openmetadata.accessservices.digitalarchitecture.metadataelements.ValidValueImplAssetElement
-
- All Implemented Interfaces:
Serializable
public class ValidValueImplAssetElement extends ValidValuesImplProperties implements Serializable
ValidValueImplAssetElement contains the properties and header for a reference data set linked to a valid value retrieved from the metadata repository.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ValidValueImplAssetElement()Default constructorValidValueImplAssetElement(ValidValueImplAssetElement 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.ReferenceDataAssetElementgetReferenceDataAsset()Returns the asset where the implementation of the valid value set is stored.List<Connection>getReferenceDataConnections()Return the list of connections assigned to the reference data asset.inthashCode()Return hash code for this objectvoidsetReferenceDataAsset(ReferenceDataAssetElement referenceDataAsset)Set up the asset where the implementation of the valid value set is stored.voidsetReferenceDataConnections(List<Connection> connections)Set up the list of connections assigned to the reference data asset.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.digitalarchitecture.properties.ValidValuesImplProperties
getAdditionalValues, getImplementationValue, getSymbolicName, setAdditionalValues, setImplementationValue, setSymbolicName
-
Methods inherited from class org.odpi.openmetadata.accessservices.digitalarchitecture.properties.RelationshipProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, setEffectiveFrom, setEffectiveTo, setExtendedProperties
-
-
-
-
Constructor Detail
-
ValidValueImplAssetElement
public ValidValueImplAssetElement()
Default constructor
-
ValidValueImplAssetElement
public ValidValueImplAssetElement(ValidValueImplAssetElement template)
Copy clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getReferenceDataAsset
public ReferenceDataAssetElement getReferenceDataAsset()
Returns the asset where the implementation of the valid value set is stored.- Returns:
- properties of the asset
-
setReferenceDataAsset
public void setReferenceDataAsset(ReferenceDataAssetElement referenceDataAsset)
Set up the asset where the implementation of the valid value set is stored.- Parameters:
referenceDataAsset- properties of the asset
-
getReferenceDataConnections
public List<Connection> getReferenceDataConnections()
Return the list of connections assigned to the reference data asset.- Returns:
- Connection object
-
setReferenceDataConnections
public void setReferenceDataConnections(List<Connection> connections)
Set up the list of connections assigned to the reference data asset.- Parameters:
connections- Connection object list
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classValidValuesImplProperties- Returns:
- return string containing the property names and values
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.- Overrides:
equalsin classValidValuesImplProperties- Parameters:
objectToCompare- test object- Returns:
- result of comparison
-
hashCode
public int hashCode()
Return hash code for this object- Overrides:
hashCodein classValidValuesImplProperties- Returns:
- int hash code
-
-