Package org.xwiki.filter.descriptor
Class DefaultFilterStreamBeanParameterDescriptor<T>
- java.lang.Object
-
- org.xwiki.filter.descriptor.DefaultFilterStreamBeanParameterDescriptor<T>
-
- All Implemented Interfaces:
FilterStreamPropertyDescriptor<T>
public class DefaultFilterStreamBeanParameterDescriptor<T> extends Object implements FilterStreamPropertyDescriptor<T>
The default implementation ofFilterStreamPropertyDescriptor
.- Since:
- 6.2M1
- Version:
- $Id: 03e6959cda6bab668ab1f8e000e301efc7610d48 $
-
-
Constructor Summary
Constructors Constructor Description DefaultFilterStreamBeanParameterDescriptor(PropertyDescriptor propertyDescriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
getDefaultValue()
String
getDescription()
String
getId()
String
getName()
Type
getType()
boolean
isMandatory()
-
-
-
Constructor Detail
-
DefaultFilterStreamBeanParameterDescriptor
public DefaultFilterStreamBeanParameterDescriptor(PropertyDescriptor propertyDescriptor)
- Parameters:
propertyDescriptor
- The description of the property
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getId
in interfaceFilterStreamPropertyDescriptor<T>
- Returns:
- the identifier of the property.
-
getName
public String getName()
- Specified by:
getName
in interfaceFilterStreamPropertyDescriptor<T>
- Returns:
- the display name of the property.
-
getDescription
public String getDescription()
- Specified by:
getDescription
in interfaceFilterStreamPropertyDescriptor<T>
- Returns:
- the description of the property.
-
getType
public Type getType()
- Specified by:
getType
in interfaceFilterStreamPropertyDescriptor<T>
- Returns:
- the type of the property.
-
getDefaultValue
public T getDefaultValue()
- Specified by:
getDefaultValue
in interfaceFilterStreamPropertyDescriptor<T>
- Returns:
- the default value of the property.
-
isMandatory
public boolean isMandatory()
- Specified by:
isMandatory
in interfaceFilterStreamPropertyDescriptor<T>
- Returns:
- indicate if the property is mandatory.
-
-