Package org.eclipse.epsilon.pinset
Class DatasetRule
- java.lang.Object
-
- org.eclipse.epsilon.common.module.AbstractModuleElement
-
- org.eclipse.epsilon.eol.dom.AnnotatableModuleElement
-
- org.eclipse.epsilon.pinset.DatasetRule
-
- All Implemented Interfaces:
ModuleElement
public class DatasetRule extends AnnotatableModuleElement
DatasetRule.- Since:
- 2.1
- Author:
- Alfonso de la Vega
-
-
Field Summary
Fields Modifier and Type Field Description protected Dataset
dataset
protected IExecutableModuleElement
fromBlock
protected List<ColumnGenerator>
generators
protected ExecutableBlock<Boolean>
guardBlock
protected String
name
protected Parameter
parameter
-
Fields inherited from class org.eclipse.epsilon.eol.dom.AnnotatableModuleElement
annotationBlock
-
-
Constructor Summary
Constructors Constructor Description DatasetRule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
build(AST cst, IModule module)
void
dispose()
void
execute(IEolContext context)
Dataset
getDataset()
String
getName()
Parameter
getParameter()
static void
initialise(ColumnGenerator generator, IEolContext context, IPropertyGetter getter)
static boolean
isColumnGenerator(AST child)
boolean
isIncluded(Object object, IEolContext context, String varName)
void
setName(String name)
void
setParameter(Parameter parameter)
static void
setSilent(ColumnGenerator colGen, boolean isSilent)
-
Methods inherited from class org.eclipse.epsilon.eol.dom.AnnotatableModuleElement
accept, getAnnotation, getAnnotationBlock, getAnnotations, getAnnotationsValues, getBooleanAnnotationValue, getBooleanAnnotationValue, getBooleanAnnotationValue, getBooleanAnnotationValue, hasAnnotation, setAnnotationBlock
-
Methods inherited from class org.eclipse.epsilon.common.module.AbstractModuleElement
equals, getChildren, getComments, getData, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, hashCode, setModule, setParent, setRegion, setUri, toString
-
-
-
-
Field Detail
-
name
protected String name
-
parameter
protected Parameter parameter
-
guardBlock
protected ExecutableBlock<Boolean> guardBlock
-
fromBlock
protected IExecutableModuleElement fromBlock
-
generators
protected List<ColumnGenerator> generators
-
dataset
protected Dataset dataset
-
-
Method Detail
-
build
public void build(AST cst, IModule module)
- Specified by:
build
in interfaceModuleElement
- Overrides:
build
in classAnnotatableModuleElement
-
setSilent
public static void setSilent(ColumnGenerator colGen, boolean isSilent)
-
isColumnGenerator
public static boolean isColumnGenerator(AST child)
-
isIncluded
public boolean isIncluded(Object object, IEolContext context, String varName) throws EolRuntimeException
- Throws:
EolRuntimeException
-
execute
public void execute(IEolContext context) throws EolRuntimeException
- Throws:
EolRuntimeException
-
initialise
public static void initialise(ColumnGenerator generator, IEolContext context, IPropertyGetter getter)
-
getParameter
public Parameter getParameter()
-
setParameter
public void setParameter(Parameter parameter)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDataset
public Dataset getDataset()
-
dispose
public void dispose()
-
-