fr.paris.lutece.plugins.workflow.modules.evaluation.business.synthesis
Enum SynthesisCriteria.Type

java.lang.Object
  extended by java.lang.Enum<SynthesisCriteria.Type>
      extended by fr.paris.lutece.plugins.workflow.modules.evaluation.business.synthesis.SynthesisCriteria.Type
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SynthesisCriteria.Type>
Enclosing class:
SynthesisCriteria

public static enum SynthesisCriteria.Type
extends java.lang.Enum<SynthesisCriteria.Type>

Type of the criteria.


Enum Constant Summary
CHECKBOX
          CHECKBOX has multiple available values.
DROPDOWNLIST
          drop down list has multiple available values
RADIOBUTTON
          Radio button has multiple available values
TEXT
          Text has no available value
 
Method Summary
 java.lang.String getI18nKey()
          Gets i18n key for this type
static SynthesisCriteria.Type valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SynthesisCriteria.Type[] 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

CHECKBOX

public static final SynthesisCriteria.Type CHECKBOX
CHECKBOX has multiple available values.


TEXT

public static final SynthesisCriteria.Type TEXT
Text has no available value


RADIOBUTTON

public static final SynthesisCriteria.Type RADIOBUTTON
Radio button has multiple available values


DROPDOWNLIST

public static final SynthesisCriteria.Type DROPDOWNLIST
drop down list has multiple available values

Method Detail

values

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

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

valueOf

public static SynthesisCriteria.Type 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

getI18nKey

public java.lang.String getI18nKey()
Gets i18n key for this type

Returns:
i18n key


Copyright © 2012 Mairie de Paris. All Rights Reserved.