Class WidgetTypeImpl
- java.lang.Object
-
- org.nuxeo.ecm.platform.forms.layout.api.impl.WidgetTypeImpl
-
- All Implemented Interfaces:
Serializable
,WidgetType
public class WidgetTypeImpl extends Object implements WidgetType
Implementation for widget types.- Author:
- Anahide Tchertchian
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
WidgetTypeImpl()
WidgetTypeImpl(String name, Class<?> typeClass, Map<String,String> properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
List<String>
getAliases()
Return alias names for this widget type (useful for compatibility on old widget types).String
getName()
Returns the name of this widget type, used to identify it in the service.Map<String,String>
getProperties()
Returns properties.Class<?>
getWidgetTypeClass()
Returns the class defining this widget type behaviour.void
setAliases(List<String> aliases)
-
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:WidgetType
Returns the name of this widget type, used to identify it in the service.- Specified by:
getName
in interfaceWidgetType
-
getWidgetTypeClass
public Class<?> getWidgetTypeClass()
Description copied from interface:WidgetType
Returns the class defining this widget type behaviour.- Specified by:
getWidgetTypeClass
in interfaceWidgetType
-
getProperties
public Map<String,String> getProperties()
Description copied from interface:WidgetType
Returns properties.- Specified by:
getProperties
in interfaceWidgetType
-
getAliases
public List<String> getAliases()
Description copied from interface:WidgetType
Return alias names for this widget type (useful for compatibility on old widget types).- Specified by:
getAliases
in interfaceWidgetType
-
-