net.sf.jasperreports.engine.design
Class JRCompilationUnit

java.lang.Object
  extended by net.sf.jasperreports.engine.design.JRCompilationUnit

public class JRCompilationUnit
extends java.lang.Object

Expression evaluator compilation unit used by report compilers.

Version:
$Id: JRCompilationUnit.java 1625 2007-03-09 17:21:31Z lucianc $
Author:
Lucian Chirita (lucianc@users.sourceforge.net)

Constructor Summary
JRCompilationUnit(java.lang.String name, JRCompilationSourceCode sourceCode, java.io.File sourceFile, java.util.List expressions)
          Creates a compilation unit.
 
Method Summary
 JRCompilationSourceCode getCompilationSource()
          Returns the compilation source code unit.
 java.io.Serializable getCompileData()
          Returns the compilation data used for creating expression evaluators.
 java.util.List getExpressions()
          Returns the list of expressions.
 java.lang.String getName()
          Returns the name of the unit.
 java.lang.String getSourceCode()
          Returns the source code generated for the unit.
 java.io.File getSourceFile()
          Returns the file where the source code was saved.
 void setCompileData(java.io.Serializable compileData)
          Sets the compilation data used for creating expression evaluators.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JRCompilationUnit

public JRCompilationUnit(java.lang.String name,
                         JRCompilationSourceCode sourceCode,
                         java.io.File sourceFile,
                         java.util.List expressions)
Creates a compilation unit.

Parameters:
name - the name of the unit
sourceCode - the source code generated for the unit
sourceFile - the file where the source code was saved
expressions - the list of expressions
Method Detail

getName

public java.lang.String getName()
Returns the name of the unit.

Returns:
the name of the unit

getSourceCode

public java.lang.String getSourceCode()
Returns the source code generated for the unit.

Returns:
the source code generated for the unit

getCompilationSource

public JRCompilationSourceCode getCompilationSource()
Returns the compilation source code unit.

Returns:
the compilation source code

getSourceFile

public java.io.File getSourceFile()
Returns the file where the source code was saved.

Returns:
the file where the source code was saved

getExpressions

public java.util.List getExpressions()
Returns the list of expressions.

Returns:
the list of expressions

setCompileData

public void setCompileData(java.io.Serializable compileData)
Sets the compilation data used for creating expression evaluators.

Parameters:
compileData - the compilation data

getCompileData

public java.io.Serializable getCompileData()
Returns the compilation data used for creating expression evaluators.

Returns:
the compilation data used for creating expression evaluators


© 2001-2006 JasperSoft Corporation www.jaspersoft.com