com.xdev.jadoth.sqlengine.internal.QueryExecutors Maven / Gradle / Ivy
/*
* XDEV Application Framework - XDEV Application Framework
* Copyright © 2003 XDEV Software (https://xdev.software)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*/
package com.xdev.jadoth.sqlengine.internal;
import java.util.LinkedList;
import java.util.List;
import com.xdev.jadoth.sqlengine.aspects.QueryExecutionAspect;
import com.xdev.jadoth.sqlengine.aspects.QueryExecutionContext;
/**
* @author Thomas Muenz
*
*/
public class QueryExecutors
{
///////////////////////////////////////////////////////////////////////////
// instance fields //
////////////////////
private List, R>> preAssemblyExecutors = null;
private List, R>> preExecutionExecutors = null;
private List, R>> executionExecutors = null;
///////////////////////////////////////////////////////////////////////////
// getters //
/////////////////////
/**
* @return the preAssemblyExecutors
*/
public List, R>> getPreAssemblyExecutors()
{
return preAssemblyExecutors;
}
/**
* @return the preExecutionExecutors
*/
public List, R>> getPreExecutionExecutors()
{
return preExecutionExecutors;
}
/**
* @return the postExecutionExecutors
*/
public List, R>> getPostExecutionExecutors()
{
return executionExecutors;
}
///////////////////////////////////////////////////////////////////////////
// setters //
/////////////////////
/**
* @param preAssemblyExecutors the preAssemblyExecutors to set
*/
public QueryExecutors setPreAssemblyExecutors(List, R>> preAssemblyExecutors)
{
this.preAssemblyExecutors = preAssemblyExecutors;
return this;
}
/**
* @param preExecutionExecutors the preExecutionExecutors to set
*/
public QueryExecutors setPreExecutionExecutors(List, R>> preExecutionExecutors)
{
this.preExecutionExecutors = preExecutionExecutors;
return this;
}
/**
* @param postExecutionExecutors the postExecutionExecutors to set
*/
public QueryExecutors setPostExecutionExecutors(List, R>> postExecutionExecutors)
{
this.executionExecutors = postExecutionExecutors;
return this;
}
///////////////////////////////////////////////////////////////////////////
// declared methods //
/////////////////////
public List, R>> preAssemblyExecutors()
{
if(this.preAssemblyExecutors == null){
this.preAssemblyExecutors = new LinkedList,R>>();
}
return this.preAssemblyExecutors;
}
public List, R>> preExecutionExecutors()
{
if(this.preExecutionExecutors == null){
this.preExecutionExecutors = new LinkedList,R>>();
}
return this.preExecutionExecutors;
}
public List, R>> postExecutionExecutors()
{
if(this.executionExecutors == null){
this.executionExecutors = new LinkedList,R>>();
}
return this.executionExecutors;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy