Android Mobile Physical Therapy Exercise Documenter

com.communipatient.amptedapp.data
Class Parameters

java.lang.Object
  extended by com.communipatient.amptedapp.data.Parameters
All Implemented Interfaces:
java.io.Serializable

public class Parameters
extends java.lang.Object
implements java.io.Serializable

The representation of the exercise parameters.

See Also:
Serialized Form

Field Summary
protected  int reps
          The value for either reps for the exercise.
private static long serialVersionUID
          The serial version UID.
protected  int sets
          The number of sets for the exercise.
protected  int time
          The amount of time for the exercise.
protected  java.lang.String timeunits
           
 
Constructor Summary
Parameters()
          Initializes a new instances of the Parameters class with default values.
Parameters(int sets, int reps, int time, java.lang.String timeunits)
          Initializes a new instance of the Parameters class.
 
Method Summary
 int getReps()
          Gets the number of reps.
 java.lang.String getRepsString()
          Gets the string representation of the reps.
 int getSets()
          Gets the number of sets.
 java.lang.String getSetsString()
          Gets the string representation of the sets.
 int getTime()
          Gets the amount of time.
 java.lang.String getTimeString()
          Gets the string representation of the time.
 java.lang.String getTimeunits()
          Gets the time units.
 java.lang.String getTimeWithUnits()
          Gets the time with the units.
 void setReps(int reps)
          Sets the number of reps.
 void setSets(int sets)
          Sets the number of sets.
 void setTime(int time)
          Sets the amount of time.
 void setTimeunits(java.lang.String timeunits)
          Sets the time units.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
The serial version UID.

See Also:
Constant Field Values

sets

protected int sets
The number of sets for the exercise.


reps

protected int reps
The value for either reps for the exercise.


time

protected int time
The amount of time for the exercise.


timeunits

protected java.lang.String timeunits
Constructor Detail

Parameters

public Parameters()
Initializes a new instances of the Parameters class with default values.


Parameters

public Parameters(int sets,
                  int reps,
                  int time,
                  java.lang.String timeunits)
Initializes a new instance of the Parameters class.

Parameters:
sets - The number of sets.
reps - The value of reps.
time - The amount of time.
timeunits - The units of time.
Method Detail

getSets

public int getSets()
Gets the number of sets.

Returns:
The number of sets.

getSetsString

public java.lang.String getSetsString()
Gets the string representation of the sets.

Returns:
The number of sets.

setSets

public void setSets(int sets)
Sets the number of sets.

Parameters:
sets - The number of sets to set.

getReps

public int getReps()
Gets the number of reps.

Returns:
The number of reps.

getRepsString

public java.lang.String getRepsString()
Gets the string representation of the reps.

Returns:
The number of reps.

setReps

public void setReps(int reps)
Sets the number of reps.

Parameters:
reps - The reps to set.

getTime

public int getTime()
Gets the amount of time.

Returns:
The amount of time.

getTimeString

public java.lang.String getTimeString()
Gets the string representation of the time.

Returns:
The number of time.

setTime

public void setTime(int time)
Sets the amount of time.

Parameters:
time - The amount of time to set.

getTimeunits

public java.lang.String getTimeunits()
Gets the time units.

Returns:
The time units.

setTimeunits

public void setTimeunits(java.lang.String timeunits)
Sets the time units.

Parameters:
timeunits - The time units to set

getTimeWithUnits

public java.lang.String getTimeWithUnits()
Gets the time with the units.

Returns:
The time with units.

Revision: 109 Generated on Sat Dec 10 07:00:03 UTC 2011