Version: 1.1.1

org.inb.biomoby.shared.message
Class MobyContent

java.lang.Object
  extended by org.inb.biomoby.shared.message.MobyContent
All Implemented Interfaces:
Serializable

public class MobyContent
extends Object
implements Serializable

Author:
Dmitry Repchevsky
See Also:
Serialized Form

Constructor Summary
MobyContent()
           
MobyContent(ArrayList<MobyData> mobyDataList)
           
MobyContent(MobyData mobyData)
           
 
Method Summary
 void addException(MobyException exception)
          Method adds an exeption to the content It creates a serviceNotes if needed.
 void addMobyData(MobyData mobyData)
           
 MobyExceptions getExceptions()
          Method returns either a list of exceptions or null
 ArrayList<MobyData> getMobyDataList()
           
 ServiceNotes getServiceNotes()
           
 boolean hasExceptions()
          Method returns wherever it the content has an exception
 void setServiceNotes(ServiceNotes serviceNotes)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MobyContent

public MobyContent()

MobyContent

public MobyContent(MobyData mobyData)

MobyContent

public MobyContent(ArrayList<MobyData> mobyDataList)
Method Detail

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

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010