|
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.FilmDescriptor
@AAFClass(uuid1=218169601, uuid2=257, uuid3=11520, uuid4={6,14,43,52,2,6,1,1}, definedName="FilmDescriptor", description="The FilmDescriptor class describes film media.") public class FilmDescriptor
Implements the description of film media. A SourceMob described by a film descriptor is known as a film source mob.
THE COMMENTS FOR THIS CLASS ARE INCOMPLETE.
Nested Class Summary | |
---|---|
static class |
FilmDescriptor.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 | |
---|---|
static String |
FILMDESCRIPTOR_TAG
|
Fields inherited from class tv.amwa.maj.entity.EssenceDescriptor |
---|
ESSENCEDESCRIPTOR_ITEM |
Constructor Summary | |
---|---|
FilmDescriptor()
Creates and initializes a film descriptor that describes film 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. |
FilmDescriptor |
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. |
Rational |
getFilmAspectRatio()
Returns the image aspect ratio of this film descriptor, which specifies the ratio between the horizontal size of the frame image and the vertical size of the frame image. |
String |
getFilmBatchNumber()
Returns the film batch number for this film descriptor. |
FilmType |
getFilmFormat()
Returns the film format of this film descriptor, according to its film type. |
String |
getFilmGaugeFormat()
Returns the film gauge format of this film descriptor. |
String |
getFilmManufacturer()
Returns the film manufacturer associated with this film descriptor which is a string to display to end users, indicating the manufacturer of the film. |
String |
getFilmModel()
Returns the film model associated with this film descriptor, which is a string to display to end users indicating the manufacturerÕs brand designation for the film, such as "5247". |
int |
getFrameRate()
Returns the frame rate of this film descriptor, which specifies the frame rate of the film measured in frames per second. |
byte |
getPerfortionsPerFrame()
Returns the number of perforations per frame on the film stock for this film descriptor. |
int |
hashCode()
Returns a hash code value for this interchange object. |
void |
setFilmAspectRatio(Rational aspectRatio)
Sets the image aspect ratio of this film descriptor, which specifies the ratio between the horizontal size of the frame image and the vertical size of the frame image. |
void |
setFilmBatchNumber(String filmBatchNumber)
Sets the film batch number for this film descriptor. |
void |
setFilmFormat(FilmType filmFormat)
Sets the film format for this film descriptor, according to its film type. |
void |
setFilmGaugeFormat(String filmGuageFormat)
Sets the film gauge format of this film descriptor. |
void |
setFilmManufacturer(String fileManufacturer)
Sets the film manufacturer property of this film descriptor, which is a string to display to end users, indicating the manufacturer of the film. |
void |
setFilmModel(String filmModel)
Sets the film model property of the film descriptor, which is a string to display to end users indicating the manufacturerÕs brand designation for the film, such as "5247". |
void |
setFrameRate(Integer rate)
Set the frame rate for this film descriptor, which specifies the frame rate of the film measured in frames per second. |
void |
setPerforationsPerFrame(Byte perforationsPerFrame)
Set the number of perforations per frame on the film stock for this film descriptor. |
void |
setPropertiesFromInterface(FilmDescriptor castFrom)
|
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, 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 |
Field Detail |
---|
public static final String FILMDESCRIPTOR_TAG
Constructor Detail |
---|
public FilmDescriptor()
Creates and initializes a film descriptor that describes film media.
Method Detail |
---|
public final void setPropertiesFromInterface(FilmDescriptor castFrom)
InterchangeObject.setPropertiesFromInterface(tv.amwa.maj.iface.InterchangeObject)
@AAFProperty(uuid1=68157699, uuid2=515, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="FilmAspectRatio", typeName="Rational", optional=true, uniqueIdentifier=false, pid=14596) public Rational getFilmAspectRatio() throws PropertyNotPresentException
FilmDescriptor
Returns the image aspect ratio of this film descriptor, which specifies the ratio between the horizontal size of the frame image and the vertical size of the frame image. This is an optional property.
getFilmAspectRatio
in interface FilmDescriptor
PropertyNotPresentException
- The optional image aspect ratio
for this film descriptor is not present.public void setFilmAspectRatio(Rational aspectRatio)
FilmDescriptor
Sets the image aspect ratio of this film descriptor, which specifies the ratio
between the horizontal size of the frame image and the vertical size of the frame
image. Set this optional property to null
to omit it.
setFilmAspectRatio
in interface FilmDescriptor
aspectRatio
- Image aspect ratio to set for film descriptor.@AAFProperty(uuid1=68157699, uuid2=264, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="FilmFormat", typeName="FilmType", optional=true, uniqueIdentifier=false, pid=14593) public FilmType getFilmFormat() throws PropertyNotPresentException
FilmDescriptor
Returns the film format of this film descriptor, according to its film type.
Typical values include:
getFilmFormat
in interface FilmDescriptor
PropertyNotPresentException
- The optional film format property is not
present for this film descriptor.public void setFilmFormat(FilmType filmFormat)
FilmDescriptor
Sets the film format for this film descriptor, according to its
film type. Set this optional
property to null
to omit it.
Typical values include:
setFilmFormat
in interface FilmDescriptor
filmFormat
- Film format to set for this film descriptor.@AAFProperty(uuid1=68157699, uuid2=262, uuid3=256, uuid4={6,14,43,52,1,1,1,2}, definedName="Manufacturer", typeName="String", optional=true, uniqueIdentifier=false, pid=14597) public String getFilmManufacturer() throws PropertyNotPresentException
FilmDescriptor
Returns the film manufacturer associated with this film descriptor which is a string to display to end users, indicating the manufacturer of the film. This is an optional property.
getFilmManufacturer
in interface FilmDescriptor
PropertyNotPresentException
- The optional film manufacturer property is not
present for this film descriptor.public void setFilmManufacturer(String fileManufacturer)
FilmDescriptor
Sets the film manufacturer property of this film descriptor, which is
a string to display to end users, indicating the manufacturer of the film. Set
this optional property to null
to omit it.
setFilmManufacturer
in interface FilmDescriptor
fileManufacturer
- Film manufacturer of the described film.@AAFProperty(uuid1=68157699, uuid2=261, uuid3=256, uuid4={6,14,43,52,1,1,1,2}, definedName="Model", typeName="String", optional=true, uniqueIdentifier=false, pid=14598) public String getFilmModel() throws PropertyNotPresentException
FilmDescriptor
Returns the film model associated with this film descriptor, which is a string to display to end users indicating the manufacturerÕs brand designation for the film, such as "5247". This is an optional property.
getFilmModel
in interface FilmDescriptor
PropertyNotPresentException
- The optional film model property is
not present for this film descriptor.public void setFilmModel(String filmModel)
FilmDescriptor
Sets the film model property of the film descriptor, which is a string to display to
end users indicating the manufacturerÕs brand designation for the film, such as "5247". Set
this optional property to null
to omit it.
setFilmModel
in interface FilmDescriptor
filmModel
- Film model to set for this film descriptor.@AAFProperty(uuid1=67176450, uuid2=768, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="FrameRate", typeName="UInt32", optional=true, uniqueIdentifier=false, pid=14594) public int getFrameRate() throws PropertyNotPresentException
FilmDescriptor
Returns the frame rate of this film descriptor, which specifies the frame rate of the film measured in frames per second. This is an optional property.
getFrameRate
in interface FilmDescriptor
PropertyNotPresentException
- The optional frame rate property is not
present for this film descriptor.public void setFrameRate(Integer rate) throws IllegalArgumentException
FilmDescriptor
Set the frame rate for this film descriptor, which specifies the frame rate
of the film measured in frames per second. Set this optional property to null
to omit it.
setFrameRate
in interface FilmDescriptor
rate
- Frame rate to set for this film descriptor.
IllegalArgumentException
- The given frame rate is negative.@AAFProperty(uuid1=68157699, uuid2=259, uuid3=0, uuid4={6,14,43,52,1,1,1,2}, definedName="PerforationsPerFrame", typeName="UInt8", optional=true, uniqueIdentifier=false, pid=14595) public byte getPerfortionsPerFrame() throws PropertyNotPresentException
FilmDescriptor
Returns the number of perforations per frame on the film stock for this film descriptor. This is an optional property.
getPerfortionsPerFrame
in interface FilmDescriptor
PropertyNotPresentException
- The optional perforations per
frame property is not present for this film descriptor.public void setPerforationsPerFrame(Byte perforationsPerFrame) throws IllegalArgumentException
FilmDescriptor
Set the number of perforations per frame on the film stock for this film
descriptor. Set this optional property to null
to omit it.
setPerforationsPerFrame
in interface FilmDescriptor
perforationsPerFrame
- Perforations per frame for the film
descriptor.
IllegalArgumentException
@AAFProperty(uuid1=68157699, uuid2=263, uuid3=256, uuid4={6,14,43,52,1,1,1,2}, definedName="FilmBatchNumber", typeName="String", optional=true, uniqueIdentifier=false, pid=14600) public String getFilmBatchNumber() throws PropertyNotPresentException
FilmDescriptor
Returns the film batch number for this film descriptor. This is an optional property.
getFilmBatchNumber
in interface FilmDescriptor
PropertyNotPresentException
- The optional film batch number is
not present for this film descriptor.public void setFilmBatchNumber(String filmBatchNumber)
FilmDescriptor
Sets the film batch number for this film descriptor. Set this optional
property to null
to omit it.
setFilmBatchNumber
in interface FilmDescriptor
filmBatchNumber
- Film batch number for this film descriptor.@AAFProperty(uuid1=68157699, uuid2=260, uuid3=256, uuid4={6,14,43,52,1,1,1,2}, definedName="FilmGaugeFormat", typeName="String", optional=true, uniqueIdentifier=false, pid=14599) public String getFilmGaugeFormat() throws PropertyNotPresentException
FilmDescriptor
Returns the film gauge format of this film descriptor. This is an optional property.
getFilmGaugeFormat
in interface FilmDescriptor
PropertyNotPresentException
- This optional film gauge property
is not present for this film descriptor.public void setFilmGaugeFormat(String filmGuageFormat)
FilmDescriptor
Sets the film gauge format of this film descriptor. Set this optional property
to null
to omit it.
setFilmGaugeFormat
in interface FilmDescriptor
filmGuageFormat
- Film gauge format if this film 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 FilmDescriptor 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 |