public class WidgetTypeImpl extends Object implements WidgetType
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
aliases |
protected String |
name |
protected Map<String,String> |
properties |
protected Class<?> |
typeClass |
| Modifier | Constructor and Description |
|---|---|
protected |
WidgetTypeImpl() |
|
WidgetTypeImpl(String name,
Class<?> typeClass,
Map<String,String> properties) |
| Modifier and Type | Method and 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) |
protected Map<String,String> properties
protected WidgetTypeImpl()
public String getName()
WidgetTypegetName in interface WidgetTypepublic Class<?> getWidgetTypeClass()
WidgetTypegetWidgetTypeClass in interface WidgetTypepublic Map<String,String> getProperties()
WidgetTypegetProperties in interface WidgetTypepublic List<String> getAliases()
WidgetTypegetAliases in interface WidgetTypepublic void setAliases(List<String> aliases)
Copyright © 2018 Nuxeo. All rights reserved.