Class ExternalReference
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.ExternalReference
- Direct Known Subclasses:
RelatedMediaReference
ExternalReference stores information about an link to an external resource that is relevant to this asset.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
CURRENT_AUDIT_HEADER_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorExternalReference(ExternalReference templateExternalReference) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the display name of this external reference.Return the description of the reference (with respect to this asset).Return the name of the organization that owns the resource that this external reference represents.Return the identifier given to this reference (with respect to this asset).Return the description of the resource that this external reference represents.getURI()Return the URI used to retrieve the resource that this external reference represents.Return the version of the resource that this external reference represents.inthashCode()Hash of propertiesvoidsetDisplayName(String displayName) Set up the display name of this external reference.voidsetLinkDescription(String linkDescription) Set up the description of the reference (with respect to the element this reference is linked to).voidsetOrganization(String organization) Set up the name of the organization that owns the resource that this external reference represents.voidsetReferenceId(String referenceId) Set up the identifier given to this reference (with respect to this asset).voidsetResourceDescription(String resourceDescription) Set up the description of the resource that this external reference represents.voidSet up the URI used to retrieve the resource that this external reference represents.voidsetVersion(String version) Set up the version of the resource that this external reference represents.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedNameMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
getExtendedProperties, setExtendedPropertiesMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementHeader
getClassifications, getGUID, setClassifications, setGUIDMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementControlHeader
getHeaderVersion, getOrigin, getStatus, getType, getVersions, setHeaderVersion, setOrigin, setStatus, setType, setVersions
-
Constructor Details
-
ExternalReference
public ExternalReference()Default constructor -
ExternalReference
Copy/clone constructor.- Parameters:
templateExternalReference- element to copy
-
-
Method Details
-
getReferenceId
Return the identifier given to this reference (with respect to this asset).- Returns:
- String referenceId
-
setReferenceId
Set up the identifier given to this reference (with respect to this asset).- Parameters:
referenceId- String identifier
-
getLinkDescription
Return the description of the reference (with respect to this asset).- Returns:
- String link description.
-
setLinkDescription
Set up the description of the reference (with respect to the element this reference is linked to).- Parameters:
linkDescription- String description
-
getDisplayName
Return the display name of this external reference.- Returns:
- String display name.
-
setDisplayName
Set up the display name of this external reference.- Parameters:
displayName- - string name
-
getURI
Return the URI used to retrieve the resource that this external reference represents.- Returns:
- String URI
-
setURI
Set up the URI used to retrieve the resource that this external reference represents.- Parameters:
uri- String URI
-
getResourceDescription
Return the description of the resource that this external reference represents.- Returns:
- String resource description
-
setResourceDescription
Set up the description of the resource that this external reference represents.- Parameters:
resourceDescription- String resource description
-
getVersion
Return the version of the resource that this external reference represents.- Returns:
- String version identifier
-
setVersion
Set up the version of the resource that this external reference represents.- Parameters:
version- String identifier
-
getOrganization
Return the name of the organization that owns the resource that this external reference represents.- Returns:
- String organization name
-
setOrganization
Set up the name of the organization that owns the resource that this external reference represents.- Parameters:
organization- String name
-
toString
Standard toString method.- Overrides:
toStringin classReferenceable- Returns:
- print out of variables in a JSON-style
-
equals
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classReferenceable- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Hash of properties- Overrides:
hashCodein classReferenceable- Returns:
- int
-