public interface DataDefinition extends DefinitionObject
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
Warehouse.lookup(Class, String) method of the MAJ warehouse.
DataDefinitionConstant,
Warehouse.lookup(Class, String),
Dictionary.getDataDefinitions(),
Component.getComponentDataDefinition(),
OperationDefinition.getOperationDataDefinition(),
TypeDefinitions.DataDefinitionWeakReference,
TypeDefinitions.DataDefinitionWeakReferenceSet,
TypeDefinitions.DataDefinitionWeakReferenceVector,
TypeDefinitions.DataDefinitionStrongReference,
TypeDefinitions.DataDefinitionStrongReferenceSet| Modifier and Type | Method and Description |
|---|---|
DataDefinition |
clone()
Create a cloned copy of this data definition.
|
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. |
getAUID, getDescription, getName, setDescription, setNameaddApplicationPlugin, clearApplicationPlugins, containsApplicationPlugin, containsApplicationPlugin, countApplicationPlugins, deepEquals, disableGenerationTracking, enableGenerationTracking, equals, getApplicationPlugins, getGeneration, getLinkedGenerationID, getObjectClass, isGenerationTracked, removeApplicationPlugin, removeApplicationPlugin, setLinkedGenerationID, setObjectClass, toStringgetPersistentID, setPersistentIndexgetWeakTargetReference@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.DescriptiveMetadataDataDefinition clone()
Create a cloned copy of this data definition.
clone in interface DefinitionObjectclone in interface InterchangeObjectclone in interface MediaEntity(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.