Class ExternalReferenceProperties
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.ReferenceableProperties
org.odpi.openmetadata.frameworks.openmetadata.properties.externalreferences.ExternalReferenceProperties
- Direct Known Subclasses:
ExternalGlossaryLinkProperties
ExternalReferenceProperties stores information about an link to an external resource that is relevant to this element.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/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 governance definition).Return the identifier given to this reference (with respect to this governance definition).Return the name of the organization that owns the resource that this external reference represents.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()Uses the guid to create a hashcode.voidsetDisplayName(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 governance definition this reference is linked to).voidsetLocalReferenceId(String localReferenceId) Set up the identifier given to this reference (with respect to this governance definition).voidsetOrganization(String organization) Set up the name of the organization that owns the resource that this external reference represents.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.openmetadata.properties.ReferenceableProperties
getAdditionalProperties, getQualifiedName, getVendorProperties, setAdditionalProperties, setQualifiedName, setVendorPropertiesMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.properties.OpenMetadataRootProperties
getEffectiveFrom, getEffectiveTo, getExtendedProperties, getTypeName, setEffectiveFrom, setEffectiveTo, setExtendedProperties, setTypeName
-
Constructor Details
-
ExternalReferenceProperties
public ExternalReferenceProperties()Default constructor -
ExternalReferenceProperties
Copy/clone constructor.- Parameters:
template- element to copy
-
-
Method Details
-
getLocalReferenceId
Return the identifier given to this reference (with respect to this governance definition).- Returns:
- localReferenceId
-
setLocalReferenceId
Set up the identifier given to this reference (with respect to this governance definition).- Parameters:
localReferenceId- String name
-
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
-
getLinkDescription
Return the description of the reference (with respect to this governance definition).- Returns:
- String link description.
-
setLinkDescription
Set up the description of the reference (with respect to the governance definition this reference is linked to).- Parameters:
linkDescription- String description
-
getResourceDescription
Return the description of the resource that this external reference represents.- Returns:
- String description
-
setResourceDescription
Set up the description of the resource that this external reference represents.- Parameters:
resourceDescription- String description
-
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
-
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 classReferenceableProperties- 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 classReferenceableProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()Uses the guid to create a hashcode.- Overrides:
hashCodein classReferenceableProperties- Returns:
- int hash code
-