public enum Boolean extends Enum<Boolean> implements MediaEnumerationValue
Representation of Boolean values as an enumeration, as per the AAF-defined representation.
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.
TypeDefinitions.Boolean,
Bool| Modifier and Type | Method and Description |
|---|---|
String |
symbol()
Provides a name for the enumeration value that can be used in XML serialisation.
|
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 are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOfnamepublic static 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 nameNullPointerException - if the argument is nullpublic long value()
MediaEnumerationValueReturns 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 MediaEnumerationValuepublic String symbol()
MediaEnumerationValueProvides a name for the enumeration value that can be used in XML serialisation. The name is unique within the namespace of the owning type.
As an example, the ChannelStatusModeType value ChannelStatusModeType.Fixed
value has the name "Fixed" and symbol "ChannelStatusMode_Fixed".
symbol in interface MediaEnumerationValue(c)2007-2016 Richard Cartwright, all rights reserved. Licensed under Apache 2 license and subject to the AMWA IPR policy.