|
Android Mobile Physical Therapy Exercise Documenter | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.communipatient.amptedapp.data.Exercise
public class Exercise
The representation of an exercise.
| Field Summary | |
|---|---|
protected java.lang.String |
description
The description of the exercise. |
protected java.util.List<Feedback> |
feedback
The patient feedback. |
protected java.lang.String |
frequency
The frequency that the exercise needs to be performed. |
protected int |
id
The identifier for the exercise. |
protected java.util.ArrayList<ExerciseImage> |
images
The list of images for the exercise. |
protected java.util.ArrayList<ExerciseModifier> |
modifiers
The list of modifiers for the exercise. |
protected java.lang.String |
name
The name of the exercise. |
protected java.lang.String |
notes
The PT's notes for the exercise. |
protected Parameters |
parameters
The parameters for the exercise. |
private static long |
serialVersionUID
The serial version UID. |
protected java.lang.String |
thumbimage
The url that specifies the thumbnail. |
protected java.lang.String |
video
The video identifier. |
| Constructor Summary | |
|---|---|
Exercise()
Initializes a new instance of an Exercise with all values set to blank. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Gets the description of the exercise. |
java.util.List<Feedback> |
getFeedback()
Gets the patient feedback. |
java.lang.String |
getFrequency()
Gets the frequency of the exercise. |
int |
getId()
Gets the identifier. |
ExerciseImage |
getImageByType(java.lang.String type)
Get an image specified by the type. |
java.util.ArrayList<ExerciseImage> |
getImages()
Gets the images for the exercise. |
java.util.ArrayList<ExerciseModifier> |
getModifiers()
Gets the modifiers for the exercise. |
java.lang.String |
getName()
Gets the name of the exercise. |
java.lang.String |
getNotes()
Gets the PT's notes. |
Parameters |
getParameters()
Gets the parameters for the exercise. |
java.lang.String |
getThumbimage()
Gets the thumbimage of the exercise. |
java.lang.String |
getVideo()
Gets the video identifier. |
boolean |
hasSeries()
Tests if the exercise has a series of images. |
void |
setDescription(java.lang.String description)
Sets the description of the exercise. |
void |
setFrequency(java.lang.String frequency)
Sets the frequency of the exercise. |
void |
setId(int id)
Sets the identifier. |
void |
setName(java.lang.String name)
Sets the name of the exercise. |
void |
setNotes(java.lang.String notes)
Sets the PT's notes. |
void |
setThumbimage(java.lang.String thumbimage)
Sets the thumbimage of the exercise. |
void |
setVideo(java.lang.String video)
Sets the video identifier. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
protected int id
protected java.lang.String name
protected java.lang.String description
protected java.lang.String video
protected java.lang.String thumbimage
protected java.util.ArrayList<ExerciseImage> images
protected java.util.ArrayList<ExerciseModifier> modifiers
protected java.lang.String frequency
protected Parameters parameters
protected java.lang.String notes
protected java.util.List<Feedback> feedback
| Constructor Detail |
|---|
public Exercise()
| Method Detail |
|---|
public int getId()
public void setId(int id)
id - The identifier to set.public java.lang.String getName()
public void setName(java.lang.String name)
name - The name of the exercise to set.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - The description of the exercise to set.public java.lang.String getVideo()
public void setVideo(java.lang.String video)
video - The video identifier to set.public java.lang.String getThumbimage()
public void setThumbimage(java.lang.String thumbimage)
thumbimage - The thumbimage of the exercise to set.public java.util.ArrayList<ExerciseImage> getImages()
public java.util.ArrayList<ExerciseModifier> getModifiers()
public java.lang.String getFrequency()
public void setFrequency(java.lang.String frequency)
frequency - The frequency to set.public Parameters getParameters()
public java.lang.String getNotes()
public void setNotes(java.lang.String notes)
notes - The notes to set.public java.util.List<Feedback> getFeedback()
public boolean hasSeries()
public ExerciseImage getImageByType(java.lang.String type)
type - The type.
|
Revision: 109 Generated on Sat Dec 10 07:00:03 UTC 2011 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||