org.gcube.contentmanagement.contentmanager.plugin.delegates
Class ManagerDelegate

java.lang.Object
  extended by org.gcube.contentmanagement.contentmanager.plugin.delegates.ManagerDelegate
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ReadDelegate, WriteDelegate

public abstract class ManagerDelegate
extends java.lang.Object
implements java.io.Serializable

Base class for delegates of CollectionManagers.

Note that a ManagerDelegate must honour the Serializable interface.

Author:
Fabio Simeoni (University of Strathclyde)
See Also:
Delegate, Serialized Form

Constructor Summary
ManagerDelegate()
           
 
Method Summary
 Collection getCollection()
          Returns the Collection.
 void setCollection(Collection c)
          Sets the Collection
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagerDelegate

public ManagerDelegate()
Method Detail

setCollection

public void setCollection(Collection c)
Sets the Collection

Parameters:
collection - the collection to set

getCollection

public Collection getCollection()
Returns the Collection.

Returns:
the collection