fr.paris.lutece.plugins.ods.dto.horodatage
Enum HorodatageActionEnum

java.lang.Object
  extended by java.lang.Enum<HorodatageActionEnum>
      extended by fr.paris.lutece.plugins.ods.dto.horodatage.HorodatageActionEnum
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<HorodatageActionEnum>

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

HorodatageActionEnum


Enum Constant Summary
DE_PUBLICATION
           
MODIFICATION
           
PUBLICATION
           
 
Method Summary
static HorodatageActionEnum getHorodatageActionEnum(int id)
          renvoie l'enum correspondant à l'id passé en parametre
 int getId()
          Renvoie l'identifiant
static HorodatageActionEnum valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static HorodatageActionEnum[] 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

MODIFICATION

public static final HorodatageActionEnum MODIFICATION

PUBLICATION

public static final HorodatageActionEnum PUBLICATION

DE_PUBLICATION

public static final HorodatageActionEnum DE_PUBLICATION
Method Detail

values

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

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

valueOf

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

getId

public int getId()
Renvoie l'identifiant

Returns:
l'identifiant

getHorodatageActionEnum

public static HorodatageActionEnum getHorodatageActionEnum(int id)
renvoie l'enum correspondant à l'id passé en parametre

Parameters:
id - de l'enum à recupere
Returns:
l'enum correspondant à l'id passé en parametre


Copyright © 2010 Mairie de Paris. All Rights Reserved.