org.gcube.portlets.admin.irbootstrapperportlet.gwt.server.resourceManagement
Class Resource

java.lang.Object
  extended by org.gcube.portlets.admin.irbootstrapperportlet.gwt.server.resourceManagement.Resource
Direct Known Subclasses:
GCUBEResource, WSResource

public abstract class Resource
extends Object

Author:
Spyros Boutsis, NKUA

Constructor Summary
protected Resource(org.gcube.common.core.scope.GCUBEScope scope, String resourceTypeName, String baseISQuery)
          Class constructor
 
Method Summary
protected  void addAttributeName(String attrName)
           
protected  HashMap<String,List<String>> getAttributeMap()
           
 List<String> getAttributeNames()
           
 List<String> getAttributeValue(String attrName)
           
 String getResourceTypeName()
           
 org.gcube.common.core.scope.GCUBEScope getScope()
          Returns the scope of this resource
 void setAttributeValue(String attrName, List<String> attrValues)
           
 void setAttributeValue(String attrName, String attrValue)
           
protected  void setBaseISQuery(String query)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Resource

protected Resource(org.gcube.common.core.scope.GCUBEScope scope,
                   String resourceTypeName,
                   String baseISQuery)
Class constructor

Parameters:
resourceData - the resource data that this object will wrap
Method Detail

getScope

public org.gcube.common.core.scope.GCUBEScope getScope()
Returns the scope of this resource

Returns:
the resource's scope

getResourceTypeName

public String getResourceTypeName()

setBaseISQuery

protected void setBaseISQuery(String query)

getAttributeMap

protected HashMap<String,List<String>> getAttributeMap()

getAttributeNames

public List<String> getAttributeNames()

addAttributeName

protected void addAttributeName(String attrName)

getAttributeValue

public List<String> getAttributeValue(String attrName)

setAttributeValue

public void setAttributeValue(String attrName,
                              List<String> attrValues)

setAttributeValue

public void setAttributeValue(String attrName,
                              String attrValue)


Copyright © 2013. All Rights Reserved.