org.gcube.common.informationsystem.publisher.impl.instancestates
Class InstanceResource

java.lang.Object
  extended by org.gcube.common.informationsystem.publisher.impl.generic.WSDAIXResource
      extended by org.gcube.common.informationsystem.publisher.impl.instancestates.InstanceResource
All Implemented Interfaces:
org.gcube.common.core.informationsystem.publisher.ISResource

public final class InstanceResource
extends WSDAIXResource


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.gcube.common.core.informationsystem.publisher.ISResource
org.gcube.common.core.informationsystem.publisher.ISResource.ISRESOURCETYPE
 
Constructor Summary
InstanceResource()
           
 
Method Summary
protected static InstanceResource fromGCUBEWSResource(org.gcube.common.informationsystem.publisher.impl.instancestates.WSRPDocument rpd)
          Creates an instance resource from an WSRPDocument instance
 String getCollection()
          
 org.gcube.common.core.informationsystem.publisher.ISResource.ISRESOURCETYPE getType()
          
 void setCollection(String collection)
          
 void setType(org.gcube.common.core.informationsystem.publisher.ISResource.ISRESOURCETYPE type)
          
 
Methods inherited from class org.gcube.common.informationsystem.publisher.impl.generic.WSDAIXResource
getDocument, getID, getName, setDocument, setID, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceResource

public InstanceResource()
Method Detail

getCollection

public String getCollection()
Description copied from class: WSDAIXResource

Specified by:
getCollection in interface org.gcube.common.core.informationsystem.publisher.ISResource
Overrides:
getCollection in class WSDAIXResource

setCollection

public void setCollection(String collection)
Description copied from class: WSDAIXResource

Specified by:
setCollection in interface org.gcube.common.core.informationsystem.publisher.ISResource
Overrides:
setCollection in class WSDAIXResource

getType

public org.gcube.common.core.informationsystem.publisher.ISResource.ISRESOURCETYPE getType()
Description copied from class: WSDAIXResource

Specified by:
getType in interface org.gcube.common.core.informationsystem.publisher.ISResource
Overrides:
getType in class WSDAIXResource

setType

public void setType(org.gcube.common.core.informationsystem.publisher.ISResource.ISRESOURCETYPE type)
Description copied from class: WSDAIXResource

Specified by:
setType in interface org.gcube.common.core.informationsystem.publisher.ISResource
Overrides:
setType in class WSDAIXResource

fromGCUBEWSResource

protected static InstanceResource fromGCUBEWSResource(org.gcube.common.informationsystem.publisher.impl.instancestates.WSRPDocument rpd)
                                               throws Exception
Creates an instance resource from an WSRPDocument instance

Parameters:
rpd - the RPD
Returns:
the new resource
Throws:
Exception - if it is unable to query the RPD


Copyright © 2013. All Rights Reserved.