moos.ssds.model
Class ObjectBuilder

java.lang.Object
  extended bymoos.ssds.model.ObjectBuilder

public class ObjectBuilder
extends java.lang.Object

Class for unmarshalling XML into the SSDS object model


Version:
: $Revision: 1.10 $

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement. This information should not be published or distributed to third parties without specific written permission from MBARI.


Copyright 2002 MBARI.
MBARI Proprietary Information. All rights reserved.



Author:
: $Author: mccann $

Constructor Summary
ObjectBuilder(java.net.URL url)
          The constructor for an object builder
 
Method Summary
 java.util.Collection listAll()
           
 java.util.Collection listDataProducers()
           
 java.util.Collection listDeployments()
           
 java.util.Collection listDeployments(java.lang.String role)
           
 java.util.Collection listDevices()
           
 java.util.Collection listHumanInterventions()
           
 java.util.Collection listProcessRuns()
           
 java.util.Collection listResourceOwners()
           
 void unmarshal()
          Convert the file specified in the constructor to an Object graph
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectBuilder

public ObjectBuilder(java.net.URL url)
The constructor for an object builder

Parameters:
url - This is the file URL that points to the XML file used to build the objects from
Method Detail

unmarshal

public void unmarshal()
Convert the file specified in the constructor to an Object graph


listAll

public java.util.Collection listAll()
Returns:
All objects generated from the XML

listHumanInterventions

public java.util.Collection listHumanInterventions()

listProcessRuns

public java.util.Collection listProcessRuns()

listDataProducers

public java.util.Collection listDataProducers()

listDevices

public java.util.Collection listDevices()

listDeployments

public java.util.Collection listDeployments()

listDeployments

public java.util.Collection listDeployments(java.lang.String role)

listResourceOwners

public java.util.Collection listResourceOwners()
Returns:
A Collection of all top level elements. They all happen to be ResourceOwners