fr.paris.lutece.plugins.helpdesk.web
Enum EnumColumns

java.lang.Object
  extended by java.lang.Enum<EnumColumns>
      extended by fr.paris.lutece.plugins.helpdesk.web.EnumColumns
All Implemented Interfaces:
Serializable, Comparable<EnumColumns>

public enum EnumColumns
extends Enum<EnumColumns>

Specify the list of mandatory columns in CSV file


Enum Constant Summary
ANSWER
           
ORDER_ID
           
QUESTION
           
SUBJECT_ID
           
 
Method Summary
static EnumColumns getByName(String strName)
          Get the EnumColumns by name
 String getName()
          Get the Column name
static EnumColumns valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EnumColumns[] 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

SUBJECT_ID

public static final EnumColumns SUBJECT_ID

QUESTION

public static final EnumColumns QUESTION

ANSWER

public static final EnumColumns ANSWER

ORDER_ID

public static final EnumColumns ORDER_ID
Method Detail

values

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

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

valueOf

public static EnumColumns 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
NullPointerException - if the argument is null

getName

public String getName()
Get the Column name

Returns:
The column name

getByName

public static EnumColumns getByName(String strName)
Get the EnumColumns by name

Parameters:
strName - The column name
Returns:
The EnumColumns


Copyright © 2013 Mairie de Paris. All Rights Reserved.