Media Authoring
with Java API

tv.amwa.maj.union
Enum SearchTag

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

public enum SearchTag
extends Enum<SearchTag>
implements AAFEnumerationValue

Specifies the type of criteria used to match mobs in a search criteria.

Original C name: aafSearchTag_e

Author:
Richard Cartwright
See Also:
SearchCriteria

Enum Constant Summary
ByClass
          Criteria that matches mobs by their class id.
ByCompositionMobUsageCode
          Criteria that matches composition mobs by their usage code.
ByDataDef
          Criteria that matches mobs by their data definition.
ByMasterMobUsageCode
          Criteria that matches master mobs by their usage code.
ByMediaCrit
          Criteria that matches mobs by their media criteria type.
ByMobID
          Criteria that matches mobs by their mob id.
ByMobKind
          Criteria that matches mobs by their kind.
ByName
          Criteria that matches mobs by their name.
BySourceMobUsageCode
          Criteria that matches source mobs by their usage code.
ByUsageCode
          Criteria that matches all mobs by their usage code.
NoSearch
          Criteria that matches nothing.
 
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 SearchTag valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SearchTag[] 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

NoSearch

public static final SearchTag NoSearch

Criteria that matches nothing.

See Also:
SearchForNothing

ByMobID

public static final SearchTag ByMobID

Criteria that matches mobs by their mob id.

See Also:
SearchByMobID

ByMobKind

public static final SearchTag ByMobKind

Criteria that matches mobs by their kind.

See Also:
SearchByMobKind

ByName

public static final SearchTag ByName

Criteria that matches mobs by their name.

See Also:
SearchByName

ByClass

public static final SearchTag ByClass

Criteria that matches mobs by their class id.

See Also:
SearchByAUID

ByDataDef

public static final SearchTag ByDataDef

Criteria that matches mobs by their data definition.

See Also:
SearchByAUID

ByMediaCrit

public static final SearchTag ByMediaCrit

Criteria that matches mobs by their media criteria type.

See Also:
SearchByMediaCriteria

ByUsageCode

public static final SearchTag ByUsageCode

Criteria that matches all mobs by their usage code.

See Also:
SearchByAUID, TypeDefinitionExtendibleEnumeration.UsageType, Mob.getUsageCode()

ByMasterMobUsageCode

public static final SearchTag ByMasterMobUsageCode

Criteria that matches master mobs by their usage code.

See Also:
SearchByAUID, TypeDefinitionExtendibleEnumeration.UsageType, Mob.getUsageCode()

BySourceMobUsageCode

public static final SearchTag BySourceMobUsageCode

Criteria that matches source mobs by their usage code.

See Also:
SearchByAUID, TypeDefinitionExtendibleEnumeration.UsageType, Mob.getUsageCode()

ByCompositionMobUsageCode

public static final SearchTag ByCompositionMobUsageCode

Criteria that matches composition mobs by their usage code.

See Also:
SearchByAUID, TypeDefinitionExtendibleEnumeration.UsageType, Mob.getUsageCode()
Method Detail

values

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

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

valueOf

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