Class MediaReference
java.lang.Object
org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Relationship
org.odpi.openmetadata.accessservices.subjectarea.properties.relationships.MediaReference
- All Implemented Interfaces:
Serializable
,OmasObject
MediaReference is a relationship between a Referenceable and a RelatedMedia.
Link to related media such as images, videos and audio.
- See Also:
-
Field Summary
Fields inherited from class org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Relationship
end1, end2, name, relationshipType, serialVersionUID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDescription of the relevance of this media to the linked item.Local identifier for the media.void
setDescription
(String description) Set the description of the relationship.void
setMediaId
(String mediaId) toString()
Methods inherited from class org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Relationship
getAdditionalProperties, getEffectiveFromTime, getEffectiveToTime, getEnd1, getEnd2, getGuid, getName, getRelationshipType, getSystemAttributes, initialise, isReadOnly, setAdditionalProperties, setEffectiveFromTime, setEffectiveToTime, setEnd1, setEnd2, setGuid, setReadOnly, setRelationshipType, setSystemAttributes
-
Constructor Details
-
MediaReference
public MediaReference()
-
-
Method Details
-
getMediaId
Local identifier for the media.- Returns:
String
-
setMediaId
-
getDescription
Description of the relevance of this media to the linked item.- Returns:
String
-
setDescription
Set the description of the relationship.- Parameters:
description
-String
-
toString
- Overrides:
toString
in classRelationship
-
toString
- Overrides:
toString
in classRelationship
-