org.gcube.common.core.resources
Class GCUBEGenericResource

java.lang.Object
  extended by org.gcube.common.core.resources.GCUBEResource
      extended by org.gcube.common.core.resources.GCUBEGenericResource
Direct Known Subclasses:
KGCUBEGenericResource

public abstract class GCUBEGenericResource
extends GCUBEResource

Author:
Andrea Manzi (ISTI-CNR)

Nested Class Summary
 
Nested classes/interfaces inherited from class org.gcube.common.core.resources.GCUBEResource
GCUBEResource.AddScopeEvent, GCUBEResource.InvalidScopeException, GCUBEResource.RemoveScopeEvent, GCUBEResource.ResourceConsumer, GCUBEResource.ResourceEvent<PAYLOAD>, GCUBEResource.ResourceTopic
 
Field Summary
static String SECONDARYTYPE_GRIDRESOURCE
          Secondary type used for grid resources
static String SECONDARYTYPE_INDEXDEFINITION
          Secondary type used for IndexDefinition
static String SECONDARYTYPE_INFRASTRUCTURE
          Secondary type used for INFRASTRUCTUREs
static String SECONDARYTYPE_PORTLETCONFIG
          Secondary type used for portlet configuration
static String SECONDARYTYPE_SEARCHCONFIG
          Secondary type used for search configuration
static String SECONDARYTYPE_TP
          Secondary type used for transformation programs
static String SECONDARYTYPE_USERPROFILE
          Secondary type used for user profiles
static String SECONDARYTYPE_VO
          Secondary type used for VOs
static String SECONDARYTYPE_VRE
          Secondary type used for VREs
static String TYPE
          The type of the resource.
 
Fields inherited from class org.gcube.common.core.resources.GCUBEResource
eventProducer, logger, resourceVersion, type
 
Constructor Summary
GCUBEGenericResource()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getBody()
           
 String getDescription()
           
 String getName()
           
 String getSecondaryType()
          Sets the sercondary type
 void setBody(String body)
           
 void setDescription(String description)
           
 void setName(String name)
           
 void setSecondaryType(String secondaryType)
          Gets the secondary type
 
Methods inherited from class org.gcube.common.core.resources.GCUBEResource
addScope, getID, getLastResourceVersion, getResourceVersion, getScopes, getType, inScope, load, removeScope, setID, setLogger, setResourceVersion, store, subscribeResourceEvents, validateAddScopes, validateRemoveScopes
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE

public static final String TYPE
The type of the resource.

See Also:
Constant Field Values

SECONDARYTYPE_TP

public static final String SECONDARYTYPE_TP
Secondary type used for transformation programs

See Also:
Constant Field Values

SECONDARYTYPE_VRE

public static final String SECONDARYTYPE_VRE
Secondary type used for VREs

See Also:
Constant Field Values

SECONDARYTYPE_VO

public static final String SECONDARYTYPE_VO
Secondary type used for VOs

See Also:
Constant Field Values

SECONDARYTYPE_INFRASTRUCTURE

public static final String SECONDARYTYPE_INFRASTRUCTURE
Secondary type used for INFRASTRUCTUREs

See Also:
Constant Field Values

SECONDARYTYPE_USERPROFILE

public static final String SECONDARYTYPE_USERPROFILE
Secondary type used for user profiles

See Also:
Constant Field Values

SECONDARYTYPE_INDEXDEFINITION

public static final String SECONDARYTYPE_INDEXDEFINITION
Secondary type used for IndexDefinition

See Also:
Constant Field Values

SECONDARYTYPE_SEARCHCONFIG

public static final String SECONDARYTYPE_SEARCHCONFIG
Secondary type used for search configuration

See Also:
Constant Field Values

SECONDARYTYPE_PORTLETCONFIG

public static final String SECONDARYTYPE_PORTLETCONFIG
Secondary type used for portlet configuration

See Also:
Constant Field Values

SECONDARYTYPE_GRIDRESOURCE

public static final String SECONDARYTYPE_GRIDRESOURCE
Secondary type used for grid resources

See Also:
Constant Field Values
Constructor Detail

GCUBEGenericResource

public GCUBEGenericResource()
Method Detail

getSecondaryType

public String getSecondaryType()
Sets the sercondary type

Returns:
the secondaryType

setSecondaryType

public void setSecondaryType(String secondaryType)
Gets the secondary type

Parameters:
secondaryType - the secondaryType to set

getBody

public String getBody()

setBody

public void setBody(String body)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getName

public String getName()

setName

public void setName(String name)

equals

public boolean equals(Object obj)
Overrides:
equals in class GCUBEResource


Copyright © 2013. All Rights Reserved.