|
Media Authoring with Java API |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objecttv.amwa.maj.entity.InterchangeObject
tv.amwa.maj.entity.MobSlot
@AAFClass(uuid1=218169601,
uuid2=257,
uuid3=14336,
uuid4={6,14,43,52,2,6,1,1},
definedName="MobSlot",
description="The MobSlot class represents an individual track in a Mob.")
public abstract class MobSlot
Implements the representation of a single track in a mob. A track describes the relationship between essence and time. In a master mob, mob slots describe the desired relationship between stored essence and the output timeline.
THE COMMENTS FOR THIS CLASS ARE INCOMPLETE.
| Nested Class Summary | |
|---|---|
static class |
MobSlot.MobSlotSegmentXMLHandler
|
static class |
MobSlot.XMLHandler
|
| Nested classes/interfaces inherited from class tv.amwa.maj.entity.InterchangeObject |
|---|
InterchangeObject.InterchangeObjectXMLHandler |
| Field Summary | |
|---|---|
static String |
MOBSLOT_ITEM
|
| Constructor Summary | |
|---|---|
MobSlot()
|
|
| Method Summary | |
|---|---|
void |
appendXMLChildren(Node parent)
Append child elements to the given parent node to serialize the value of an object to an XML fragment. |
MobSlot |
clone()
|
boolean |
equals(Object o)
|
DataDefinition |
getDataDefinition()
Returns the data definition describing the type of essence represented by the value of this mob slot. |
long |
getId()
|
String |
getName()
Returns the name of this mob slot. |
int |
getPhysicalNumber()
Returns the physical output channel associated with this mob slot. |
Segment |
getSegment()
Returns the segment of this mob slot, which is the value of the slot. |
int |
getSlotID()
Returns the slot id of this mob slot, which specifies an integer that is used to reference this mob slot. |
int |
hashCode()
|
void |
setId(long id)
|
void |
setName(String name)
Sets the name of this mob slot. |
void |
setPhysicalNumber(Integer physicalTrackNumber)
Sets the physical output channel associated with this mob slot. |
void |
setPropertiesFromInterface(MobSlot castFrom)
|
void |
setSegment(Segment segment)
Sets the segment for this mob slot, which is the value of the slot. |
void |
setSlotID(int value)
This method will set the slot id of this mob slot, which specifies an integer that is used to reference this mob slot. |
| Methods inherited from class tv.amwa.maj.entity.InterchangeObject |
|---|
castFromInterface, countProperties, createOptionalPropertyValue, disableGenerationTracking, enableGenerationTracking, getDefinition, getGeneration, getGenerationAUID, getProperties, getPropertyValue, isGenerationTracked, isPropertyPresent, omitOpionalProperty, registerImplementation, setPropertiesFromInterface, setPropertyValue, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface tv.amwa.maj.iface.InterchangeObject |
|---|
countProperties, createOptionalPropertyValue, disableGenerationTracking, enableGenerationTracking, getDefinition, getGeneration, getGenerationAUID, getProperties, getPropertyValue, isGenerationTracked, isPropertyPresent, omitOpionalProperty, setPropertyValue |
| Field Detail |
|---|
public static final String MOBSLOT_ITEM
| Constructor Detail |
|---|
public MobSlot()
| Method Detail |
|---|
public final void setPropertiesFromInterface(MobSlot castFrom)
InterchangeObject.setPropertiesFromInterface(tv.amwa.maj.iface.InterchangeObject)public DataDefinition getDataDefinition()
MobSlotReturns the data definition describing the type of essence represented by the value of this mob slot.
getDataDefinition in interface MobSlotDataDefinition,
DataDefinitionConstant,
MobSlot.getSegment(),
Component.getDataDefinition()
@AAFProperty(uuid1=17236226,
uuid2=256,
uuid3=0,
uuid4={6,14,43,52,1,1,1,2},
definedName="SlotName",
typeName="String",
optional=true,
uniqueIdentifier=false,
pid=18434)
public String getName()
throws PropertyNotPresentException
MobSlotReturns the name of this mob slot. This is an optional property.
getName in interface MobSlotPropertyNotPresentException - The optional name property is not present
for this mob slot.public void setName(String name)
MobSlotSets the name of this mob slot. Set this optional property to null
to omit it.
setName in interface MobSlotname - Name of this mob slot.
@AAFProperty(uuid1=17039619,
uuid2=0,
uuid3=0,
uuid4={6,14,43,52,1,1,1,2},
definedName="PhysicalTrackNumber",
typeName="UInt32",
optional=true,
uniqueIdentifier=false,
pid=18436)
public int getPhysicalNumber()
throws PropertyNotPresentException
MobSlotReturns the physical output channel associated with this mob slot. This is an optional property.
The physical track number identifies the physical channel associated with the media. For file source mobs that describe stereo audio media, the left channel should have a physical slot number of 1 and the right channel should have a physical slot of 2.
getPhysicalNumber in interface MobSlotPropertyNotPresentException - The mob slot is not a physical slot.
public void setPhysicalNumber(Integer physicalTrackNumber)
throws IllegalArgumentException
MobSlotSets the physical output channel associated with this mob slot. Set this
optional property to null to omit it.
The physical track number identifies the physical channel associated with the media. For file source mobs that describe stereo audio media, the left channel should have a physical slot number of 1 and the right channel should have a physical slot of 2.
setPhysicalNumber in interface MobSlotphysicalTrackNumber - Physical track number for this mob slot.
IllegalArgumentException - The given physical track number is negative.
@AAFProperty(uuid1=100729092,
uuid2=516,
uuid3=0,
uuid4={6,14,43,52,1,1,1,2},
definedName="Segment",
typeName="StrongReference to Segment",
optional=false,
uniqueIdentifier=false,
pid=18435)
public Segment getSegment()
MobSlotReturns the segment of this mob slot, which is the value of the slot.
getSegment in interface MobSlot
public void setSegment(Segment segment)
throws NullPointerException
MobSlotSets the segment for this mob slot, which is the value of the slot.
setSegment in interface MobSlotsegment - Segment representing the value for this mob slot.
NullPointerException - The given segment is null.
@AAFProperty(uuid1=17236225,
uuid2=0,
uuid3=0,
uuid4={6,14,43,52,1,1,1,2},
definedName="SlotID",
typeName="UInt32",
optional=false,
uniqueIdentifier=false,
pid=18433)
public int getSlotID()
MobSlotReturns the slot id of this mob slot, which specifies an integer that is used to reference this mob slot.
getSlotID in interface MobSlot
public void setSlotID(int value)
throws IllegalArgumentException
MobSlotThis method will set the slot id of this mob slot, which specifies an integer that is used to reference this mob slot.
setSlotID in interface MobSlotvalue - Slot id for this mob slot.
IllegalArgumentException - The given slot id is negative.SlotExistsExceptionpublic long getId()
public void setId(long id)
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic MobSlot clone()
clone in class Objectpublic void appendXMLChildren(Node parent)
XMLSerializableAppend child elements to the given parent node to serialize the value of an object
to an XML fragment. Methods of the XMLBuilder class are provided to help with this
process.
appendXMLChildren in interface XMLSerializableappendXMLChildren in class InterchangeObjectparent - XML parent element to append child nodes to.
|
Media Authoring with Java API |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||