Android Mobile Physical Therapy Exercise Documenter

com.communipatient.amptedapp.data
Class Feedback

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

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

The feedback for exercises completed by the user.

See Also:
Serialized Form

Field Summary
private static java.text.SimpleDateFormat httpDateFormat
          The date formatter.
protected  java.lang.String notes
          The notes submitted by the user.
protected  java.lang.String pain
          The pain level of the user from 1 to 10.
static java.lang.String PATTERN_RFC1123
          The RFC 1123 pattern.
private static long serialVersionUID
          The serial version UID.
private  java.util.Date timeAdd
          The time and date the exercise feedback was added.
private  java.util.Date timeUser
          The time and date the exercise feedback was completed by the user.
 
Constructor Summary
Feedback(java.util.Date time, java.lang.String pain, java.lang.String notes)
          Initializes a new instance of the Feedback class.
Feedback(java.lang.String notes, java.lang.String pain, java.util.Date timeUser, java.util.Date timeAdd)
          Initializes a new instance of the Feedback class.
Feedback(java.lang.String notes, java.lang.String pain, int year, int month, int day, int hour, int minute)
          Initializes a new instance of the Feedback class.
Feedback(java.lang.String notes, java.lang.String pain, java.lang.String timeUser, java.lang.String timeAdd)
          Initializes a new instance of the Feedback class.
 
Method Summary
 java.lang.String getNotes()
          Gets the notes submitted by the user.
 java.lang.String getPain()
          Gets the pain level of the user from 1 to 10.
 java.util.Date getTimeAdd()
          Gets the time and date the exercise feedback was added.
protected  java.lang.String getTimeAddString()
          Gets the string representation of the time add.
 java.util.Date getTimeUser()
          Gets the time and date the exercise feedback was completed by the user.
protected  java.lang.String getTimeUserString()
          Gets the string representation of the time user.
 void setNotes(java.lang.String notes)
          Gets the notes submitted by the user.
 void setPain(java.lang.String pain)
          Sets the pain level of the user from 1 to 10.
 void setTimeAdd(java.util.Date timeAdd)
          Sets the time and date the exercise feedback was added.
protected  void setTimeAddString(java.lang.String timeAdd)
          Sets the string representation of the time add.
 void setTimeUser(java.util.Date timeUser)
          Sets the time and date the exercise feedback was completed by the user.
protected  void setTimeUserString(java.lang.String timeUser)
          Sets the string representation of the time user.
 
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

PATTERN_RFC1123

public static final java.lang.String PATTERN_RFC1123
The RFC 1123 pattern.

See Also:
Constant Field Values

httpDateFormat

private static final java.text.SimpleDateFormat httpDateFormat
The date formatter.


timeUser

private java.util.Date timeUser
The time and date the exercise feedback was completed by the user.


timeAdd

private java.util.Date timeAdd
The time and date the exercise feedback was added.


pain

protected java.lang.String pain
The pain level of the user from 1 to 10. Note: 0 indicates field was not filled out.


notes

protected java.lang.String notes
The notes submitted by the user.

Constructor Detail

Feedback

public Feedback(java.util.Date time,
                java.lang.String pain,
                java.lang.String notes)
Initializes a new instance of the Feedback class.

Parameters:
time - The time the exercise feedback was completed.
pain - The users pain level.
notes - The notes submitted by the users.

Feedback

public Feedback(java.lang.String notes,
                java.lang.String pain,
                java.util.Date timeUser,
                java.util.Date timeAdd)
Initializes a new instance of the Feedback class.

Parameters:
notes - The notes submitted by the users.
pain - The users pain level.
timeUser - The time the exercise feedback was completed.
timeAdd - The time the exercise feedback was added.

Feedback

public Feedback(java.lang.String notes,
                java.lang.String pain,
                java.lang.String timeUser,
                java.lang.String timeAdd)
Initializes a new instance of the Feedback class.

Parameters:
notes - The notes submitted by the users.
pain - The users pain level.
timeUser - The time the exercise feedback was completed.
timeAdd - The time the exercise feedback was added.

Feedback

public Feedback(java.lang.String notes,
                java.lang.String pain,
                int year,
                int month,
                int day,
                int hour,
                int minute)
Initializes a new instance of the Feedback class.

Parameters:
notes - The notes.
pain - The pain.
year - The year.
month - The month.
day - The day.
hour - The hour.
minute - The minute.
Method Detail

getTimeUser

public java.util.Date getTimeUser()
Gets the time and date the exercise feedback was completed by the user.

Returns:
The time User.

setTimeUser

public void setTimeUser(java.util.Date timeUser)
Sets the time and date the exercise feedback was completed by the user.

Parameters:
timeUser - The time User to set.

getTimeAdd

public java.util.Date getTimeAdd()
Gets the time and date the exercise feedback was added.

Returns:
The time Add.

setTimeAdd

public void setTimeAdd(java.util.Date timeAdd)
Sets the time and date the exercise feedback was added.

Parameters:
timeAdd - The timeAdd to set.

getPain

public java.lang.String getPain()
Gets the pain level of the user from 1 to 10.

Returns:
The pain.

setPain

public void setPain(java.lang.String pain)
Sets the pain level of the user from 1 to 10.

Parameters:
pain - The pain to set.

getNotes

public java.lang.String getNotes()
Gets the notes submitted by the user.

Returns:
The notes.

setNotes

public void setNotes(java.lang.String notes)
Gets the notes submitted by the user.

Parameters:
notes - The notes to set.

getTimeUserString

protected java.lang.String getTimeUserString()
Gets the string representation of the time user.

Returns:
The time user string.

setTimeUserString

protected void setTimeUserString(java.lang.String timeUser)
Sets the string representation of the time user.

Parameters:
timeUser - The time user string.

getTimeAddString

protected java.lang.String getTimeAddString()
Gets the string representation of the time add.

Returns:
The time add string.

setTimeAddString

protected void setTimeAddString(java.lang.String timeAdd)
Sets the string representation of the time add.

Parameters:
timeAdd - The time add string.

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