|
||||||||||
| 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 | |
|---|---|
java.lang.String |
getDefaultValue()
|
java.lang.String |
getDescription()
|
java.lang.String |
getId()
|
java.lang.String |
getName()
|
ParameterType |
getType()
|
boolean |
isMandatory()
|
void |
setDefaultValue(java.lang.String defaultValue)
Sets the default value of the parameter. |
void |
setDescription(java.lang.String description)
Sets the description of this parameter. |
void |
setId(java.lang.String id)
Sets the identifier of this parameter. |
void |
setMandatory(boolean mandatory)
Specify if this parameter is required or not. |
void |
setName(java.lang.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 java.lang.String getId()
public void setId(java.lang.String id)
id - the identifier of the parameterpublic java.lang.String getName()
public void setName(java.lang.String name)
name - the display name of the parameterpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - the description of this parameterpublic ParameterType getType()
public void setType(ParameterType type)
type - the type of this parameterpublic java.lang.String getDefaultValue()
public void setDefaultValue(java.lang.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 | |||||||||