org.broadleafcommerce.openadmin.web.rulebuilder.dto
Class DataWrapper

java.lang.Object
  extended by 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

Field Summary
protected  ArrayList<DataDTO> data
           
 
Constructor Summary
DataWrapper()
           
 
Method Summary
 ArrayList<DataDTO> getData()
           
 void setData(ArrayList<DataDTO> data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

protected ArrayList<DataDTO> data
Constructor Detail

DataWrapper

public DataWrapper()
Method Detail

getData

public ArrayList<DataDTO> getData()

setData

public void setData(ArrayList<DataDTO> data)


Copyright © 2013. All Rights Reserved.