Enum Class Charge.EColumn

java.lang.Object
java.lang.Enum<Charge.EColumn>
org.compiere.apps.form.Charge.EColumn
All Implemented Interfaces:
Serializable, Comparable<Charge.EColumn>, Constable
Enclosing class:
Charge

public static enum Charge.EColumn extends Enum<Charge.EColumn>
Enumeration of column names and indices.
  • Enum Constant Details

    • SELECT

      public static final Charge.EColumn SELECT
      Select column to record whether the account is selected.
    • VALUE

      public static final Charge.EColumn VALUE
      Value column to hold the account key.
    • NAME

      public static final Charge.EColumn NAME
      Name column to hold the account name.
    • EXPENSE

      public static final Charge.EColumn EXPENSE
      Expense column to indicate whether or not the account is an expense account.
  • Method Details

    • values

      public static Charge.EColumn[] 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 Charge.EColumn 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
    • title

      public String title()
      Gets the name of the column.
      Returns:
      the column's name
    • index

      public int index()
      Returns:
      column index (start from 0)