@MediaClass(uuid1=218169601, uuid2=257, uuid3=2048, uuid4={6,14,43,52,2,6,1,1}, definedName="CommentMarker", description="The CommentMarker class specifies a user comment that is associated with a point in time.", symbol="CommentMarker") public class CommentMarkerImpl extends EventImpl implements CommentMarker, Serializable, Cloneable
Implements a user comment associated with a point in time. A comment marker may have a source reference that specifies a text or audio annotation.
ObjectClassPropertyID| Constructor and Description |
|---|
CommentMarkerImpl()
Default constructor is not public to avoid unset required fields.
|
CommentMarkerImpl(DataDefinition dataDefinition)
Creates and initializes a commment marker for the given kind of essence data, which
specifies a user comment that is associated with a point in time.
|
| Modifier and Type | Method and Description |
|---|---|
CommentMarker |
clone()
Create a cloned copy of this interchange object.
|
SourceReferenceSegment |
getAnnotationSource()
Returns the annotation for this comment marker, which specifies a text or
audio annotation.
|
void |
setAnnotation(SourceReferenceSegment annotationSource)
Sets the annotation marker for this comment marker, which specifies a text
or audio annotation.
|
getEventComment, getEventPosition, getPositionPresent, initializeEventPosition, setEventComment, setEventPosition, setPositionPresentgenerateSequence, getCutPoint, getKeyOffset, getPackLayerKeyIndicator, getSegmentBlob, getTrackBlob, getTrackKeyRenderSequence, getTrackName, getTrackRenderSequence, segmentOffsetToTC, segmentTCToOffset, setCutPoint, setKeyOffset, setPackLayerKeyIndicator, setSegmentBlob, setTrackBlob, setTrackKeyRenderSequence, setTrackName, setTrackRenderSequenceappendComponentAttribute, appendComponentAttribute, appendComponentKLVData, appendComponentUserComment, appendComponentUserComment, clearComponentAttributes, clearComponentKLVData, clearComponentUserComments, countComponentAttributes, countComponentKLVData, countComponentUserComments, getComment, getComponentAttributes, getComponentDataDefinition, getComponentKLVData, getComponentLength, getComponentUserComments, getEditName, getJupiterClipOffset, getJupiterID, getLengthPresent, initializeComponentDataDefinition, prependComponentAttribute, prependComponentKLVData, prependComponentUserComment, removeComponentAttribute, removeComponentKLVData, removeComponentUserComment, setComponentDataDefinition, setComponentLength, setComponentLengthFromStream, setEditName, setJupiterClipOffset, setJupiterID, setLengthPresentaddApplicationPlugin, appendXMLChildren, clearApplicationPlugins, containsApplicationPlugin, containsApplicationPlugin, countApplicationPlugins, deepEquals, disableGenerationTracking, enableGenerationTracking, equals, getApplicationPlugins, getGeneration, getLinkedGenerationID, getLinkedGenerationIDString, getObjectClass, getPersistentID, getPersistentIndex, hashCode, isGenerationTracked, removeApplicationPlugin, removeApplicationPlugin, setLinkedGenerationID, setLinkedGenerationIDString, setObjectClass, setPersistentID, setPersistentIndex, toStringgetEventComment, getEventPosition, setEventComment, setEventPositiongenerateSequence, segmentOffsetToTC, segmentTCToOffsetappendComponentAttribute, appendComponentAttribute, appendComponentKLVData, appendComponentUserComment, appendComponentUserComment, clearComponentAttributes, clearComponentKLVData, clearComponentUserComments, countComponentAttributes, countComponentKLVData, countComponentUserComments, getComponentAttributes, getComponentDataDefinition, getComponentKLVData, getComponentLength, getComponentUserComments, getLengthPresent, removeComponentAttribute, removeComponentKLVData, removeComponentUserComment, setComponentDataDefinition, setComponentLength, setLengthPresentaddApplicationPlugin, clearApplicationPlugins, containsApplicationPlugin, containsApplicationPlugin, countApplicationPlugins, deepEquals, disableGenerationTracking, enableGenerationTracking, equals, getApplicationPlugins, getGeneration, getLinkedGenerationID, getObjectClass, isGenerationTracked, removeApplicationPlugin, removeApplicationPlugin, setLinkedGenerationID, setObjectClass, toStringgetPersistentID, setPersistentIndexpublic CommentMarkerImpl()
public CommentMarkerImpl(DataDefinition dataDefinition) throws NullPointerException
Creates and initializes a commment marker for the given kind of essence data, which
specifies a user comment that is associated with a point in time. If this event is in an
event track, the position must also be set using
EventImpl.setEventPosition(long). Call
setAnnotation(SourceReferenceSegment) to set the optional annotation.
dataDefinition - Kind of data represented by this component.NullPointerException - Argument is null.@MediaProperty(uuid1=100729092, uuid2=522, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="AnnotationSource", aliases="Annotation", typeName="SourceReferenceStrongReference", optional=true, uniqueIdentifier=false, pid=2305, symbol="AnnotationSource") public SourceReferenceSegment getAnnotationSource() throws PropertyNotPresentException
CommentMarkerReturns the annotation for this comment marker, which specifies a text or audio annotation. This is an optional property.
getAnnotationSource in interface CommentMarkerPropertyNotPresentException - The optional annotation property is not present in this comment
marker.TypeDefinitions.SourceReferenceStrongReference@MediaPropertySetter(value="AnnotationSource") public void setAnnotation(SourceReferenceSegment annotationSource)
CommentMarkerSets the annotation marker for this comment marker, which specifies a text
or audio annotation. Set this value to null to omit this optional
property.
setAnnotation in interface CommentMarkerannotationSource - Specifies a text or audio annotation.public CommentMarker clone()
InterchangeObjectCreate a cloned copy of this interchange object.
clone in interface MediaEntityclone in interface CommentMarkerclone in interface Componentclone in interface Eventclone in interface InterchangeObjectclone in interface Segmentclone in class EventImpl(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.