moos.ssds.model
Interface ResourceOwner

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
IDataContainer, IDataFile, IDataProducer, IDataStream, IDeployment, IDevice, IHumanIntervention, IProcessRun, ISoftware
All Known Implementing Classes:
DataContainer, DataFile, DataProducer, DataStream, Deployment, Device, HumanIntervention, ProcessRun, Software

public interface ResourceOwner
extends java.io.Serializable

Interface for classes that need to reference Resources.


Version:
: $Revision: 1.3 $

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: kgomes $

Method Summary
 void addResource(IResource dr)
           
 java.util.Collection listResources()
          List all the resources associatied with this device
 void removeResource(IResource dr)
           
 

Method Detail

addResource

public void addResource(IResource dr)
Parameters:
dr - The resource to add to this owner. IResourceOwners can have more than one resource.

removeResource

public void removeResource(IResource dr)
Parameters:
dr - The resource to remove from this owner

listResources

public java.util.Collection listResources()
List all the resources associatied with this device