public static enum LookupTable.Strategy extends Enum<LookupTable.Strategy>
Defines the kind of strategy used to represent a particular AAF data type in the MAJ API.
| Enum Constant and Description |
|---|
AbstractUnion
The representation of a data type in the C-based AAF SDK defined as a
union. |
Annotation
The representation of an AAF data type using a Java class or
primitive type that should also be labelled with an annotation taken
from the integer or
miscellaneous type packages.
|
Class
The representation of an AAF data type using a Java interface and
implementing class.
|
Enumeration
The representation of the AAF data type uses a Java
enumeration.
|
| Modifier and Type | Method and Description |
|---|---|
static LookupTable.Strategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LookupTable.Strategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LookupTable.Strategy Enumeration
The representation of the AAF data type uses a Java
enumeration. For example, the AAF
enumeration EditHintType defined in the AAF object
specification is represented by the Java enumeration
EditHintType. All such enumerations
are defined in the enumeration
package.
public static final LookupTable.Strategy Class
The representation of an AAF data type using a Java interface and
implementing class. For example, the AAF data type
Timestamp is represented in Java by the interface
TimeStamp. The fields of the AAF data
type as defined as a C structure in the AAF SDK have been translated
to get and set methods of the interface.
public static final LookupTable.Strategy Annotation
The representation of an AAF data type using a Java class or
primitive type that should also be labelled with an annotation taken
from the integer or
miscellaneous type packages.
For example, the FrameOffset AAF type is represented in Java by the
primitive type long and values should be labelled with
the Java annotation FrameOffset.
public static final LookupTable.Strategy AbstractUnion
The representation of a data type in the C-based AAF SDK defined as a
union. This is represented in Java as an abstract
interface that is inherited by sub-interfaces representing the
alternative values of the C union. Examples of interfaces for
abstract union classes can be found in the union
package, with implementations in the argument
package.
public static LookupTable.Strategy[] values()
for (LookupTable.Strategy c : LookupTable.Strategy.values()) System.out.println(c);
public static LookupTable.Strategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.