Class ExerciseImpl
- java.lang.Object
-
- ai.vay.client.impl.common.model.motion.ExerciseImpl
-
-
Constructor Summary
Constructors Constructor Description ExerciseImpl(long key, java.lang.String name, java.util.List<Metric> metrics, java.util.List<BodyPointType> relevantBodyPointTypes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getKey()
Gets the exercise key.java.util.List<Metric>
getMetrics()
Gets the complete list ofMetric
s belonging to the exercise.java.lang.String
getName()
Gets the exercise name.java.util.List<BodyPointType>
getRelevantBodyPointTypes()
Gets the list ofBodyPointType
s that must be visible in frame for this exercise.
-
-
-
Constructor Detail
-
ExerciseImpl
public ExerciseImpl(long key, java.lang.String name, java.util.List<Metric> metrics, java.util.List<BodyPointType> relevantBodyPointTypes)
-
-
Method Detail
-
getKey
public long getKey()
Description copied from interface:Exercise
Gets the exercise key.
-
getName
public java.lang.String getName()
Description copied from interface:Exercise
Gets the exercise name.
-
getMetrics
public java.util.List<Metric> getMetrics()
Description copied from interface:Exercise
Gets the complete list ofMetric
s belonging to the exercise.- Specified by:
getMetrics
in interfaceExercise
- Returns:
- the list of metrics.
-
getRelevantBodyPointTypes
public java.util.List<BodyPointType> getRelevantBodyPointTypes()
Description copied from interface:Exercise
Gets the list ofBodyPointType
s that must be visible in frame for this exercise. Note that this list can be updated during the exercise for specific exercises.- Specified by:
getRelevantBodyPointTypes
in interfaceExercise
- Returns:
- list of relevant body point types.
-
-