org.jboss.security.config.jaxb
Enum ModuleOptionFlag

java.lang.Object
  extended by java.lang.Enum<ModuleOptionFlag>
      extended by org.jboss.security.config.jaxb.ModuleOptionFlag
All Implemented Interfaces:
Serializable, Comparable<ModuleOptionFlag>

public enum ModuleOptionFlag
extends Enum<ModuleOptionFlag>

Java class for module-option-flag.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="module-option-flag">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="required"/>
     <enumeration value="requisite"/>
     <enumeration value="sufficient"/>
     <enumeration value="optional"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
OPTIONAL
           
REQUIRED
           
REQUISITE
           
SUFFICIENT
           
 
Method Summary
static ModuleOptionFlag fromValue(String v)
           
 String value()
           
static ModuleOptionFlag valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ModuleOptionFlag[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

REQUIRED

public static final ModuleOptionFlag REQUIRED

REQUISITE

public static final ModuleOptionFlag REQUISITE

SUFFICIENT

public static final ModuleOptionFlag SUFFICIENT

OPTIONAL

public static final ModuleOptionFlag OPTIONAL
Method Detail

values

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

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

valueOf

public static ModuleOptionFlag 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

public String value()

fromValue

public static ModuleOptionFlag fromValue(String v)


Copyright © 2009 JBoss Inc.. All Rights Reserved.