tv.amwa.maj.entity
Class StaticMobSlot
java.lang.Object
tv.amwa.maj.entity.InterchangeObject
tv.amwa.maj.entity.MobSlot
tv.amwa.maj.entity.StaticMobSlot
- All Implemented Interfaces:
- Serializable, Cloneable, InterchangeObject, MobSlot, StaticMobSlot, XMLSerializable
@AAFClass(uuid1=218169601,
uuid2=257,
uuid3=14848,
uuid4={6,14,43,52,2,6,1,1},
definedName="StaticMobSlot",
description="The StaticMobSlot describes essence data that has no relationship to time, such as a static image.")
public class StaticMobSlot
- extends MobSlot
- implements StaticMobSlot, Serializable, Cloneable
Implements a single track of essence data that has no relationship to time, such
as a static image. As a static mob slot has not relationship with time, it does
not specify an edit rate.
THE COMMENTS FOR THIS CLASS ARE INCOMPLETE.
- Author:
- Richard Cartwright
- See Also:
- Serialized Form
Constructor Summary |
StaticMobSlot(int slotId,
Segment segment)
Creates and initializes a new static mob slot, which describes essence
data that has no relationship to time, such as a static image. |
Methods inherited from class tv.amwa.maj.entity.MobSlot |
equals, getDataDefinition, getId, getName, getPhysicalNumber, getSegment, getSlotID, hashCode, setId, setName, setPhysicalNumber, setPropertiesFromInterface, setSlotID |
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 interface tv.amwa.maj.iface.InterchangeObject |
countProperties, createOptionalPropertyValue, disableGenerationTracking, enableGenerationTracking, getDefinition, getGeneration, getGenerationAUID, getProperties, getPropertyValue, isGenerationTracked, isPropertyPresent, omitOpionalProperty, setPropertyValue |
STATICMOBSLOT_TAG
public static final String STATICMOBSLOT_TAG
- See Also:
- Constant Field Values
StaticMobSlot
public StaticMobSlot(@UInt32
int slotId,
Segment segment)
throws NullPointerException,
IllegalArgumentException
Creates and initializes a new static mob slot, which describes essence
data that has no relationship to time, such as a static image.
- Parameters:
slotId
- An integer that is used to reference the new mob slot.segment
- Value of the mob slot.
- Throws:
NullPointerException
- The segment argument is null
.
IllegalArgumentException
- Cannot create a new static mob slot with a negative slot id.
setPropertiesFromInterface
public final void setPropertiesFromInterface(StaticMobSlot castFrom)
- See Also:
InterchangeObject.setPropertiesFromInterface(tv.amwa.maj.iface.InterchangeObject)
setSegment
public void setSegment(Segment segment)
Set the segment for the static mob slot, ensuring that it does not have a length property
set.
- Specified by:
setSegment
in interface MobSlot
- Overrides:
setSegment
in class MobSlot
- Parameters:
segment
- Segment representing the value for this mob slot.- See Also:
MobSlot.setSegment(tv.amwa.maj.iface.Segment)
clone
public StaticMobSlot clone()
- Overrides:
clone
in class MobSlot
appendXMLChildren
public void appendXMLChildren(Node parent)
- Description copied from interface:
XMLSerializable
Append 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.
- Specified by:
appendXMLChildren
in interface XMLSerializable
- Overrides:
appendXMLChildren
in class MobSlot
- Parameters:
parent
- XML parent element to append child nodes to.
(c) 2007-2008 Richard Cartwright, all rights reserved. Subject to the terms of the AAF SDK Public Source License.