Class ExternalReferenceProperties
java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.properties.ExternalReferenceProperties
- All Implemented Interfaces:
Serializable
ExternalReferenceProperties stores information about an link to an external resource that is relevant to a personal
profile or a community.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return any additional properties associated with the element.Return any properties associated with the subclass of this element.Return the description of the reference (with respect to the element that this reference is linked to).Return the identifier given to this reference (with respect to this element).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.Return the display name of this external reference.Return the fully qualified name.Return the URL used to retrieve the resource that this external reference represents.Return the version of the resource that this external reference represents.Return the type name of the external reference = null for default.int
hashCode()
Uses the guid to create a hashcode.void
setAdditionalProperties
(Map<String, String> additionalProperties) Set up any additional properties associated with the element.void
setExtendedProperties
(Map<String, Object> additionalProperties) Set up any additional properties associated with the element.void
setLinkDescription
(String linkDescription) Set up the description of the reference (with respect to the element that this reference is linked to).void
Set up the identifier given to this reference (with respect to this element).void
setOwningOrganization
(String owningOrganization) Set up the name of the organization that owns the resource that this external reference represents.void
setResourceDescription
(String resourceDescription) Set up the description of the resource that this external reference represents.void
setResourceDisplayName
(String name) Set up the display name of this external reference.void
setResourceId
(String resourceId) Set up the fully qualified name.void
setResourceURL
(String url) Set up the URL used to retrieve the resource that this external reference represents.void
setResourceVersion
(String version) Set up the version of the resource that this external reference represents.void
setTypeName
(String typeName) Set up the type name of the external reference = null for default.toString()
Standard toString method.
-
Constructor Details
-
ExternalReferenceProperties
public ExternalReferenceProperties()Default constructor -
ExternalReferenceProperties
Copy/clone constructor.- Parameters:
template
- element to copy
-
-
Method Details
-
getLinkId
Return the identifier given to this reference (with respect to this element).- Returns:
- linkId
-
setLinkId
Set up the identifier given to this reference (with respect to this element).- Parameters:
linkId
- String name
-
getLinkDescription
Return the description of the reference (with respect to the element that this reference is linked to).- Returns:
- String link description.
-
setLinkDescription
Set up the description of the reference (with respect to the element that this reference is linked to).- Parameters:
linkDescription
- String description
-
getResourceId
Return the fully qualified name.- Returns:
- String resourceId
-
setResourceId
Set up the fully qualified name.- Parameters:
resourceId
- String identifier
-
getResourceDisplayName
Return the display name of this external reference.- Returns:
- String display name.
-
setResourceDisplayName
Set up the display name of this external reference.- Parameters:
name
- - string name
-
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
-
getResourceURL
Return the URL used to retrieve the resource that this external reference represents.- Returns:
- String URL
-
setResourceURL
Set up the URL used to retrieve the resource that this external reference represents.- Parameters:
url
- String URL
-
getResourceVersion
Return the version of the resource that this external reference represents.- Returns:
- String version identifier
-
setResourceVersion
Set up the version of the resource that this external reference represents.- Parameters:
version
- String identifier
-
getOwningOrganization
Return the name of the organization that owns the resource that this external reference represents.- Returns:
- String organization name
-
setOwningOrganization
Set up the name of the organization that owns the resource that this external reference represents.- Parameters:
owningOrganization
- String name
-
getTypeName
Return the type name of the external reference = null for default.- Returns:
- string name
-
setTypeName
Set up the type name of the external reference = null for default.- Parameters:
typeName
- string name
-
getExtendedProperties
Return any properties associated with the subclass of this element.- Returns:
- map of property names to property values
-
setExtendedProperties
Set up any additional properties associated with the element.- Parameters:
additionalProperties
- map of property names to property values
-
getAdditionalProperties
Return any additional properties associated with the element.- Returns:
- map of property names to property values
-
setAdditionalProperties
Set up any additional properties associated with the element.- Parameters:
additionalProperties
- map of property names to property values
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Uses the guid to create a hashcode.
-