|
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
FilmDescriptorReturns 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 FilmDescriptorPropertyNotPresentException - The optional image aspect ratio
for this film descriptor is not present.public void setFilmAspectRatio(Rational aspectRatio)
FilmDescriptorSets 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 FilmDescriptoraspectRatio - 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
FilmDescriptorReturns the film format of this film descriptor, according to its film type.
Typical values include:
getFilmFormat in interface FilmDescriptorPropertyNotPresentException - The optional film format property is not
present for this film descriptor.public void setFilmFormat(FilmType filmFormat)
FilmDescriptorSets 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 FilmDescriptorfilmFormat - 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
FilmDescriptorReturns 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 FilmDescriptorPropertyNotPresentException - The optional film manufacturer property is not
present for this film descriptor.public void setFilmManufacturer(String fileManufacturer)
FilmDescriptorSets 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 FilmDescriptorfileManufacturer - 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
FilmDescriptorReturns 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 FilmDescriptorPropertyNotPresentException - The optional film model property is
not present for this film descriptor.public void setFilmModel(String filmModel)
FilmDescriptorSets 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 FilmDescriptorfilmModel - 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
FilmDescriptorReturns 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 FilmDescriptorPropertyNotPresentException - The optional frame rate property is not
present for this film descriptor.
public void setFrameRate(Integer rate)
throws IllegalArgumentException
FilmDescriptorSet 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 FilmDescriptorrate - 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
FilmDescriptorReturns the number of perforations per frame on the film stock for this film descriptor. This is an optional property.
getPerfortionsPerFrame in interface FilmDescriptorPropertyNotPresentException - The optional perforations per
frame property is not present for this film descriptor.
public void setPerforationsPerFrame(Byte perforationsPerFrame)
throws IllegalArgumentException
FilmDescriptorSet 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 FilmDescriptorperforationsPerFrame - 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
FilmDescriptorReturns the film batch number for this film descriptor. This is an optional property.
getFilmBatchNumber in interface FilmDescriptorPropertyNotPresentException - The optional film batch number is
not present for this film descriptor.public void setFilmBatchNumber(String filmBatchNumber)
FilmDescriptorSets the film batch number for this film descriptor. Set this optional
property to null to omit it.
setFilmBatchNumber in interface FilmDescriptorfilmBatchNumber - 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
FilmDescriptorReturns the film gauge format of this film descriptor. This is an optional property.
getFilmGaugeFormat in interface FilmDescriptorPropertyNotPresentException - This optional film gauge property
is not present for this film descriptor.public void setFilmGaugeFormat(String filmGuageFormat)
FilmDescriptorSets the film gauge format of this film descriptor. Set this optional property
to null to omit it.
setFilmGaugeFormat in interface FilmDescriptorfilmGuageFormat - Film gauge format if this film descriptor.public boolean equals(Object o)
MAJCommonTests 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 MAJCommonequals in class EssenceDescriptoro - Object to test for equality with.
Object.equals(Object)public int hashCode()
MAJCommonReturns a hash code value for this interchange object.
hashCode in interface MAJCommonhashCode in class EssenceDescriptorObject.hashCode()public FilmDescriptor clone()
MAJCommonCreates 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 MAJCommonclone in class EssenceDescriptorObject.clone()public 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 EssenceDescriptorparent - 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 | |||||||