Class RelatedAsset
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeader
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernedReferenceable
org.odpi.openmetadata.frameworks.connectors.properties.beans.Asset
org.odpi.openmetadata.frameworks.connectors.properties.beans.RelatedAsset
- Direct Known Subclasses:
RelatedAssetProperties
RelatedAsset describes the relationship to other assets.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Asset
abbreviation, deployedImplementationType, displayDescription, displayName, displaySummary, resourceDescription, resourceName, usage, versionIdentifier
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernedReferenceable
meanings, searchKeywords
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
additionalProperties, qualifiedName
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
extendedProperties
Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
CURRENT_AUDIT_HEADER_VERSION
-
Constructor Summary
ConstructorDescriptionDefault constructorRelatedAsset
(RelatedAsset template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the attribute name for the related asset.Return the type of relationship to the asset.int
hashCode()
Return hash code based on properties.void
setAttributeName
(String attributeName) Set up the attribute name for the related asset.void
setRelationshipName
(String relationshipName) Set up the type of relationship to the asset.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Asset
getAbbreviation, getDeployedImplementationType, getDisplayDescription, getDisplayName, getDisplaySummary, getResourceDescription, getResourceName, getUsage, getVersionIdentifier, setAbbreviation, setDeployedImplementationType, setDisplayDescription, setDisplayName, setDisplaySummary, setResourceDescription, setResourceName, setUsage, setVersionIdentifier
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.GovernedReferenceable
getMeanings, getSearchKeywords, setMeanings, setSearchKeywords
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedName
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
getExtendedProperties, setExtendedProperties
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeader
getClassifications, getGUID, setClassifications, setGUID
Methods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
getHeaderVersion, getOrigin, getStatus, getType, getVersions, setHeaderVersion, setOrigin, setStatus, setType, setVersions
-
Constructor Details
-
RelatedAsset
public RelatedAsset()Default constructor -
RelatedAsset
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getRelationshipName
Return the type of relationship to the asset.- Returns:
- type name string
-
setRelationshipName
Set up the type of relationship to the asset.- Parameters:
relationshipName
- type name string
-
getAttributeName
Return the attribute name for the related asset.- Returns:
- string name
-
setAttributeName
Set up the attribute name for the related asset.- Parameters:
attributeName
- string name
-
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.
-