public final class InstanceResource extends WSDAIXResource
| Constructor and Description |
|---|
InstanceResource() |
| Modifier and Type | Method and Description |
|---|---|
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) |
getDocument, getID, getName, setDocument, setID, setNamepublic String getCollection()
WSDAIXResourcegetCollection in interface org.gcube.common.core.informationsystem.publisher.ISResourcegetCollection in class WSDAIXResourcepublic void setCollection(String collection)
WSDAIXResourcesetCollection in interface org.gcube.common.core.informationsystem.publisher.ISResourcesetCollection in class WSDAIXResourcepublic org.gcube.common.core.informationsystem.publisher.ISResource.ISRESOURCETYPE getType()
WSDAIXResourcegetType in interface org.gcube.common.core.informationsystem.publisher.ISResourcegetType in class WSDAIXResourcepublic void setType(org.gcube.common.core.informationsystem.publisher.ISResource.ISRESOURCETYPE type)
WSDAIXResourcesetType in interface org.gcube.common.core.informationsystem.publisher.ISResourcesetType in class WSDAIXResourceprotected static InstanceResource fromGCUBEWSResource(org.gcube.common.informationsystem.publisher.impl.instancestates.WSRPDocument rpd) throws Exception
WSRPDocument instancerpd - the RPDException - if it is unable to query the RPDCopyright © 2017. All Rights Reserved.