|
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.EssenceDescriptor
tv.amwa.maj.entity.TapeDescriptor
@AAFClass(uuid1=218169601, uuid2=257, uuid3=11776, uuid4={6,14,43,52,2,6,1,1}, definedName="TapeDescriptor", description="The TapeDescriptor class describes audio tape or video tape media.") public class TapeDescriptor
Implements the description of audio tape or video tape media. A source mob described by a tape descriptor is known as a tape source mob.
THE COMMENTS FOR THIS CLASS ARE INCOMPLETE.
Nested Class Summary | |
---|---|
static class |
TapeDescriptor.XMLHandler
|
Nested classes/interfaces inherited from class tv.amwa.maj.entity.EssenceDescriptor |
---|
EssenceDescriptor.EssenceDescriptorXMLHandler, EssenceDescriptor.LocatorXMLHandler, EssenceDescriptor.SubDescriptorXMLHandler |
Nested classes/interfaces inherited from class tv.amwa.maj.entity.InterchangeObject |
---|
InterchangeObject.InterchangeObjectXMLHandler |
Field Summary |
---|
Fields inherited from class tv.amwa.maj.entity.EssenceDescriptor |
---|
ESSENCEDESCRIPTOR_ITEM |
Constructor Summary | |
---|---|
TapeDescriptor()
Creates and initializes a new tape descriptor, which describes audio tape or video tape media. |
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. |
TapeDescriptor |
clone()
Creates a cloned copy of this entity. |
boolean |
equals(Object o)
Tests to see if the given object is equal to this interchange object. |
VideoSignalType |
getSignalType()
Returns the video signal standard recorded on the described tape. |
String |
getTapeBatchNumber()
Returns the tape batch number for this tape descriptor. |
TapeFormatType |
getTapeFormat()
Returns the recording method used for the described tape, known as its format. |
TapeCaseType |
getTapeFormFactor()
Returns the tape form factor (case size) of the described tape. |
int |
getTapeLength()
Returns the length of the described tape, measured in minutes. |
String |
getTapeManufacturer()
Returns the tape manufacturer property of the tape descriptor, which provides a text string to display to end users that identifies the manufacturer of the tape. |
String |
getTapeModel()
Returns the tape model property of the tape descriptor, which provides a text string to display to end users that identifies the manufacturer's brand designation of the tape. |
String |
getTapeStock()
Returns the string identifying the tape stock for this tape descriptor. |
int |
hashCode()
Returns a hash code value for this interchange object. |
void |
setPropertiesFromInterface(TapeDescriptor castFrom)
|
void |
setSignalType(VideoSignalType videoSignal)
Sets the video signal standard recorded on the described tape. |
void |
setTapeBatchNumber(String tapeBatchNumber)
Sets the tape batch number for this tape descriptor. |
void |
setTapeFormat(TapeFormatType tapeFormat)
Sets the recording method used for the described tape. |
void |
setTapeFormFactor(TapeCaseType formFactor)
Sets the tape form factor (case size) of the described tape. |
void |
setTapeLength(Integer tapeLength)
Sets the length of the described tape, measured in minutes. |
void |
setTapeManufacturer(String tapeManufacturer)
Sets the tape manufacturer property of the tape descriptor, which provides a text string to display to end users that identifies the manufacturer of the tape. |
void |
setTapeModel(String tapeModel)
Sets the tape model property of this tape descriptor, which provides a text string to display to end users that identifies the manufacturer's brand designation of the tape. |
void |
setTapeStock(String tapeStock)
Sets the string identifying the tape stock for this tape descriptor. |
Methods inherited from class tv.amwa.maj.entity.EssenceDescriptor |
---|
appendLocator, appendSubDescriptor, countLocators, countSubDescriptors, getLocatorAt, getLocators, getSubDescriptorAt, getSubDescriptors, insertLocatorAt, insertSubDescriptorAt, prependLocator, prependSubDescriptor, removeLocatorAt, removeSubDescriptorAt, setPropertiesFromInterface |
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, toString, wait, wait, wait |
Methods inherited from interface tv.amwa.maj.iface.EssenceDescriptor |
---|
appendLocator, appendSubDescriptor, countLocators, countSubDescriptors, getLocatorAt, getLocators, getSubDescriptorAt, getSubDescriptors, insertLocatorAt, insertSubDescriptorAt, prependLocator, prependSubDescriptor, removeLocatorAt, removeSubDescriptorAt |
Methods inherited from interface tv.amwa.maj.iface.InterchangeObject |
---|
countProperties, createOptionalPropertyValue, disableGenerationTracking, enableGenerationTracking, getDefinition, getGeneration, getGenerationAUID, getProperties, getPropertyValue, isGenerationTracked, isPropertyPresent, omitOpionalProperty, setPropertyValue |
Methods inherited from interface tv.amwa.maj.entity.MAJCommon |
---|
toString |
Constructor Detail |
---|
public TapeDescriptor()
Creates and initializes a new tape descriptor, which describes audio tape or video tape media.
Method Detail |
---|
public final void setPropertiesFromInterface(TapeDescriptor castFrom)
@AAFProperty(uuid1=67175425, uuid2=256, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="VideoSignal", typeName="VideoSignalType", optional=true, uniqueIdentifier=false, pid=14850) public VideoSignalType getSignalType() throws PropertyNotPresentException
TapeDescriptor
Returns the video signal standard recorded on the described tape. This is an optional property.
Typical values includes:
getSignalType
in interface TapeDescriptor
PropertyNotPresentException
- The optional video signal type property is not
present in this tape descriptor.public void setSignalType(VideoSignalType videoSignal)
TapeDescriptor
Sets the video signal standard recorded on the described tape. Set this
optional property to null
to omit it.
Typical values includes:
setSignalType
in interface TapeDescriptor
videoSignal
- Signal standard recorded on the described tape.@AAFProperty(uuid1=68157697, uuid2=257, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="FormFactor", typeName="TapeCaseType", optional=true, uniqueIdentifier=false, pid=14849) public TapeCaseType getTapeFormFactor() throws PropertyNotPresentException
TapeDescriptor
Returns the tape form factor (case size) of the described tape. This is an optional property.
Typical values include:
getTapeFormFactor
in interface TapeDescriptor
PropertyNotPresentException
- The optional tape form factor property is not present
in this tape descriptor.public void setTapeFormFactor(TapeCaseType formFactor)
TapeDescriptor
Sets the tape form factor (case size) of the described
tape. Set this optional property to null
to omit it.
Typical values include:
setTapeFormFactor
in interface TapeDescriptor
formFactor
- Tape form factor (case size) of the described
tape.@AAFProperty(uuid1=218169601, uuid2=257, uuid3=256, uuid4={6,14,43,52,1,1,1,2}, definedName="TapeFormat", typeName="TapeFormatType", optional=true, uniqueIdentifier=false, pid=14851) public TapeFormatType getTapeFormat() throws PropertyNotPresentException
TapeDescriptor
Returns the recording method used for the described tape, known as its format. This is an optional property.
Typical values include:
getTapeFormat
in interface TapeDescriptor
PropertyNotPresentException
- The optional tape format property is not
present in this tape descriptor.public void setTapeFormat(TapeFormatType tapeFormat)
TapeDescriptor
Sets the recording method used for the described tape. Set this optional
property to null
to omit it.
Typical values include:
setTapeFormat
in interface TapeDescriptor
tapeFormat
- Recording method used for the described tape.@AAFProperty(uuid1=68157697, uuid2=768, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="Length", typeName="UInt32", optional=true, uniqueIdentifier=false, pid=14852) public int getTapeLength() throws PropertyNotPresentException
TapeDescriptor
Returns the length of the described tape, measured in minutes. This is an optional property.
getTapeLength
in interface TapeDescriptor
PropertyNotPresentException
- The optional tape length property is not
present in this tape descriptor.public void setTapeLength(Integer tapeLength) throws IllegalArgumentException
TapeDescriptor
Sets the length of the described tape, measured in minutes. Set this
optional property to null
to omit it.
setTapeLength
in interface TapeDescriptor
tapeLength
- Length of the described tape measured in minutes.
IllegalArgumentException
- The given tape length is negative.@AAFProperty(uuid1=68157697, uuid2=1025, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="ManufacturerID", typeName="String", optional=true, uniqueIdentifier=false, pid=14853) public String getTapeManufacturer() throws PropertyNotPresentException
TapeDescriptor
Returns the tape manufacturer property of the tape descriptor, which provides a text string to display to end users that identifies the manufacturer of the tape. This is an optional property.
getTapeManufacturer
in interface TapeDescriptor
PropertyNotPresentException
- The optional tape manufacturer property is not
present in this tape descriptor.public void setTapeManufacturer(String tapeManufacturer)
TapeDescriptor
Sets the tape manufacturer property of the tape descriptor, which
provides a text string to display to end users that
identifies the manufacturer of the tape. Set this optional property
to null
to omit it.
setTapeManufacturer
in interface TapeDescriptor
tapeManufacturer
- Tape manufacturer property of the tape descriptor.@AAFProperty(uuid1=68157697, uuid2=513, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="Model", typeName="String", optional=true, uniqueIdentifier=false, pid=14854) public String getTapeModel() throws PropertyNotPresentException
TapeDescriptor
Returns the tape model property of the tape descriptor, which provides a text string to display to end users that identifies the manufacturer's brand designation of the tape. This is an optional property.
getTapeModel
in interface TapeDescriptor
PropertyNotPresentException
- The optional tape model property is not present
in this tape descriptor.public void setTapeModel(String tapeModel)
TapeDescriptor
Sets the tape model property of this tape descriptor, which provides a text
string to display to end users that identifies the manufacturer's brand designation
of the tape. Set this optional property to null
to omit it.
setTapeModel
in interface TapeDescriptor
tapeModel
- Tape model of this tape descriptor.@AAFProperty(uuid1=68157697, uuid2=1537, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="TapeBatchNumber", typeName="String", optional=true, uniqueIdentifier=false, pid=14855) public String getTapeBatchNumber() throws PropertyNotPresentException
TapeDescriptor
Returns the tape batch number for this tape descriptor. This is an optional property.
getTapeBatchNumber
in interface TapeDescriptor
PropertyNotPresentException
- The optional tape batch number is not
present in this tape descriptor.public void setTapeBatchNumber(String tapeBatchNumber)
TapeDescriptor
Sets the tape batch number for this tape descriptor.
setTapeBatchNumber
in interface TapeDescriptor
tapeBatchNumber
- Tape batch number for this tape descriptor.@AAFProperty(uuid1=68157697, uuid2=1281, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="TapeStock", typeName="String", optional=true, uniqueIdentifier=false, pid=14856) public String getTapeStock() throws PropertyNotPresentException
TapeDescriptor
Returns the string identifying the tape stock for this tape descriptor. This is an optional property.
getTapeStock
in interface TapeDescriptor
PropertyNotPresentException
- The optional tape stock property is not present
for this tape descriptor.public void setTapeStock(String tapeStock)
TapeDescriptor
Sets the string identifying the tape stock for this tape descriptor. Set this
optional property to null
to omit it.
setTapeStock
in interface TapeDescriptor
tapeStock
- String identifying the tape stock for this tape descriptor.public boolean equals(Object o)
MAJCommon
Tests to see if the given object is equal to this interchange object. To be equal, the given value must be not null, share the same interface to its value and each of the properties of the value must each be equal.
equals
in interface MAJCommon
equals
in class EssenceDescriptor
o
- Object to test for equality with.
Object.equals(Object)
public int hashCode()
MAJCommon
Returns a hash code value for this interchange object.
hashCode
in interface MAJCommon
hashCode
in class EssenceDescriptor
Object.hashCode()
public TapeDescriptor clone()
MAJCommon
Creates a cloned copy of this entity. The clone will be initialized to have the same value as this value but exists independently from then on. Changes to this value will not effect the clone and changes to the clone will not effect this. MAJ API clones are true deep clones with no shared references to areas of memory within the original.
This method does not throw a CloneNotSupportedException
as all
entity values must implement the Cloneable
interface. If a cloning
error does occur, a null
value will be returned but this is very unlikely
to happen.
clone
in interface MAJCommon
clone
in class EssenceDescriptor
Object.clone()
public void appendXMLChildren(Node parent)
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.
appendXMLChildren
in interface XMLSerializable
appendXMLChildren
in class EssenceDescriptor
parent
- 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 |