/************************************************************************************** * 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.core; import com.espertech.esper.epl.expression.ExprPreviousNode; import com.espertech.esper.epl.expression.ExprPriorNode; import java.util.ArrayList; import java.util.List; /** * Coordinates between view factories and requested resource (by expressions) the * availability of view resources to expressions. */ public class ViewResourceDelegateUnverified { private final List<ExprPriorNode> priorRequests; private final List<ExprPreviousNode> previousRequests; public ViewResourceDelegateUnverified() { this.priorRequests = new ArrayList<ExprPriorNode>(); this.previousRequests = new ArrayList<ExprPreviousNode>(); } public List<ExprPriorNode> getPriorRequests() { return priorRequests; } public void addPriorNodeRequest(ExprPriorNode priorNode) { priorRequests.add(priorNode); } public void addPreviousRequest(ExprPreviousNode previousNode) { previousRequests.add(previousNode); } public List<ExprPreviousNode> getPreviousRequests() { return previousRequests; } }