org.gcube.common.informationsystem.publisher.impl.resources
Class ProfileResource

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

public final class ProfileResource
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
ProfileResource()
           
 
Method Summary
protected static ProfileResource fromGCUBEResource(org.gcube.common.core.resources.GCUBEResource resource)
          Creates an instance resource from an WSRPDocument instance
 org.gcube.common.core.informationsystem.publisher.ISResource.ISRESOURCETYPE getType()
          
 void setType(org.gcube.common.core.informationsystem.publisher.ISResource.ISRESOURCETYPE type)
          
 
Methods inherited from class org.gcube.common.informationsystem.publisher.impl.generic.WSDAIXResource
getCollection, getDocument, getID, getName, setCollection, setDocument, setID, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfileResource

public ProfileResource()
Method Detail

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

fromGCUBEResource

protected static ProfileResource fromGCUBEResource(org.gcube.common.core.resources.GCUBEResource resource)
                                            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.