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, Serializable
public class ResourceDescriptor
- extends com.extjs.gxt.ui.client.data.BaseModelData
- implements Serializable
All the resources that want to access resource management
operations must be described through this data type.
- Author:
- Massimiliano Assante (ISTI-CNR), Daniele Strollo
- 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 |
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)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2014. All Rights Reserved.