Class DropdownElement

java.lang.Object
com.hybris.merchandising.dto.DropdownElement
All Implemented Interfaces:
Serializable

public class DropdownElement extends Object implements Serializable
An individual element of a SmartEdit drop down. SmartEdit requires it to have both an ID (the value) and a label (the displayed text).
See Also:
  • Constructor Details

    • DropdownElement

      public DropdownElement()
      Default constructor.
    • DropdownElement

      public DropdownElement(String pId, String pLabel)
      Constructor taking an ID and label.
      Parameters:
      pId - The ID for the new element
      pLabel - The label for the new element
  • Method Details

    • getId

      public String getId()
      Returns:
      Id of the dropdown element
    • setId

      public void setId(String id)
      Parameters:
      id - Accepts id as String and sets to the dropdown element
    • getLabel

      public String getLabel()
      Returns:
      Label as String
    • setLabel

      public void setLabel(String label)
      Parameters:
      label - Accepts Label as String and sets to the dropdown element