Version: 1.1.1

org.biomoby.shared.data
Class MobyDataJob

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,MobyDataInstance>
          extended by org.biomoby.shared.data.MobyDataJob
All Implemented Interfaces:
Serializable, Cloneable, Map<String,MobyDataInstance>

public class MobyDataJob
extends HashMap<String,MobyDataInstance>

Groups together the primary and secondary data corresponding to a MOBY XML "mobyData" block, i.e. a request for, or response from, a service. One or more MobyDataJobs can be put in one MobyContentInstance to form a service invocation request/response (they are symmetric in MOBY). It is essentially just a Java Map, but with some convenience methods for grabbing different types of data. Put data into this object as you would with any Map.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
MobyDataJob()
           
 
Method Summary
 MobyDataInstance[] getData()
           
 String getID()
           
 MobyDataInstance[] getPrimaryData()
           
 MobyDataObject[] getPrimaryDataObjects()
           
 MobyDataObjectSet[] getPrimaryDataObjectSets()
           
 MobyDataSecondaryInstance[] getSecondaryData()
           
 void setID(String ID)
           
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

MobyDataJob

public MobyDataJob()
Method Detail

setID

public void setID(String ID)

getID

public String getID()

getSecondaryData

public MobyDataSecondaryInstance[] getSecondaryData()

getData

public MobyDataInstance[] getData()

getPrimaryData

public MobyDataInstance[] getPrimaryData()

getPrimaryDataObjects

public MobyDataObject[] getPrimaryDataObjects()

getPrimaryDataObjectSets

public MobyDataObjectSet[] getPrimaryDataObjectSets()

Version: 1.1.1

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