Enum Class Project.BudgetMethod

Object
Enum<Project.BudgetMethod>
ch.aaap.harvestclient.domain.Project.BudgetMethod
All Implemented Interfaces:
Serializable, Comparable<Project.BudgetMethod>, Constable
Enclosing interface:
Project

public static enum Project.BudgetMethod extends Enum<Project.BudgetMethod>
  • Enum Constant Details

    • HOURS_PER_PROJECT

      @SerializedName("project") public static final Project.BudgetMethod HOURS_PER_PROJECT
    • TOTAL_PROJECT_FEES

      @SerializedName("project_cost") public static final Project.BudgetMethod TOTAL_PROJECT_FEES
    • HOURS_PER_TASK

      @SerializedName("task") public static final Project.BudgetMethod HOURS_PER_TASK
    • HOURS_PER_PERSON

      @SerializedName("person") public static final Project.BudgetMethod HOURS_PER_PERSON
    • NO_BUDGET

      @SerializedName("none") public static final Project.BudgetMethod NO_BUDGET
  • Method Details

    • values

      public static Project.BudgetMethod[] 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 Project.BudgetMethod 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