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()
WidgetType
getName
in interface WidgetType
public Class<?> getWidgetTypeClass()
WidgetType
getWidgetTypeClass
in interface WidgetType
public Map<String,String> getProperties()
WidgetType
getProperties
in interface WidgetType
public List<String> getAliases()
WidgetType
getAliases
in interface WidgetType
public void setAliases(List<String> aliases)
Copyright © 2019 Nuxeo. All rights reserved.