org.gcube.common.informationsystem.publisher.impl.resources
Class ProfileResource
java.lang.Object
org.gcube.common.informationsystem.publisher.impl.generic.WSDAIXResource
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 classes/interfaces inherited from interface org.gcube.common.core.informationsystem.publisher.ISResource |
org.gcube.common.core.informationsystem.publisher.ISResource.ISRESOURCETYPE |
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProfileResource
public ProfileResource()
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.