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
public class MediaReference extends Relationship
MediaReference is a relationship between a Referenceable and a RelatedMedia. Link to related media such as images, videos and audio.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.accessservices.subjectarea.properties.objects.graph.Relationship
end1, end2, name, relationshipType, serialVersionUID
-
-
Constructor Summary
Constructors Constructor Description MediaReference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Description of the relevance of this media to the linked item.StringgetMediaId()Local identifier for the media.voidsetDescription(String description)Set the description of the relationship.voidsetMediaId(String mediaId)StringtoString()StringBuildertoString(StringBuilder sb)-
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
-
-
-
-
Method Detail
-
getMediaId
public String getMediaId()
Local identifier for the media.- Returns:
String
-
setMediaId
public void setMediaId(String mediaId)
-
getDescription
public String getDescription()
Description of the relevance of this media to the linked item.- Returns:
String
-
setDescription
public void setDescription(String description)
Set the description of the relationship.- Parameters:
description-String
-
toString
public StringBuilder toString(StringBuilder sb)
- Overrides:
toStringin classRelationship
-
toString
public String toString()
- Overrides:
toStringin classRelationship
-
-