public enum TypeCategory extends Enum<TypeCategory> implements MediaEnumerationValue
Specifies a categorisation of an AAF data type. The enumeration can be used to define the type of a property value.
The ordinal value used to represent a type category can be converted into an element of this
enumeration type using the fromOrdinal(int) method.
Original C name: eTypeCategory_e
TypeDefinition,
PropertyValue| Enum Constant and Description |
|---|
Character
Any character type.
|
Encrypted
Type can be determined at runtime but bits are encrypted.
|
Enum
Enumerated type.
|
ExtEnum
Extendible enumerated type.
|
FixedArray
Fixed-size array.
|
Indirect
Type must be determined at runtime.
|
Int
Any integral type.
|
Opaque
Type can be determined at runtime.
|
Record
A structured type.
|
Rename
Renamed type.
|
Set
Set of strong object references or set of weak object references.
|
Stream
Potentially huge amount of data.
|
String
Null-terminated variably-sized array of characters.
|
StrongObjRef
Strong object reference.
|
Unknown
Data type of the value is unknown.
|
VariableArray
Variably-sized array.
|
WeakObjRef
Weak object reference.
|
| Modifier and Type | Method and Description |
|---|---|
static TypeCategory |
fromOrdinal(int categoryIdentifier)
Returns the enumeration element representing the type category given by the
specified ordinal value.
|
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 TypeCategory |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TypeCategory[] |
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 TypeCategory Unknown
Data type of the value is unknown. This situation can only occur in damaged files.
public static final TypeCategory Int
Any integral type.
TypeDefinitionIntegerpublic static final TypeCategory Character
Any character type.
TypeDefinitionCharacterpublic static final TypeCategory StrongObjRef
Strong object reference.
TypeDefinitionStrongObjectReferencepublic static final TypeCategory WeakObjRef
Weak object reference.
TypeDefinitionWeakObjectReferencepublic static final TypeCategory Rename
Renamed type.
TypeDefinitionRenamepublic static final TypeCategory Enum
Enumerated type.
TypeDefinitionEnumerationpublic static final TypeCategory FixedArray
Fixed-size array.
TypeDefinitionFixedArraypublic static final TypeCategory VariableArray
Variably-sized array.
TypeDefinitionVariableArraypublic static final TypeCategory Set
Set of strong object references or set of weak object references.
TypeDefinitionSetpublic static final TypeCategory Record
A structured type.
TypeDefinitionRecordpublic static final TypeCategory Stream
Potentially huge amount of data.
TypeDefinitionStreampublic static final TypeCategory String
Null-terminated variably-sized array of characters.
TypeDefinitionStringpublic static final TypeCategory ExtEnum
Extendible enumerated type.
TypeDefinitionExtendibleEnumerationpublic static final TypeCategory Indirect
Type must be determined at runtime.
TypeDefinitionIndirectpublic static final TypeCategory Opaque
Type can be determined at runtime.
TypeDefinitionOpaquepublic static final TypeCategory Encrypted
Type can be determined at runtime but bits are encrypted.
public static TypeCategory[] values()
for (TypeCategory c : TypeCategory.values()) System.out.println(c);
public static TypeCategory 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 static final TypeCategory fromOrdinal(int categoryIdentifier)
Returns the enumeration element representing the type category given by the specified ordinal value.
categoryIdentifier - Specified ordinal representing a type category.Unknown
if the value is not recognised.public 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.