public enum AppendOption extends Enum<AppendOption> implements MediaEnumerationValue
Specifies whether a file writing operation should append to or overwrite existing data.
Original C name aafAppendOption_e.
| Enum Constant and Description |
|---|
Append
Append to existing data.
|
ForceOverwrite
Forcefully overwrite existing data.
|
| 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 AppendOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AppendOption[] |
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 AppendOption Append
Append to existing data.
public static final AppendOption ForceOverwrite
Forcefully overwrite existing data.
public static AppendOption[] values()
for (AppendOption c : AppendOption.values()) System.out.println(c);
public static AppendOption 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.