@MediaClass(uuid1=218169601, uuid2=257, uuid3=14592, uuid4={6,14,43,52,2,6,1,1}, definedName="EventTrack", aliases="EventMobSlot", description="The EventTrack class has a Sequence of Events.", symbol="EventTrack") public class EventTrackImpl extends TrackImpl implements EventTrack, Serializable, Cloneable
ObjectClassPropertyID| Constructor and Description |
|---|
EventTrackImpl()
Default constructor is not public to avoid unset required fields.
|
EventTrackImpl(int trackId,
Segment segment,
Rational editRate)
Creates and initializes a new event track, which holds a sequence of events.
|
| Modifier and Type | Method and Description |
|---|---|
EventTrack |
clone()
Create a cloned copy of this interchange object.
|
Rational |
getEventTrackEditRate()
Returns the edit rate for this track, which specifies the units in which the
events specify their starting time and duration
|
String |
getEventTrackEditRateString() |
long |
getEventTrackOrigin()
Gets the event track origin of this event track, which specifies the point, in edit
units, in a track from which relative times are measured.
|
static Rational |
initializeEventTrackEditRate() |
Segment |
initializeTrackSegment() |
void |
setEventTrackEditRate(Rational eventTrackEditRate)
Sets the edit rate for this track, which specifies the units in which the
events specify their starting time and duration
|
void |
setEventTrackEditRateString(String eventTrackEditRate) |
void |
setEventTrackOrigin(Long eventTrackOrigin)
Sets the event track origin of this event track, which specifies the point,
in edit units, in a track from which relative times are measured.
|
void |
setTrackSegment(Segment segment)
This method applies the constraints required for a segment that forms part of an event
track.
|
getComment, getDataDefinition, getEssenceTrackNumber, getTrackID, getTrackName, getTrackSegment, initializeTrackID, setEssenceTrackNumber, setTrackID, setTrackNameaddApplicationPlugin, 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, toStringgetDataDefinition, getEssenceTrackNumber, getTrackID, getTrackName, getTrackSegment, setEssenceTrackNumber, setTrackID, setTrackNameaddApplicationPlugin, clearApplicationPlugins, containsApplicationPlugin, containsApplicationPlugin, countApplicationPlugins, deepEquals, disableGenerationTracking, enableGenerationTracking, equals, getApplicationPlugins, getGeneration, getLinkedGenerationID, getObjectClass, isGenerationTracked, removeApplicationPlugin, removeApplicationPlugin, setLinkedGenerationID, setObjectClass, toStringgetPersistentID, setPersistentIndexappendXMLChildrenpublic EventTrackImpl()
public EventTrackImpl(@UInt32 int trackId, Segment segment, Rational editRate) throws NullPointerException, IllegalArgumentException
Creates and initializes a new event track, which holds a sequence of events.
trackId - Integer that is used to reference the new track.segment - Value of the new track.editRate - Units in which the events specify their starting time and duration.NullPointerException - The segment or edit rate values are null.IllegalArgumentException - Cannot set the track id for an event track to
a negative value.@MediaProperty(uuid1=87032834, uuid2=0, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="EventTrackEditRate", aliases={"EditRate","EventMobSlotEditRate","EditTrackEditRate"}, typeName="Rational", optional=false, uniqueIdentifier=false, pid=18689, symbol="EventTrackEditRate") public Rational getEventTrackEditRate()
EventTrackReturns the edit rate for this track, which specifies the units in which the events specify their starting time and duration
getEventTrackEditRate in interface EventTrack@MediaPropertySetter(value="EventTrackEditRate") public void setEventTrackEditRate(Rational eventTrackEditRate) throws NullPointerException
EventTrackSets the edit rate for this track, which specifies the units in which the events specify their starting time and duration
setEventTrackEditRate in interface EventTrackeventTrackEditRate - Edit rate for this track.NullPointerException - The given edit rate is nullpublic static final Rational initializeEventTrackEditRate()
@MediaProperty(uuid1=117571843, uuid2=267, uuid3=0, uuid4={6,14,43,52,1,1,1,5}, definedName="EventTrackOrigin", aliases="EventSlotOrigin", typeName="PositionType", optional=true, uniqueIdentifier=false, pid=18690, symbol="EventTrackOrigin") public long getEventTrackOrigin() throws PropertyNotPresentException
EventTrackGets the event track origin of this event track, which specifies the point, in edit units, in a track from which relative times are measured. This is an optional property.
getEventTrackOrigin in interface EventTrackPropertyNotPresentException - The optional event track origin property
is not present in this event track.@MediaPropertySetter(value="EventTrackOrigin") public void setEventTrackOrigin(Long eventTrackOrigin)
EventTrackSets the event track origin of this event track, which specifies the point,
in edit units, in a track from which relative times are measured. Set this optional property
to null to omit it.
setEventTrackOrigin in interface EventTrackeventTrackOrigin - Event track origin of this event track.public void setTrackSegment(Segment segment) throws NullPointerException, IllegalArgumentException
This method applies the constraints required for a segment that forms part of an event track. These are:
setTrackSegment in interface TracksetTrackSegment in class TrackImplsegment - Segment representing the value for this track.NullPointerException - The given segment is null.IllegalArgumentExceptionTrackImpl.setTrackSegment(tv.amwa.maj.model.Segment)public Segment initializeTrackSegment()
initializeTrackSegment in class TrackImplpublic EventTrack clone()
InterchangeObjectCreate a cloned copy of this interchange object.
clone in interface MediaEntityclone in interface EventTrackclone in interface InterchangeObjectclone in interface Trackclone in class TrackImplpublic String getEventTrackEditRateString()
public void setEventTrackEditRateString(String eventTrackEditRate)
(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.