Media Authoring
with Java API

tv.amwa.maj.enumeration
Interface AAFEnumerationValue

All Known Implementing Classes:
AlphaTransparencyType, AppendOption, AuxBitsModeType, Boolean, ByteOrder, ChannelStatusModeType, ColorSitingType, ColorSpace, CompressEnable, ContentScanningType, CriteriaType, DefinitionCriteriaType, DefinitionKind, Depend, EdgeType, EditHintType, ElectroSpatialFormulation, EmphasisType, FadeType, FieldNumber, FileRev, FilmType, IdentificationCriteriaType, IncludedMedia, LayoutType, MaterialType, MediaOpenMode, MobKind, OperationChoice, ProductReleaseType, PulldownDirectionType, PulldownKindType, ReferenceType, RGBAComponentKind, ScanningDirectionType, SearchTag, SignalStandardType, TapeCaseType, TapeFormatType, TCSource, TypeCategory, UserDataModeType, VideoSignalType

public interface AAFEnumerationValue

Implemented by enumeration specifications that includes an integer value representing an AAF enumeration data type. Every enumeration constant must provide a unique ordinal value over the set of all enumeration constants of the same enumeration type. For AAF data types, this should be the same ordinal value as provided in the AAF object specification and/or current AAF meta dictionary.

During the creation of instances of TypeDefinitionEnumeration from the associated Java enumeration, calling the value() method provides the ElementValues property.

All built-in enumerations specified for AAF must implement this interface. Other enumerations may implement this interface to indicate that they associate an ordinal value with each enumeration element.

Author:
Richard Cartwright
See Also:
TypeDefinitionEnumeration, TypeDefinitionEnumeration

Method Summary
 String name()
          Returns the unique name associated with the enumeration constant.
 long value()
          Returns the unique integer value associated with an enumeration value, either according to the AAF specification and/or the current AAF meta dictionary.
 

Method Detail

value

@Int64
long value()

Returns the unique integer value associated with an enumeration value, either according to the AAF specification and/or the current AAF meta dictionary.

Returns:
Unique integer value associated with an enumeration constant.

name

String name()

Returns the unique name associated with the enumeration constant. For Java enumerations, this is established by calling Enum.name().

Returns:
Unique name of the enumeration value.

Media Authoring
with Java API

(c) 2007-2008 Richard Cartwright, all rights reserved. Subject to the terms of the AAF SDK Public Source License.