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:
  • Constructor Details

    • MediaReference

      public MediaReference()
  • Method Details

    • 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:
      toString in class Relationship
    • toString

      public String toString()
      Overrides:
      toString in class Relationship