org.inb.biomoby.shared.message
Class MobyContent
java.lang.Object
org.inb.biomoby.shared.message.MobyContent
- All Implemented Interfaces:
- Serializable
public class MobyContent
- extends Object
- implements Serializable
- Author:
- Dmitry Repchevsky
- See Also:
- Serialized Form
MobyContent
public MobyContent()
MobyContent
public MobyContent(MobyData mobyData)
MobyContent
public MobyContent(ArrayList<MobyData> mobyDataList)
getServiceNotes
public ServiceNotes getServiceNotes()
setServiceNotes
public void setServiceNotes(ServiceNotes serviceNotes)
addMobyData
public void addMobyData(MobyData mobyData)
getMobyDataList
public ArrayList<MobyData> getMobyDataList()
addException
public void addException(MobyException exception)
- Method adds an exeption to the content
It creates a serviceNotes if needed.
- Parameters:
exception
- en exception to be added
hasExceptions
public boolean hasExceptions()
- Method returns wherever it the content has an exception
- Returns:
- true if there is an exeption
getExceptions
public MobyExceptions getExceptions()
- Method returns either a list of exceptions or null
- Returns:
- a list of exceptions or null
Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010