Android Mobile Physical Therapy Exercise Documenter

com.communipatient.amptedapp.data
Class ExerciseImage

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

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

The representation of an exercise image.

See Also:
Serialized Form

Field Summary
protected  int position
          The position of the image.
private static long serialVersionUID
          The serial version UID.
protected  java.lang.String type
          The type of the image.
protected  java.lang.String url
          The url for the image.
 
Constructor Summary
ExerciseImage()
          Initializes a new instance of the ExerciseImage class with blank values.
ExerciseImage(java.lang.String type, java.lang.String url, int position)
          Initializes a new instance of the ExerciseImage class.
 
Method Summary
 int getPosition()
          Gets the position.
 java.lang.String getType()
          Gets the type of the image.
 java.lang.String getUrl()
          Gets the url of the image.
 void setPosition(int position)
          Sets the position.
 void setPosition(java.lang.String position)
          Sets the position.
 void setType(java.lang.String type)
          Sets the type of the image.
 void setUrl(java.lang.String url)
          Sets the url of the image.
 
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

type

protected java.lang.String type
The type of the image.


url

protected java.lang.String url
The url for the image.


position

protected int position
The position of the image.

Constructor Detail

ExerciseImage

public ExerciseImage()
Initializes a new instance of the ExerciseImage class with blank values.


ExerciseImage

public ExerciseImage(java.lang.String type,
                     java.lang.String url,
                     int position)
Initializes a new instance of the ExerciseImage class.

Parameters:
type - The type of the image.
url - The url for the image.
position - The position of the image.
Method Detail

getType

public java.lang.String getType()
Gets the type of the image.

Returns:
The type of the image.

setType

public void setType(java.lang.String type)
Sets the type of the image.

Parameters:
type - The type of the image to set.

getUrl

public java.lang.String getUrl()
Gets the url of the image.

Returns:
The url of the image.

setUrl

public void setUrl(java.lang.String url)
Sets the url of the image.

Parameters:
url - The url of the image to set.

getPosition

public int getPosition()
Gets the position.

Returns:
The position.

setPosition

public void setPosition(int position)
Sets the position.

Parameters:
position - The position to set.

setPosition

public void setPosition(java.lang.String position)
Sets the position.

Parameters:
position - The position to set.

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