Class RelatedAsset
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.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
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RelatedAssetProperties
public class RelatedAsset extends Asset
RelatedAsset describes the relationship to other assets.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Asset
description, displayName, isReferenceData, name, origin, owner, ownerPropertyName, ownerType, ownerTypeName, shortDescription, versionIdentifier, zoneMembership
-
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, url
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
-
Constructor Summary
Constructors Constructor Description RelatedAsset()Default constructorRelatedAsset(RelatedAsset template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetAttributeName()Return the attribute name for the related asset.StringgetRelationshipName()Return the type of relationship to the asset.inthashCode()Return hash code based on properties.voidsetAttributeName(String attributeName)Set up the attribute name for the related asset.voidsetRelationshipName(String relationshipName)Set up the type of relationship to the asset.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Asset
getAssetOrigin, getDescription, getDisplayName, getName, getOwner, getOwnerPropertyName, getOwnerType, getOwnerTypeName, getShortDescription, getVersionIdentifier, getZoneMembership, isReferenceData, setAssetOrigin, setDescription, setDisplayName, setName, setOwner, setOwnerPropertyName, setOwnerType, setOwnerTypeName, setReferenceData, setShortDescription, setVersionIdentifier, setZoneMembership
-
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, getURL, setExtendedProperties, setURL
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
getClassifications, getGUID, setClassifications, setGUID
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
getOrigin, getStatus, getType, getVersions, setOrigin, setStatus, setType, setVersions
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
-
-
-
Constructor Detail
-
RelatedAsset
public RelatedAsset()
Default constructor
-
RelatedAsset
public RelatedAsset(RelatedAsset template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getRelationshipName
public String getRelationshipName()
Return the type of relationship to the asset.- Returns:
- type name string
-
setRelationshipName
public void setRelationshipName(String relationshipName)
Set up the type of relationship to the asset.- Parameters:
relationshipName- type name string
-
getAttributeName
public String getAttributeName()
Return the attribute name for the related asset.- Returns:
- string name
-
setAttributeName
public void setAttributeName(String attributeName)
Set up the attribute name for the related asset.- Parameters:
attributeName- string name
-
toString
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
-
-