|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataDefinition
Specifies a definition for the kind of data that can be stored in a component.
Section 22.1 of the AAF object specification
v1.1 lists the built-in data definitions of the AAF. These can be retrieved by name via the
dataDefinitionForName()
method of an AAF factory.
makeDataDefinition()
,
DataDefinitionConstant
,
AAFFactory.dataDefinitionForName(String)
,
DataDefinition.forName(String)
,
DataDefinition.forIdentification(tv.amwa.maj.record.AUID)
,
Dictionary.getDataDefinitions()
Method Summary | |
---|---|
boolean |
doesDataDefConvertFrom(DataDefinition dataDefinition)
Returns true if data represented by this type of
data definition can be created by converting from the type
represented by the given data definition. |
boolean |
doesDataDefConvertTo(DataDefinition dataDefinition)
Returns true if the data represented by this data
definition can be converted to the data definition given as an argument. |
boolean |
isAuxilaryKind()
Returns true if the data definition represents
Auxiliary data; otherwise false . |
boolean |
isDataDefOf(DataDefinition dataDefinition)
Returns true is this data definition matches the
data definition provided in the parameter; otherwise false . |
boolean |
isDescriptiveMetadataKind()
Returns true if the data definition represents
data that is descriptive metadata; otherwise false . |
boolean |
isEdgecodeKind()
Returns true if the data definition represents
data that is a stream of film edge code values; otherwise
false . |
boolean |
isMatteKind()
Returns true in the data definition is a matte, in
other words a stream of essence that contains an image of alpha
values; otherwise false . |
boolean |
isPictureKind()
Returns true is the data definition is a picture only;
otherwise returns false . |
boolean |
isPictureWithMatteKind()
Returns true if the data definition is for a picture
with a matte; otherwise returns false . |
boolean |
isSoundKind()
Returns true is a data definition corresponds to
sound data; otherwise returns false. |
boolean |
isTimecodeKind()
Returns true if the data definition represents
data that is a stream of tape timecode values; otherwise
false . |
Methods inherited from interface tv.amwa.maj.iface.DefinitionObject |
---|
getAUID, getDescription, getName, setDescription, setName |
Methods inherited from interface tv.amwa.maj.iface.InterchangeObject |
---|
countProperties, createOptionalPropertyValue, disableGenerationTracking, enableGenerationTracking, getDefinition, getGeneration, getGenerationAUID, getProperties, getPropertyValue, isGenerationTracked, isPropertyPresent, omitOpionalProperty, setPropertyValue |
Method Detail |
---|
@Bool boolean isPictureKind()
Returns true
is the data definition is a picture only;
otherwise returns false
.
DataDefinitionConstant.Picture
@Bool boolean isMatteKind()
Returns true
in the data definition is a matte, in
other words a stream of essence that contains an image of alpha
values; otherwise false
.
DataDefinitionConstant.Matte
@Bool boolean isPictureWithMatteKind()
Returns true
if the data definition is for a picture
with a matte; otherwise returns false
. Pictures like this
have both picture data alpha values.
DataDefinitionConstant.PictureWithMatte
@Bool boolean isSoundKind()
Returns true
is a data definition corresponds to
sound data; otherwise returns false.
DataDefinitionConstant.Sound
@Bool boolean doesDataDefConvertTo(DataDefinition dataDefinition) throws NullPointerException
Returns true
if the data represented by this data
definition can be converted to the data definition given as an argument.
Matching takes place passed on the name
property of the data definition.
dataDefinition
- Data definition to compare this data definition with.
NullPointerException
- The given data definition is null
.@Bool boolean isDataDefOf(DataDefinition dataDefinition) throws NullPointerException
Returns true
is this data definition matches the
data definition provided in the parameter; otherwise false
.
Matching takes place using the name property of the definition.
dataDefinition
- Data definition to compare with.
NullPointerException
- The given data definition is null
.@Bool boolean doesDataDefConvertFrom(DataDefinition dataDefinition) throws NullPointerException
Returns true
if data represented by this type of
data definition can be created by converting from the type
represented by the given data definition. Matching takes place based
on the name property
of the given
data definition.
dataDefinition
- Data definition of the type of data to be converted from.
NullPointerException
- Argument is null.@Bool boolean isEdgecodeKind()
Returns true
if the data definition represents
data that is a stream of film edge code values; otherwise
false
.
DataDefinitionConstant.Edgecode
@Bool boolean isTimecodeKind()
Returns true
if the data definition represents
data that is a stream of tape timecode values; otherwise
false
.
DataDefinitionConstant.Timecode
@Bool boolean isAuxilaryKind()
Returns true
if the data definition represents
Auxiliary data; otherwise false
.
DataDefinitionConstant.Auxiliary
@Bool boolean isDescriptiveMetadataKind()
Returns true
if the data definition represents
data that is descriptive metadata; otherwise false
.
DataDefinitionConstant.DescriptiveMetadata
|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |