|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
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 |
---|
@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.
String name()
Returns the unique name associated with the enumeration constant. For Java enumerations,
this is established by calling Enum.name()
.
|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |