Package com.hybris.merchandising.dto
Class DropdownElement
java.lang.Object
com.hybris.merchandising.dto.DropdownElement
- All Implemented Interfaces:
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 Summary
ConstructorsConstructorDescriptionDefault constructor.DropdownElement(String pId, String pLabel) Constructor taking an ID and label. -
Method Summary
-
Constructor Details
-
DropdownElement
public DropdownElement()Default constructor. -
DropdownElement
Constructor taking an ID and label.- Parameters:
pId- The ID for the new elementpLabel- The label for the new element
-
-
Method Details
-
getId
- Returns:
- Id of the dropdown element
-
setId
- Parameters:
id- Accepts id as String and sets to the dropdown element
-
getLabel
- Returns:
- Label as String
-
setLabel
- Parameters:
label- Accepts Label as String and sets to the dropdown element
-