Java Doc for Expression.java in  » Report » pentaho-report » org » jfree » report » expressions » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Report » pentaho report » org.jfree.report.expressions 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.jfree.report.expressions.Expression

All known Subclasses:   org.jfree.report.expressions.AbstractExpression,
Expression
public interface Expression extends Cloneable,Serializable(Code)
An expression is a lightweight computation that does not maintain a state. Expressions are used to calculate values within a single row of a report. Expressions can use a dataRow to access other fields, expressions or functions within the current row in the report. Statefull computations can be implemented using functions.
author:
   Thomas Morgner
See Also:   Function




Method Summary
public  Objectclone()
     Clones the expression, expression should be reinitialized after the cloning.
public  ObjectcomputeValue()
     Return the current expression value.
public  ExpressiongetInstance()
     Return a new instance of this expression.
public  StringgetName()
     Returns the name of the expression.
public  booleanisDeepTraversing()
     A deep-traversing expression declares that it should receive updates from all subreports.
public  booleanisPrecompute()
     Returns, whether the expression will be precomputed.
public  booleanisPreserve()
     Checks, whether the expression's result should be preserved in the precomputed value registry.
public  voidsetDeepTraversing(boolean deepTraversing)
     Defines, whether the expression is deep-traversing.
public  voidsetName(String name)
     Sets the name of the expression.
public  voidsetPrecompute(boolean precompute)
     Defines, whether the expression will be precomputed.
public  voidsetPreserve(boolean preserve)
     Defines, whether the expression's result should be preserved in the precomputed value registry.
public  voidsetRuntime(ExpressionRuntime runtime)
     Defines the DataRow used in this expression.



Method Detail
clone
public Object clone() throws CloneNotSupportedException(Code)
Clones the expression, expression should be reinitialized after the cloning.

Expression maintain no state, cloning is done at the beginning of the report processing to disconnect the used expression from any other object space. A clone of this expression.
throws:
  CloneNotSupportedException - this should never happen.




computeValue
public Object computeValue() throws DataSourceException(Code)
Return the current expression value.

The value depends (obviously) on the expression implementation. the value of the function.




getInstance
public Expression getInstance()(Code)
Return a new instance of this expression. The copy is initialized and uses the same parameters as the original, but does not share any objects. a copy of this function.



getName
public String getName()(Code)
Returns the name of the expression. An expression without a name cannot be referenced from outside the element. the function name.



isDeepTraversing
public boolean isDeepTraversing()(Code)
A deep-traversing expression declares that it should receive updates from all subreports. This mode should be activated if the expression's result depends on values contained in the subreport. true, if the expression is deep-traversing, false otherwise.



isPrecompute
public boolean isPrecompute()(Code)
Returns, whether the expression will be precomputed. For precomputed expressions a parallel evaluation process is started and the result to which the expression evaluates before it gets out of scope will be used whenever an other expression queries this expression's value. true, if the expression is precomputed, false otherwise.



isPreserve
public boolean isPreserve()(Code)
Checks, whether the expression's result should be preserved in the precomputed value registry. This way, the last value for that expression can be retrieved after the report has been finished. The preserve-function will only preserve the last value that has been evaluated before the expression went out of scope. true, if the expression's results should be preserved,false otherwise.



setDeepTraversing
public void setDeepTraversing(boolean deepTraversing)(Code)
Defines, whether the expression is deep-traversing.
Parameters:
  deepTraversing - true, if the expression is deep-traversing, falseotherwise.



setName
public void setName(String name)(Code)
Sets the name of the expression.
Parameters:
  name - the name.



setPrecompute
public void setPrecompute(boolean precompute)(Code)
Defines, whether the expression will be precomputed. For precomputed expressions a parallel evaluation process is started and the result to which the expression evaluates before it gets out of scope will be used whenever an other expression queries this expression's value.
Parameters:
  precompute - true, if the expression is precomputed, false otherwise.



setPreserve
public void setPreserve(boolean preserve)(Code)
Defines, whether the expression's result should be preserved in the precomputed value registry. This way, the last value for that expression can be retrieved after the report has been finished.
Parameters:
  preserve - true, if the expression's results should be preserved,false otherwise.



setRuntime
public void setRuntime(ExpressionRuntime runtime)(Code)
Defines the DataRow used in this expression. The dataRow is set when the report processing starts and can be used to access the values of functions, expressions and the reports datasource.
Parameters:
  runtime - the runtime information for the expression



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.