|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Boolean>
tv.amwa.maj.enumeration.Boolean
public enum Boolean
Representation of Boolean values as an enumeration. This enumeration is provided to enable the instantiation
of the AAF boolean data type as an enumeration
in Java.
However, all boolean properties in the MAJ API are actually represented as Java boolean
values,
often annotated with Bool
.
TypeDefinitionEnumeration.Boolean
,
Bool
Enum Constant Summary | |
---|---|
False
|
|
True
|
Method Summary | |
---|---|
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. |
static Boolean |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Boolean[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface tv.amwa.maj.enumeration.AAFEnumerationValue |
---|
name |
Enum Constant Detail |
---|
public static final Boolean False
public static final Boolean True
Method Detail |
---|
public static final Boolean[] values()
for(Boolean c : Boolean.values()) System.out.println(c);
public static Boolean valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic long value()
AAFEnumerationValue
Returns the unique integer value associated with an enumeration value, either according to the AAF specification and/or the current AAF meta dictionary.
value
in interface AAFEnumerationValue
|
Media Authoring with Java API |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |