|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.gwt.wysiwyg.client.plugin.macro.ParameterDescriptor
public class ParameterDescriptor
Describes a macro parameter.
| Constructor Summary | |
|---|---|
ParameterDescriptor()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ParameterDescriptor()
| Method Detail |
|---|
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 otherwise
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||