/************************************************************************************** * Copyright (C) 2008 EsperTech, Inc. All rights reserved. * * http://esper.codehaus.org * * http://www.espertech.com * * ---------------------------------------------------------------------------------- * * The software in this package is published under the terms of the GPL license * * a copy of which has been included with this distribution in the license.txt file. * **************************************************************************************/ package com.espertech.esper.epl.spec; import java.util.List; import java.util.ArrayList; /** * Specification for the on-set statement. */ public class OnTriggerSetDesc extends OnTriggerDesc { private List<OnTriggerSetAssignment> assignments; private static final long serialVersionUID = -5104683353293495487L; /** * Ctor. * @param assignments is a list of assignments */ public OnTriggerSetDesc(List<OnTriggerSetAssignment> assignments) { super(OnTriggerType.ON_SET); this.assignments = assignments; } /** * Returns a list of all variables assignment by the on-set * @return list of assignments */ public List<OnTriggerSetAssignment> getAssignments() { return assignments; } }