@MediaClass(uuid1=218169601, uuid2=257, uuid3=14336, uuid4={6,14,43,52,2,6,1,1}, definedName="Track", aliases="MobSlot", description="The Track class represents an individual track in a Package.", symbol="Track", isConcrete=false) public class TrackImpl extends InterchangeObjectImpl implements Track, Serializable, XMLSerializable, Cloneable
Implements the representation of a single track in a package. A track describes the relationship between essence and time. In a material package, tracks describe the desired relationship between stored essence and the output timeline.
ObjectClassPropertyID| Constructor and Description |
|---|
TrackImpl() |
| Modifier and Type | Method and Description |
|---|---|
Track |
clone()
Create a cloned copy of this interchange object.
|
String |
getComment()
Include a comment when serializing a value to XML.
|
DataDefinition |
getDataDefinition()
Returns the data definition describing the type
of essence represented by the value of this track.
|
int |
getEssenceTrackNumber()
Returns the physical output channel associated with this track.
|
int |
getTrackID()
Returns the track id of this track, which specifies an integer that is used to
reference this track.
|
String |
getTrackName()
Returns the name of this track.
|
Segment |
getTrackSegment()
Returns the segment of this track, which is the value of the track.
|
static int |
initializeTrackID() |
Segment |
initializeTrackSegment() |
void |
setEssenceTrackNumber(Integer essenceTrackNumber)
Sets the physical output channel associated with this track.
|
void |
setTrackID(int trackID)
This method will set the track id of this track, which specifies an integer that
is used to reference this track.
|
void |
setTrackName(String trackName)
Sets the name of this track.
|
void |
setTrackSegment(Segment trackSegment)
Sets the segment for this track, which is the value of the track.
|
addApplicationPlugin, 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, toStringaddApplicationPlugin, clearApplicationPlugins, containsApplicationPlugin, containsApplicationPlugin, countApplicationPlugins, deepEquals, disableGenerationTracking, enableGenerationTracking, equals, getApplicationPlugins, getGeneration, getLinkedGenerationID, getObjectClass, isGenerationTracked, removeApplicationPlugin, removeApplicationPlugin, setLinkedGenerationID, setObjectClass, toStringgetPersistentID, setPersistentIndexappendXMLChildrenpublic DataDefinition getDataDefinition()
TrackReturns the data definition describing the type of essence represented by the value of this track.
getDataDefinition in interface TrackDataDefinition,
DataDefinitionConstant,
Track.getTrackSegment(),
Component.getComponentDataDefinition()@MediaProperty(uuid1=17236226, uuid2=256, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="TrackName", aliases="SlotName", typeName="UTF16String", optional=true, uniqueIdentifier=false, pid=18434, symbol="TrackName") public String getTrackName() throws PropertyNotPresentException
TrackReturns the name of this track. This is an optional property.
getTrackName in interface TrackPropertyNotPresentException - The optional name property is not present
for this track.@MediaPropertySetter(value="TrackName") public void setTrackName(String trackName)
TrackSets the name of this track. Set this optional property to null
to omit it.
setTrackName in interface TracktrackName - Name of this track.@MediaProperty(uuid1=17039619, uuid2=0, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="EssenceTrackNumber", aliases={"PhysicalTrackNumber","PhysicalNumber","TrackNumber"}, typeName="UInt32", optional=true, uniqueIdentifier=false, pid=18436, symbol="EssenceTrackNumber") public int getEssenceTrackNumber() throws PropertyNotPresentException
TrackReturns the physical output channel associated with this track. This is an optional property.
The essence track number identifies the physical channel associated with the media. For file source packages that describe stereo audio media, the left channel should have an essence track number of 1 and the right channel should have a essnece track number of 2.
getEssenceTrackNumber in interface TrackPropertyNotPresentException - The track is not a physical track.@MediaPropertySetter(value="EssenceTrackNumber") public void setEssenceTrackNumber(Integer essenceTrackNumber) throws IllegalArgumentException
TrackSets the physical output channel associated with this track. Set this
optional property to null to omit it.
The essence track number identifies the physical channel associated with the media. For file source packages that describe stereo audio media, the left channel should have a essence track number of 1 and the right channel should have a essence track number of 2.
setEssenceTrackNumber in interface TrackessenceTrackNumber - The physical output channel associated with this track.IllegalArgumentException - The given physical track number is negative.@MediaProperty(uuid1=100729092, uuid2=516, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="TrackSegment", aliases={"Segment","MobSlotSegment"}, typeName="SegmentStrongReference", optional=false, uniqueIdentifier=false, pid=18435, symbol="TrackSegment") public Segment getTrackSegment()
TrackReturns the segment of this track, which is the value of the track.
getTrackSegment in interface TrackTypeDefinitions.SegmentStrongReference@MediaPropertySetter(value="TrackSegment") public void setTrackSegment(Segment trackSegment) throws NullPointerException
TrackSets the segment for this track, which is the value of the track.
setTrackSegment in interface TracktrackSegment - Segment representing the value for this track.NullPointerException - The given segment is null.public Segment initializeTrackSegment()
@MediaProperty(uuid1=17236225, uuid2=0, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="TrackID", aliases="SlotID", typeName="UInt32", optional=false, uniqueIdentifier=false, pid=18433, symbol="TrackID") public int getTrackID()
TrackReturns the track id of this track, which specifies an integer that is used to reference this track.
getTrackID in interface Track@MediaPropertySetter(value="TrackID") public void setTrackID(int trackID) throws IllegalArgumentException
TrackThis method will set the track id of this track, which specifies an integer that is used to reference this track.
setTrackID in interface TracktrackID - Track id for this track.IllegalArgumentException - The given track id is negative.TrackExistsExceptionpublic static final int initializeTrackID()
public Track clone()
InterchangeObjectCreate a cloned copy of this interchange object.
clone in interface MediaEntityclone in interface InterchangeObjectclone in interface Trackclone in class InterchangeObjectImplpublic String getComment()
XMLSerializableInclude a comment when serializing a value to XML. The comment will be inserted as the first child node of the element representing the class.
getComment in interface XMLSerializablegetComment in class InterchangeObjectImpl(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.