org.gcube.contentmanagement.contentmanager.state
Class CollectionResource

java.lang.Object
  extended by GCUBELocalResource
      extended by org.gcube.contentmanagement.contentmanager.state.CollectionResource

public class CollectionResource
extends GCUBELocalResource

A GCUBELocalResource that models content collections.

Author:
Fabio Simeoni (University of Strathclyde)

Constructor Summary
CollectionResource()
           
 
Method Summary
 Collection getCollection()
          Returns the resource collection.
 java.lang.String getPluginName()
          Returns the name of the associated plugin.
 void setCollection(Collection d)
          Sets the plugin's collection of the resource.
 void setPluginName(java.lang.String n)
          Sets the name of the associated plugin.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionResource

public CollectionResource()
Method Detail

getCollection

public Collection getCollection()
Returns the resource collection.

Returns:
the collection.

setCollection

public void setCollection(Collection d)
Sets the plugin's collection of the resource.

Parameters:
d - the collection.

setPluginName

public void setPluginName(java.lang.String n)
Sets the name of the associated plugin.

Parameters:
n - the name.

getPluginName

public java.lang.String getPluginName()
                               throws org.globus.wsrf.ResourceException
Returns the name of the associated plugin.

Returns:
the name.
Throws:
org.globus.wsrf.ResourceException