public class ResourceDescriptor extends com.extjs.gxt.ui.client.data.BaseModelData implements Serializable
Constructor and Description |
---|
ResourceDescriptor() |
ResourceDescriptor(String type,
String subtype,
String id,
String name)
Creates a ResourceDescriptor
|
Modifier and Type | Method and Description |
---|---|
void |
addProperty(String property,
Object value) |
String |
getID() |
String |
getName() |
Object |
getProperty(String property) |
String |
getSubtype() |
String |
getType() |
void |
setID(String id) |
void |
setName(String name) |
void |
setSubtype(String subtype) |
void |
setType(String type) |
String |
toString() |
public ResourceDescriptor()
public ResourceDescriptor(String type, String subtype, String id, String name) throws InvalidParameterException
type
- mandatorysubtype
- can be nullID
- the identifier of the resource (mandatory).name
- the short name assigned to the resource (mandatory).InvalidParameterException
public final String getType()
public final String getSubtype()
public final String getID()
public final String getName()
public final void setType(String type)
public final void setSubtype(String subtype)
public final void setID(String id)
public final void setName(String name)
Copyright © 2014. All Rights Reserved.