Class ExternalReferenceProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.communityprofile.properties.ExternalReferenceProperties
-
- All Implemented Interfaces:
Serializable
public class ExternalReferenceProperties extends Object implements Serializable
ExternalReferenceProperties stores information about an link to an external resource that is relevant to a personal profile or a community.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExternalReferenceProperties()Default constructorExternalReferenceProperties(ExternalReferenceProperties 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.Map<String,String>getAdditionalProperties()Return any additional properties associated with the element.Map<String,Object>getExtendedProperties()Return any properties associated with the subclass of this element.StringgetLinkDescription()Return the description of the reference (with respect to the element that this reference is linked to).StringgetLinkId()Return the identifier given to this reference (with respect to this element).StringgetOwningOrganization()Return the name of the organization that owns the resource that this external reference represents.StringgetResourceDescription()Return the description of the resource that this external reference represents.StringgetResourceDisplayName()Return the display name of this external reference.StringgetResourceId()Return the fully qualified name.StringgetResourceURL()Return the URL used to retrieve the resource that this external reference represents.StringgetResourceVersion()Return the version of the resource that this external reference represents.StringgetTypeName()Return the type name of the external reference = null for default.inthashCode()Uses the guid to create a hashcode.voidsetAdditionalProperties(Map<String,String> additionalProperties)Set up any additional properties associated with the element.voidsetExtendedProperties(Map<String,Object> additionalProperties)Set up any additional properties associated with the element.voidsetLinkDescription(String linkDescription)Set up the description of the reference (with respect to the element that this reference is linked to).voidsetLinkId(String linkId)Set up the identifier given to this reference (with respect to this element).voidsetOwningOrganization(String owningOrganization)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.voidsetResourceDisplayName(String name)Set up the display name of this external reference.voidsetResourceId(String resourceId)Set up the fully qualified name.voidsetResourceURL(String url)Set up the URL used to retrieve the resource that this external reference represents.voidsetResourceVersion(String version)Set up the version of the resource that this external reference represents.voidsetTypeName(String typeName)Set up the type name of the external reference = null for default.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
ExternalReferenceProperties
public ExternalReferenceProperties()
Default constructor
-
ExternalReferenceProperties
public ExternalReferenceProperties(ExternalReferenceProperties template)
Copy/clone constructor.- Parameters:
template- element to copy
-
-
Method Detail
-
getLinkId
public String getLinkId()
Return the identifier given to this reference (with respect to this element).- Returns:
- linkId
-
setLinkId
public void setLinkId(String linkId)
Set up the identifier given to this reference (with respect to this element).- Parameters:
linkId- String name
-
getLinkDescription
public String getLinkDescription()
Return the description of the reference (with respect to the element that this reference is linked to).- Returns:
- String link description.
-
setLinkDescription
public void setLinkDescription(String linkDescription)
Set up the description of the reference (with respect to the element that this reference is linked to).- Parameters:
linkDescription- String description
-
getResourceId
public String getResourceId()
Return the fully qualified name.- Returns:
- String resourceId
-
setResourceId
public void setResourceId(String resourceId)
Set up the fully qualified name.- Parameters:
resourceId- String identifier
-
getResourceDisplayName
public String getResourceDisplayName()
Return the display name of this external reference.- Returns:
- String display name.
-
setResourceDisplayName
public void setResourceDisplayName(String name)
Set up the display name of this external reference.- Parameters:
name- - string name
-
getResourceDescription
public String getResourceDescription()
Return the description of the resource that this external reference represents.- Returns:
- String description
-
setResourceDescription
public void setResourceDescription(String resourceDescription)
Set up the description of the resource that this external reference represents.- Parameters:
resourceDescription- String description
-
getResourceURL
public String getResourceURL()
Return the URL used to retrieve the resource that this external reference represents.- Returns:
- String URL
-
setResourceURL
public void setResourceURL(String url)
Set up the URL used to retrieve the resource that this external reference represents.- Parameters:
url- String URL
-
getResourceVersion
public String getResourceVersion()
Return the version of the resource that this external reference represents.- Returns:
- String version identifier
-
setResourceVersion
public void setResourceVersion(String version)
Set up the version of the resource that this external reference represents.- Parameters:
version- String identifier
-
getOwningOrganization
public String getOwningOrganization()
Return the name of the organization that owns the resource that this external reference represents.- Returns:
- String organization name
-
setOwningOrganization
public void setOwningOrganization(String owningOrganization)
Set up the name of the organization that owns the resource that this external reference represents.- Parameters:
owningOrganization- String name
-
getTypeName
public String getTypeName()
Return the type name of the external reference = null for default.- Returns:
- string name
-
setTypeName
public void setTypeName(String typeName)
Set up the type name of the external reference = null for default.- Parameters:
typeName- string name
-
getExtendedProperties
public Map<String,Object> getExtendedProperties()
Return any properties associated with the subclass of this element.- Returns:
- map of property names to property values
-
setExtendedProperties
public void setExtendedProperties(Map<String,Object> additionalProperties)
Set up any additional properties associated with the element.- Parameters:
additionalProperties- map of property names to property values
-
getAdditionalProperties
public Map<String,String> getAdditionalProperties()
Return any additional properties associated with the element.- Returns:
- map of property names to property values
-
setAdditionalProperties
public void setAdditionalProperties(Map<String,String> additionalProperties)
Set up any additional properties associated with the element.- Parameters:
additionalProperties- map of property names to property values
-
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.
-
-