java.lang.Object
java.lang.Enum<MeasureT>
org.bremersee.garmin.activitygoals.v1.model.ext.MeasureT
All Implemented Interfaces:
Serializable, Comparable<MeasureT>, Constable

public enum MeasureT extends Enum<MeasureT>

Java class for Measure_t.

The following schema fragment specifies the expected content contained within this class.


 <simpleType name="Measure_t">
   <restriction base="{http://www.garmin.com/xmlschemas/ActivityGoals/v1}Token_t">
     <enumeration value="DistanceMeters"/>
     <enumeration value="TimeSeconds"/>
     <enumeration value="NumberOfSessions"/>
     <enumeration value="Calories"/>
   </restriction>
 </simpleType>
 
  • Enum Constant Details

    • DISTANCE_METERS

      public static final MeasureT DISTANCE_METERS
    • TIME_SECONDS

      public static final MeasureT TIME_SECONDS
    • NUMBER_OF_SESSIONS

      public static final MeasureT NUMBER_OF_SESSIONS
    • CALORIES

      public static final MeasureT CALORIES
  • Method Details

    • values

      public static MeasureT[] 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 MeasureT 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
    • value

      public String value()
    • fromValue

      public static MeasureT fromValue(String v)