public enum MediaOpenMode extends Enum<MediaOpenMode> implements MediaEnumerationValue
Specifies whether media should be opened for reading only or whether it could be appended to.
Original C name: aafMediaOpenMode_e
MaterialPackage| Enum Constant and Description |
|---|
Append
Open media essence data with the ability to read and append to it.
|
ReadOnly
Open media essence data for reading only.
|
| 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 MediaOpenMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MediaOpenMode[] |
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 final MediaOpenMode ReadOnly
Open media essence data for reading only.
public static final MediaOpenMode Append
Open media essence data with the ability to read and append to it.
public static MediaOpenMode[] values()
for (MediaOpenMode c : MediaOpenMode.values()) System.out.println(c);
public static MediaOpenMode 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@Int64 public 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.