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
Modifier and TypeFieldDescriptionprotected String
protected String
protected String
protected String
protected String
protected String
protected String
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 constructorExternalReference
(ExternalReference templateExternalReference) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare 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.int
hashCode()
Hash of propertiesvoid
setDisplayName
(String displayName) Set up the display name of this external reference.void
setLinkDescription
(String linkDescription) Set up the description of the reference (with respect to the element this reference is linked to).void
setOrganization
(String organization) Set up the name of the organization that owns the resource that this external reference represents.void
setReferenceId
(String referenceId) Set up the identifier given to this reference (with respect to this asset).void
setResourceDescription
(String resourceDescription) Set up the description of the resource that this external reference represents.void
Set up the URI used to retrieve the resource that this external reference represents.void
setVersion
(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, 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
-
Field Details
-
referenceId
-
linkDescription
-
displayName
-
uri
-
resourceDescription
-
version
-
organization
-
-
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:
toString
in 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:
equals
in classReferenceable
- Parameters:
objectToCompare
- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Hash of properties- Overrides:
hashCode
in classReferenceable
- Returns:
- int
-