org.xwiki.wikistream.descriptor
Class DefaultWikiStreamBeanParameterDescriptor<T>
java.lang.Object
org.xwiki.wikistream.descriptor.DefaultWikiStreamBeanParameterDescriptor<T>
- All Implemented Interfaces:
- WikiStreamPropertyDescriptor<T>
@Unstable
public class DefaultWikiStreamBeanParameterDescriptor<T>
- extends Object
- implements WikiStreamPropertyDescriptor<T>
The default implementation of WikiStreamPropertyDescriptor.
- Since:
- 5.2M2
- Version:
- $Id: a044f746f771cfb700eb38add1ce4a7f76b8520f $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultWikiStreamBeanParameterDescriptor
public DefaultWikiStreamBeanParameterDescriptor(org.xwiki.properties.PropertyDescriptor propertyDescriptor)
- Parameters:
propertyDescriptor - The description of the property
getId
public String getId()
- Specified by:
getId in interface WikiStreamPropertyDescriptor<T>
- Returns:
- the identifier of the property.
getName
public String getName()
- Specified by:
getName in interface WikiStreamPropertyDescriptor<T>
- Returns:
- the display name of the property.
getDescription
public String getDescription()
- Specified by:
getDescription in interface WikiStreamPropertyDescriptor<T>
- Returns:
- the description of the property.
getType
public Type getType()
- Specified by:
getType in interface WikiStreamPropertyDescriptor<T>
- Returns:
- the type of the property.
getDefaultValue
public T getDefaultValue()
- Specified by:
getDefaultValue in interface WikiStreamPropertyDescriptor<T>
- Returns:
- the default value of the property.
isMandatory
public boolean isMandatory()
- Specified by:
isMandatory in interface WikiStreamPropertyDescriptor<T>
- Returns:
- indicate if the property is mandatory.
Copyright © 2004–2014 XWiki. All rights reserved.