org.gcube.resourcemanagement.support.shared.types.datamodel
Class ResourceDescriptor
java.lang.Object
com.extjs.gxt.ui.client.data.BaseModelData
org.gcube.resourcemanagement.support.shared.types.datamodel.ResourceDescriptor
- All Implemented Interfaces:
- com.extjs.gxt.ui.client.data.ModelData, com.google.gwt.user.client.rpc.IsSerializable, Serializable
public class ResourceDescriptor
- extends com.extjs.gxt.ui.client.data.BaseModelData
- implements Serializable, com.google.gwt.user.client.rpc.IsSerializable
All the resources that want to access resource management
operations must be described through this data type.
- Author:
- Daniele Strollo (ISTI-CNR)
- See Also:
- Serialized Form
Fields inherited from class com.extjs.gxt.ui.client.data.BaseModelData |
allowNestedValues, map |
Methods inherited from class com.extjs.gxt.ui.client.data.BaseModelData |
get, get, getProperties, getPropertyNames, isAllowNestedValues, remove, set, setAllowNestedValues, setProperties |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceDescriptor
public ResourceDescriptor()
ResourceDescriptor
public ResourceDescriptor(String type,
String subtype,
String id,
String name)
throws InvalidParameterException
- Creates a ResourceDescriptor
- Parameters:
type
- mandatorysubtype
- can be nullID
- the identifier of the resource (mandatory).name
- the short name assigned to the resource (mandatory).
- Throws:
InvalidParameterException
getType
public final String getType()
getSubtype
public final String getSubtype()
getID
public final String getID()
getName
public final String getName()
setType
public final void setType(String type)
setSubtype
public final void setSubtype(String subtype)
setID
public final void setID(String id)
setName
public final void setName(String name)
addProperty
public final void addProperty(String property,
Object value)
getProperty
public final Object getProperty(String property)
Copyright © 2013. All Rights Reserved.