package net.sf.jasperreports.engine.design; import java.io.File; import java.io.Serializable; import java.util.List; public class JRCompilationUnit { private final String name; private final JRCompilationSourceCode source; private final File sourceFile; private final List expressions; private Serializable compileData; public JRCompilationUnit(String name, JRCompilationSourceCode sourceCode, File sourceFile, List expressions) { this.name = name; this.source = sourceCode; this.sourceFile = sourceFile; this.expressions = expressions; } public String getName() { return this.name; } public String getSourceCode() { return this.source.getCode(); } public JRCompilationSourceCode getCompilationSource() { return this.source; } public File getSourceFile() { return this.sourceFile; } public List getExpressions() { return this.expressions; } public void setCompileData(Serializable compileData) { this.compileData = compileData; } public Serializable getCompileData() { return this.compileData; } }