Media Authoring
with Java API

tv.amwa.maj.enumeration
Enum CriteriaType

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

public enum CriteriaType
extends Enum<CriteriaType>
implements AAFEnumerationValue

A criteria can be used to select media by the kind of representation for that media. Criteria include the fastest representation, best fidelity or smallest storage space.

Author:
Richard Cartwright
See Also:
Header.getEssenceData(CriteriaType), ContentStorage.getEssenceData(CriteriaType), MasterMob

Enum Constant Summary
AnyRepresentation
          Any representation of the media is acceptable.
BestFidelityRepresentation
          A representation of the media with the best fidelity (highest quality) is preferred.
FastestRepresentation
          A representation of the media that is fastest to process with the associated codec is preferred.
SmallestRepresentation
          The version of the media that takes up the smallest amount of storage space is preferred.
 
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 CriteriaType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CriteriaType[] 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

AnyRepresentation

public static final CriteriaType AnyRepresentation

Any representation of the media is acceptable.


FastestRepresentation

public static final CriteriaType FastestRepresentation

A representation of the media that is fastest to process with the associated codec is preferred.


BestFidelityRepresentation

public static final CriteriaType BestFidelityRepresentation

A representation of the media with the best fidelity (highest quality) is preferred.


SmallestRepresentation

public static final CriteriaType SmallestRepresentation

The version of the media that takes up the smallest amount of storage space is preferred.

Method Detail

values

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

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

valueOf

public static CriteriaType 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.