Class FieldWrapper
java.lang.Object
org.broadleafcommerce.openadmin.web.rulebuilder.dto.FieldWrapper
- All Implemented Interfaces:
Serializable
- Author:
- Elbert Bautista (elbertbautista)
An example of the Serialized JSON:
{'fields': [ {'label':'Order Item - name', 'id':'name', 'operators':blcOperators_Text, 'values':[]}, {'label':'Order Item - Retail Price', 'id':'retailPrice', 'operators':blcOperators_Numeric, 'values':[]}, {'label':'Product - is Featured Product', 'id':'sku.product.isFeaturedProduct', 'operators':blcOperators_Boolean, 'values':[]}, {'label':'Sku - Active End Date', 'id':'sku.activeEndDate', 'operators':blcOperators_Date, 'values':[]}, {'label':'Category - Fulfillment Type', 'id':'category.fulfillmentType', 'operators':blcOperators_Enumeration, 'values':blcOptions_FulfillmentType} ]}
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
fields
-
-
Constructor Details
-
FieldWrapper
public FieldWrapper()
-
-
Method Details
-
getFields
-
setFields
-
serialize
public String serialize() throws com.fasterxml.jackson.core.JsonGenerationException, com.fasterxml.jackson.databind.JsonMappingException, IOException- Throws:
com.fasterxml.jackson.core.JsonGenerationException
com.fasterxml.jackson.databind.JsonMappingException
IOException
-