org.jsmiparser.smi
Enum StatusAll

java.lang.Object
  extended by java.lang.Enum<StatusAll>
      extended by org.jsmiparser.smi.StatusAll
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<StatusAll>

public enum StatusAll
extends java.lang.Enum<StatusAll>


Enum Constant Summary
CURRENT
           
DEPRECATED
           
MANDATORY
           
OBSOLETE
           
OPTIONAL
           
 
Method Summary
static StatusAll find(java.lang.String keyword, boolean mandatory)
           
static StatusAll findV1(MacroType macroType, java.lang.String keyword)
           
 StatusV1 getStatusV1()
           
 StatusV2 getStatusV2()
           
 boolean isSupportedBy(MacroType macroType)
           
 java.lang.String toString()
           
static StatusAll valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static StatusAll[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MANDATORY

public static final StatusAll MANDATORY

OPTIONAL

public static final StatusAll OPTIONAL

OBSOLETE

public static final StatusAll OBSOLETE

DEPRECATED

public static final StatusAll DEPRECATED

CURRENT

public static final StatusAll CURRENT
Method Detail

values

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

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

valueOf

public static StatusAll valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<StatusAll>

find

public static StatusAll find(java.lang.String keyword,
                             boolean mandatory)

getStatusV1

public StatusV1 getStatusV1()

getStatusV2

public StatusV2 getStatusV2()

findV1

public static StatusAll findV1(MacroType macroType,
                               java.lang.String keyword)

isSupportedBy

public boolean isSupportedBy(MacroType macroType)


Copyright © 2005-2007 null. All Rights Reserved.