Media Authoring
with Java API

tv.amwa.maj.enumeration
Enum FilmType

java.lang.Object
  extended by java.lang.Enum<FilmType>
      extended by tv.amwa.maj.enumeration.FilmType
All Implemented Interfaces:
Serializable, Comparable<FilmType>, AAFEnumerationValue

public enum FilmType
extends Enum<FilmType>
implements AAFEnumerationValue

Specifies the format of a film. The make "35MM" into a valid Java identifier, all elements are all preceded by "Ft" to become "Ft35MM".

Original C name: aafFilmType_e

Author:
Richard Cartwright
See Also:
FilmDescriptor, TypeDefinitionEnumeration.FilmType

Enum Constant Summary
Ft16MM
          16 millimetre film.
Ft35MM
          35 millimetre film.
Ft65MM
          65 millimetre film.
Ft8MM
          8 millimetre film.
FtNull
          Invalid film type.
 
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 FilmType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FilmType[] 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

FtNull

public static final FilmType FtNull

Invalid film type.


Ft35MM

public static final FilmType Ft35MM

35 millimetre film.


Ft16MM

public static final FilmType Ft16MM

16 millimetre film.


Ft8MM

public static final FilmType Ft8MM

8 millimetre film.


Ft65MM

public static final FilmType Ft65MM

65 millimetre film.

Method Detail

values

public static final FilmType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(FilmType c : FilmType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static FilmType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name

value

@Int64
public long value()
Description copied from interface: AAFEnumerationValue

Returns the unique integer value associated with an enumeration value, either according to the AAF specification and/or the current AAF meta dictionary.

Specified by:
value in interface AAFEnumerationValue
Returns:
Unique integer value associated with an enumeration constant.

Media Authoring
with Java API

(c) 2007-2008 Richard Cartwright, all rights reserved. Subject to the terms of the AAF SDK Public Source License.