public class ParameterDescriptor extends Object implements com.google.gwt.user.client.rpc.IsSerializable
| Constructor and Description |
|---|
ParameterDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultValue() |
String |
getDescription() |
String |
getId() |
String |
getName() |
ParameterType |
getType() |
boolean |
isMandatory() |
void |
setDefaultValue(String defaultValue)
Sets the default value of the parameter.
|
void |
setDescription(String description)
Sets the description of this parameter.
|
void |
setId(String id)
Sets the identifier of this parameter.
|
void |
setMandatory(boolean mandatory)
Specify if this parameter is required or not.
|
void |
setName(String name)
Sets the display name of this parameter.
|
void |
setType(ParameterType type)
Sets the type of this parameter.
|
public String getId()
public void setId(String id)
id - the identifier of the parameterpublic String getName()
public void setName(String name)
name - the display name of the parameterpublic String getDescription()
public void setDescription(String description)
description - the description of this parameterpublic ParameterType getType()
public void setType(ParameterType type)
type - the type of this parameterpublic String getDefaultValue()
public void setDefaultValue(String defaultValue)
defaultValue - a String representing the default value of the parameterpublic boolean isMandatory()
true if this parameter is required, false if notpublic void setMandatory(boolean mandatory)
mandatory - true to make this parameter required, false otherwiseCopyright © 2004–2015 XWiki. All rights reserved.