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:
  • Field Details

  • Constructor Details

    • WidgetTypeImpl

      protected WidgetTypeImpl()
    • WidgetTypeImpl

      public WidgetTypeImpl(String name, Class<?> typeClass, Map<String,String> properties)
  • Method Details

    • 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 interface WidgetType
    • getWidgetTypeClass

      public Class<?> getWidgetTypeClass()
      Description copied from interface: WidgetType
      Returns the class defining this widget type behaviour.
      Specified by:
      getWidgetTypeClass in interface WidgetType
    • getProperties

      public Map<String,String> getProperties()
      Description copied from interface: WidgetType
      Returns properties.
      Specified by:
      getProperties in interface WidgetType
    • 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 interface WidgetType
    • setAliases

      public void setAliases(List<String> aliases)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
      Since:
      7.2