Enum Class ETableOutputFormat

java.lang.Object
java.lang.Enum<ETableOutputFormat>
be.gaudry.model.disposition.ETableOutputFormat
All Implemented Interfaces:
Serializable, Comparable<ETableOutputFormat>, Constable

public enum ETableOutputFormat extends Enum<ETableOutputFormat>
Possibles output formats for Broldev tabular informations. Provided by the broldev.core.model project.
Since:
1.0 Jul 2, 2008, broldev.core.model 0.0.1-SNAPSHOT dependency
Version:
1.0 Jul 2, 2008
Author:
Steph GAUDRY
  • Enum Constant Details

  • Method Details

    • values

      public static ETableOutputFormat[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ETableOutputFormat valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getValue

      public int getValue()
      The value is a numeric representation of this ETableOutputFormat, independent of the Enum.ordinal() information.
      Returns:
      the value
    • toString

      public String toString()
      Returns a localized representation of an ETableOutputFormat, or the name of this enum constant (as contained in the declaration) if an error occurs when trying to use the language resource file.
      Overrides:
      toString in class Enum<ETableOutputFormat>
      Since:
      1.1 use localization
      See Also:
      LanguageHelper
    • fromInt

      public static ETableOutputFormat fromInt(int key)
      Parameters:
      key - numeric representation of the ETableOutputFormat,value given by the getValue() method.
      Returns:
      the matching ETableOutputFormat, or null in case of wrong parameter