Class WidgetReferenceImpl

java.lang.Object
org.nuxeo.ecm.platform.forms.layout.api.impl.WidgetReferenceImpl
All Implemented Interfaces:
Serializable, WidgetReference

public class WidgetReferenceImpl extends Object implements WidgetReference
Since:
5.5
See Also:
  • Field Details

    • category

      protected String category
    • name

      protected String name
  • Constructor Details

    • WidgetReferenceImpl

      protected WidgetReferenceImpl()
    • WidgetReferenceImpl

      public WidgetReferenceImpl(String widget)
    • WidgetReferenceImpl

      public WidgetReferenceImpl(String category, String name)
  • Method Details

    • getCategory

      public String getCategory()
      Description copied from interface: WidgetReference
      Optional category on the widget: if this category is filled, the widget instance will be looked up with this category in the store
      Specified by:
      getCategory in interface WidgetReference
    • getName

      public String getName()
      Description copied from interface: WidgetReference
      Widget name. If a widget with this name is present in the layout definition, it references this widget. Else, if a category is filled, the widget is looked up in the store with this category. If no category is filled, the widget is looked up in the same store than the one of the layout.
      Specified by:
      getName in interface WidgetReference
    • clone

      public WidgetReference clone()
      Specified by:
      clone in interface WidgetReference
      Overrides:
      clone in class Object
    • equals

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