All Downloads are FREE. Search and download functionalities are using the official Maven repository.

t.21.120.2.source-code.ShoulderPressExerciseName Maven / Gradle / Ivy

There is a newer version: 21.141.0
Show newest version
/////////////////////////////////////////////////////////////////////////////////////////////
// Copyright 2023 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.120Release
// Tag = production/release/21.120.00-0-g2d77811
/////////////////////////////////////////////////////////////////////////////////////////////


package com.garmin.fit;

import java.util.HashMap;
import java.util.Map;

public class ShoulderPressExerciseName  {
    public static final int ALTERNATING_DUMBBELL_SHOULDER_PRESS = 0;
    public static final int ARNOLD_PRESS = 1;
    public static final int BARBELL_FRONT_SQUAT_TO_PUSH_PRESS = 2;
    public static final int BARBELL_PUSH_PRESS = 3;
    public static final int BARBELL_SHOULDER_PRESS = 4;
    public static final int DEAD_CURL_PRESS = 5;
    public static final int DUMBBELL_ALTERNATING_SHOULDER_PRESS_AND_TWIST = 6;
    public static final int DUMBBELL_HAMMER_CURL_TO_LUNGE_TO_PRESS = 7;
    public static final int DUMBBELL_PUSH_PRESS = 8;
    public static final int FLOOR_INVERTED_SHOULDER_PRESS = 9;
    public static final int WEIGHTED_FLOOR_INVERTED_SHOULDER_PRESS = 10;
    public static final int INVERTED_SHOULDER_PRESS = 11;
    public static final int WEIGHTED_INVERTED_SHOULDER_PRESS = 12;
    public static final int ONE_ARM_PUSH_PRESS = 13;
    public static final int OVERHEAD_BARBELL_PRESS = 14;
    public static final int OVERHEAD_DUMBBELL_PRESS = 15;
    public static final int SEATED_BARBELL_SHOULDER_PRESS = 16;
    public static final int SEATED_DUMBBELL_SHOULDER_PRESS = 17;
    public static final int SINGLE_ARM_DUMBBELL_SHOULDER_PRESS = 18;
    public static final int SINGLE_ARM_STEP_UP_AND_PRESS = 19;
    public static final int SMITH_MACHINE_OVERHEAD_PRESS = 20;
    public static final int SPLIT_STANCE_HAMMER_CURL_TO_PRESS = 21;
    public static final int SWISS_BALL_DUMBBELL_SHOULDER_PRESS = 22;
    public static final int WEIGHT_PLATE_FRONT_RAISE = 23;
    public static final int INVALID = Fit.UINT16_INVALID;

    private static final Map stringMap;

    static {
        stringMap = new HashMap();
        stringMap.put(ALTERNATING_DUMBBELL_SHOULDER_PRESS, "ALTERNATING_DUMBBELL_SHOULDER_PRESS");
        stringMap.put(ARNOLD_PRESS, "ARNOLD_PRESS");
        stringMap.put(BARBELL_FRONT_SQUAT_TO_PUSH_PRESS, "BARBELL_FRONT_SQUAT_TO_PUSH_PRESS");
        stringMap.put(BARBELL_PUSH_PRESS, "BARBELL_PUSH_PRESS");
        stringMap.put(BARBELL_SHOULDER_PRESS, "BARBELL_SHOULDER_PRESS");
        stringMap.put(DEAD_CURL_PRESS, "DEAD_CURL_PRESS");
        stringMap.put(DUMBBELL_ALTERNATING_SHOULDER_PRESS_AND_TWIST, "DUMBBELL_ALTERNATING_SHOULDER_PRESS_AND_TWIST");
        stringMap.put(DUMBBELL_HAMMER_CURL_TO_LUNGE_TO_PRESS, "DUMBBELL_HAMMER_CURL_TO_LUNGE_TO_PRESS");
        stringMap.put(DUMBBELL_PUSH_PRESS, "DUMBBELL_PUSH_PRESS");
        stringMap.put(FLOOR_INVERTED_SHOULDER_PRESS, "FLOOR_INVERTED_SHOULDER_PRESS");
        stringMap.put(WEIGHTED_FLOOR_INVERTED_SHOULDER_PRESS, "WEIGHTED_FLOOR_INVERTED_SHOULDER_PRESS");
        stringMap.put(INVERTED_SHOULDER_PRESS, "INVERTED_SHOULDER_PRESS");
        stringMap.put(WEIGHTED_INVERTED_SHOULDER_PRESS, "WEIGHTED_INVERTED_SHOULDER_PRESS");
        stringMap.put(ONE_ARM_PUSH_PRESS, "ONE_ARM_PUSH_PRESS");
        stringMap.put(OVERHEAD_BARBELL_PRESS, "OVERHEAD_BARBELL_PRESS");
        stringMap.put(OVERHEAD_DUMBBELL_PRESS, "OVERHEAD_DUMBBELL_PRESS");
        stringMap.put(SEATED_BARBELL_SHOULDER_PRESS, "SEATED_BARBELL_SHOULDER_PRESS");
        stringMap.put(SEATED_DUMBBELL_SHOULDER_PRESS, "SEATED_DUMBBELL_SHOULDER_PRESS");
        stringMap.put(SINGLE_ARM_DUMBBELL_SHOULDER_PRESS, "SINGLE_ARM_DUMBBELL_SHOULDER_PRESS");
        stringMap.put(SINGLE_ARM_STEP_UP_AND_PRESS, "SINGLE_ARM_STEP_UP_AND_PRESS");
        stringMap.put(SMITH_MACHINE_OVERHEAD_PRESS, "SMITH_MACHINE_OVERHEAD_PRESS");
        stringMap.put(SPLIT_STANCE_HAMMER_CURL_TO_PRESS, "SPLIT_STANCE_HAMMER_CURL_TO_PRESS");
        stringMap.put(SWISS_BALL_DUMBBELL_SHOULDER_PRESS, "SWISS_BALL_DUMBBELL_SHOULDER_PRESS");
        stringMap.put(WEIGHT_PLATE_FRONT_RAISE, "WEIGHT_PLATE_FRONT_RAISE");
    }


    /**
     * 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 - 2024 Weber Informatics LLC | Privacy Policy