Media Authoring
with Java API

tv.amwa.maj.enumeration
Enum MobKind

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

public enum MobKind
extends Enum<MobKind>
implements AAFEnumerationValue

Specifies the kind of a media object (mob). This is used when searching for a mob.

Author:
Richard Cartwright
See Also:
Mob, ContentStorage.countMobs(MobKind)

Enum Constant Summary
AllMob
          Matches any mob.
CompositionMob
          Mob is a composition mob.
FileMob
          Mob is a source mob described by a file descriptor.
FilmMob
          Mob is a source mob described by a film descriptor.
MasterMob
          Mob is a master mob.
PhysicalMob
          Mob is a source mob described by a physical descriptor.
PrimaryMob
          TODO add a definition of primary mob here
TapeMob
          Mob is a source mob described by a tape descriptor.
 
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 MobKind valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MobKind[] 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

CompositionMob

public static final MobKind CompositionMob

Mob is a composition mob.


MasterMob

public static final MobKind MasterMob

Mob is a master mob.


FileMob

public static final MobKind FileMob

Mob is a source mob described by a file descriptor.


TapeMob

public static final MobKind TapeMob

Mob is a source mob described by a tape descriptor.


FilmMob

public static final MobKind FilmMob

Mob is a source mob described by a film descriptor.


PrimaryMob

public static final MobKind PrimaryMob
TODO add a definition of primary mob here

Mob is a master mob and the primary mob within its package.


AllMob

public static final MobKind AllMob

Matches any mob.


PhysicalMob

public static final MobKind PhysicalMob

Mob is a source mob described by a physical descriptor.

Method Detail

values

public static final MobKind[] 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(MobKind c : MobKind.values())
        System.out.println(c);

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

valueOf

public static MobKind 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.
See Also:
AAFEnumerationValue.value()

Media Authoring
with Java API

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