/*
***************************************************************************************
* Copyright (C) 2006 EsperTech, Inc. All rights reserved. *
* http://www.espertech.com/esper *
* 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;
/**
* 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;
}
}