org.broadleafcommerce.openadmin.web.rulebuilder.dto
Class DataWrapper
java.lang.Object
org.broadleafcommerce.openadmin.web.rulebuilder.dto.DataWrapper
- All Implemented Interfaces:
- Serializable
public class DataWrapper
- extends Object
- implements Serializable
- Author:
- Elbert Bautista (elbertbautista)
An example of the Serialized JSON:
(This is an example of a complex Item Rule)
{'data': [
{'id':'100',
'quantity':'1',
'groupOperator':'AND',
'groups':[
{'id':null,
'quantity':null,
'groupOperator':null,
'groups':null,
'name':'name',
'operator':'IEQUALS',
'value':'merchandise'}]},
{'id':'200',
'quantity':'2',
'groupOperator':'AND',
'groups':[
{'id':null,
'quantity':null,
'groupOperator':null,
'groups':null,
'name':'retailPrice',
'operator':'GREATER_THAN',
'value':'20.00'}]}
]}
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
data
protected ArrayList<DataDTO> data
DataWrapper
public DataWrapper()
getData
public ArrayList<DataDTO> getData()
setData
public void setData(ArrayList<DataDTO> data)
Copyright © 2013. All Rights Reserved.