apps.mathpadapp.controllerapp.assignmentcontroller
Class AssignmentSession

java.lang.Object
  extended by apps.mathpadapp.controllerapp.assignmentcontroller.AssignmentSession

public class AssignmentSession
extends java.lang.Object

The Class AssignmentSession.


Constructor Summary
AssignmentSession()
          Instantiates a new assignment session.
AssignmentSession(java.lang.String sessionId, Assignment assignment, java.util.List<UserInfo> recipients)
          Instantiates a new assignment session.
 
Method Summary
 Assignment getAssignment()
          Gets the assignment.
 java.util.HashMap<UserInfo,AssignmentInfo> getReceivedData()
          Gets the received data.
 java.util.List<UserInfo> getRecipients()
          Gets the recipients.
 AssignmentInfo getSolution()
          Gets the solution.
 void setAssignment(Assignment assignment)
          Sets the assignment.
 void setReceivedData(java.util.HashMap<UserInfo,AssignmentInfo> receivedData)
          Sets the received data.
 void setRecipients(java.util.List<UserInfo> receipents)
          Sets the recipients.
 void setSolution(AssignmentInfo solution)
          Sets the solution.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssignmentSession

public AssignmentSession()
Instantiates a new assignment session.


AssignmentSession

public AssignmentSession(java.lang.String sessionId,
                         Assignment assignment,
                         java.util.List<UserInfo> recipients)
Instantiates a new assignment session.

Parameters:
sessionId - the session id
assignment - the assignment
recipients - the recipients
Method Detail

getAssignment

public Assignment getAssignment()
Gets the assignment.

Returns:
the assignment

getReceivedData

public java.util.HashMap<UserInfo,AssignmentInfo> getReceivedData()
Gets the received data.

Returns:
the received data

getRecipients

public java.util.List<UserInfo> getRecipients()
Gets the recipients.

Returns:
the recipients

getSolution

public AssignmentInfo getSolution()
Gets the solution.

Returns:
the solution

setAssignment

public void setAssignment(Assignment assignment)
Sets the assignment.

Parameters:
assignment - the new assignment

setReceivedData

public void setReceivedData(java.util.HashMap<UserInfo,AssignmentInfo> receivedData)
Sets the received data.

Parameters:
receivedData - the received data

setRecipients

public void setRecipients(java.util.List<UserInfo> receipents)
Sets the recipients.

Parameters:
receipents - the new recipients

setSolution

public void setSolution(AssignmentInfo solution)
Sets the solution.

Parameters:
solution - the new solution

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object