com.garmin.fit.FlyeExerciseName Maven / Gradle / Ivy
/////////////////////////////////////////////////////////////////////////////////////////////
// Copyright 2024 Garmin International, Inc.
// Licensed under the Flexible and Interoperable Data Transfer (FIT) Protocol License; you
// may not use this file except in compliance with the Flexible and Interoperable Data
// Transfer (FIT) Protocol License.
/////////////////////////////////////////////////////////////////////////////////////////////
// ****WARNING**** This file is auto-generated! Do NOT edit this file.
// Profile Version = 21.158.0Release
// Tag = production/release/21.158.0-0-gc9428aa
/////////////////////////////////////////////////////////////////////////////////////////////
package com.garmin.fit;
import java.util.HashMap;
import java.util.Map;
public class FlyeExerciseName {
public static final int CABLE_CROSSOVER = 0;
public static final int DECLINE_DUMBBELL_FLYE = 1;
public static final int DUMBBELL_FLYE = 2;
public static final int INCLINE_DUMBBELL_FLYE = 3;
public static final int KETTLEBELL_FLYE = 4;
public static final int KNEELING_REAR_FLYE = 5;
public static final int SINGLE_ARM_STANDING_CABLE_REVERSE_FLYE = 6;
public static final int SWISS_BALL_DUMBBELL_FLYE = 7;
public static final int ARM_ROTATIONS = 8;
public static final int HUG_A_TREE = 9;
public static final int INVALID = Fit.UINT16_INVALID;
private static final Map stringMap;
static {
stringMap = new HashMap();
stringMap.put(CABLE_CROSSOVER, "CABLE_CROSSOVER");
stringMap.put(DECLINE_DUMBBELL_FLYE, "DECLINE_DUMBBELL_FLYE");
stringMap.put(DUMBBELL_FLYE, "DUMBBELL_FLYE");
stringMap.put(INCLINE_DUMBBELL_FLYE, "INCLINE_DUMBBELL_FLYE");
stringMap.put(KETTLEBELL_FLYE, "KETTLEBELL_FLYE");
stringMap.put(KNEELING_REAR_FLYE, "KNEELING_REAR_FLYE");
stringMap.put(SINGLE_ARM_STANDING_CABLE_REVERSE_FLYE, "SINGLE_ARM_STANDING_CABLE_REVERSE_FLYE");
stringMap.put(SWISS_BALL_DUMBBELL_FLYE, "SWISS_BALL_DUMBBELL_FLYE");
stringMap.put(ARM_ROTATIONS, "ARM_ROTATIONS");
stringMap.put(HUG_A_TREE, "HUG_A_TREE");
}
/**
* Retrieves the String Representation of the Value
* @param value The enum constant
* @return The name of this enum contsant
*/
public static String getStringFromValue( Integer value ) {
if( stringMap.containsKey( value ) ) {
return stringMap.get( value );
}
return "";
}
/**
* Returns the enum constant with the specified name.
* @param value The enum string value
* @return The enum constant or INVALID if unknown
*/
public static Integer getValueFromString( String value ) {
for( Map.Entry entry : stringMap.entrySet() ) {
if( entry.getValue().equals( value ) ) {
return entry.getKey();
}
}
return INVALID;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy