|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.properties.internal.DefaultPropertyDescriptor
public class DefaultPropertyDescriptor
Default implementation for PropertyDescriptor.
| Constructor Summary | |
|---|---|
DefaultPropertyDescriptor()
|
|
| Method Summary | |
|---|---|
Object |
getDefaultValue()
|
String |
getDescription()
|
Field |
getFied()
|
String |
getId()
|
String |
getName()
|
Class<?> |
getPropertyClass()
Deprecated. |
Type |
getPropertyType()
|
Method |
getReadMethod()
|
Method |
getWriteMethod()
|
boolean |
isMandatory()
|
void |
setDefaultValue(Object defaultValue)
|
void |
setDescription(String description)
|
void |
setField(Field field)
|
void |
setId(String id)
|
void |
setMandatory(boolean mandatory)
|
void |
setName(String name)
|
void |
setPropertyType(Type propertyType)
|
void |
setReadMethod(Method readMethod)
|
void |
setWriteMethod(Method writeMethod)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultPropertyDescriptor()
| Method Detail |
|---|
public String getId()
getId in interface PropertyDescriptorPropertyDescriptor.getId()public void setId(String id)
id - the identifier of the property.getId()public String getName()
getName in interface PropertyDescriptorPropertyDescriptor.getName()public void setName(String name)
name - the display name of the property.getName()public String getDescription()
getDescription in interface PropertyDescriptorPropertyDescriptor.getDescription()public void setDescription(String description)
description - the description of the property.getDescription()@Deprecated public Class<?> getPropertyClass()
getPropertyClass in interface PropertyDescriptorPropertyDescriptor.getPropertyClass()public Type getPropertyType()
getPropertyType in interface PropertyDescriptorPropertyDescriptor.getPropertyType()public void setPropertyType(Type propertyType)
propertyType - the class of the property.getPropertyClass()public Object getDefaultValue()
getDefaultValue in interface PropertyDescriptorPropertyDescriptor.getDefaultValue()public void setDefaultValue(Object defaultValue)
defaultValue - the default value of the property.getDefaultValue()public boolean isMandatory()
isMandatory in interface PropertyDescriptorPropertyDescriptor.isMandatory()public void setMandatory(boolean mandatory)
mandatory - indicate if the property is mandatory.isMandatory()public void setField(Field field)
field - the Field.PropertyDescriptor.getFied().public Field getFied()
getFied in interface PropertyDescriptorPropertyDescriptor.getFied()public void setReadMethod(Method readMethod)
readMethod - the read Method.PropertyDescriptor.getReadMethod().public Method getReadMethod()
getReadMethod in interface PropertyDescriptorPropertyDescriptor.getReadMethod()public void setWriteMethod(Method writeMethod)
writeMethod - the write Method.PropertyDescriptor.getWriteMethod().public Method getWriteMethod()
getWriteMethod in interface PropertyDescriptorPropertyDescriptor.getWriteMethod()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||