public class DefaultParameterDescriptor extends Object implements ParameterDescriptor
ParameterDescriptor.| Constructor and Description |
|---|
DefaultParameterDescriptor(org.xwiki.properties.PropertyDescriptor propertyDescriptor)
Creates a new
DefaultParameterDescriptor instance using the given PropertyDescriptor. |
| Modifier and Type | Method and Description |
|---|---|
Object |
getDefaultValue() |
String |
getDescription() |
String |
getId() |
String |
getName() |
Type |
getParameterType() |
Class<?> |
getType()
Deprecated.
|
boolean |
isMandatory() |
public DefaultParameterDescriptor(org.xwiki.properties.PropertyDescriptor propertyDescriptor)
DefaultParameterDescriptor instance using the given PropertyDescriptor.propertyDescriptor - The PropertyDescriptor instance.public String getId()
getId in interface ParameterDescriptorpublic String getName()
getName in interface ParameterDescriptorpublic String getDescription()
getDescription in interface ParameterDescriptor@Deprecated public Class<?> getType()
getType in interface ParameterDescriptorpublic Type getParameterType()
getParameterType in interface ParameterDescriptorpublic Object getDefaultValue()
getDefaultValue in interface ParameterDescriptorpublic boolean isMandatory()
isMandatory in interface ParameterDescriptorCopyright © 2004–2015 XWiki. All rights reserved.