com.jurismarches.vradi
Enum VradiConfig.Option

java.lang.Object
  extended by java.lang.Enum<VradiConfig.Option>
      extended by com.jurismarches.vradi.VradiConfig.Option
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<VradiConfig.Option>, org.nuiton.util.ApplicationConfig.OptionDef
Enclosing class:
VradiConfig

public static enum VradiConfig.Option
extends java.lang.Enum<VradiConfig.Option>
implements org.nuiton.util.ApplicationConfig.OptionDef


Enum Constant Summary
CONFIG_FILE
           
FULL_SCREEN
           
LOCALE
           
 
Field Summary
 boolean _final
           
 boolean _transient
           
 java.lang.String defaultValue
           
 java.lang.String description
           
 java.lang.String key
           
 java.lang.Class<?> type
           
 
Method Summary
 java.lang.String getDefaultValue()
           
 java.lang.String getDescription()
           
 java.lang.String getKey()
           
 java.lang.Class<?> getType()
           
 boolean isFinal()
           
 boolean isTransient()
           
static VradiConfig.Option valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static VradiConfig.Option[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CONFIG_FILE

public static final VradiConfig.Option CONFIG_FILE

FULL_SCREEN

public static final VradiConfig.Option FULL_SCREEN

LOCALE

public static final VradiConfig.Option LOCALE
Field Detail

key

public final java.lang.String key

description

public final java.lang.String description

defaultValue

public final java.lang.String defaultValue

type

public final java.lang.Class<?> type

_transient

public final boolean _transient

_final

public final boolean _final
Method Detail

values

public static VradiConfig.Option[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (VradiConfig.Option c : VradiConfig.Option.values())
    System.out.println(c);

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

valueOf

public static VradiConfig.Option 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
java.lang.NullPointerException - if the argument is null

isFinal

public boolean isFinal()
Specified by:
isFinal in interface org.nuiton.util.ApplicationConfig.OptionDef

isTransient

public boolean isTransient()
Specified by:
isTransient in interface org.nuiton.util.ApplicationConfig.OptionDef

getDefaultValue

public java.lang.String getDefaultValue()
Specified by:
getDefaultValue in interface org.nuiton.util.ApplicationConfig.OptionDef

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface org.nuiton.util.ApplicationConfig.OptionDef

getKey

public java.lang.String getKey()
Specified by:
getKey in interface org.nuiton.util.ApplicationConfig.OptionDef

getType

public java.lang.Class<?> getType()
Specified by:
getType in interface org.nuiton.util.ApplicationConfig.OptionDef


Copyright © 2009 JurisMarches. All Rights Reserved.