Java Doc for Expression.java in  » Report » pentaho-report » org » jfree » report » function » 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.function 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.jfree.report.function.Expression

All known Subclasses:   org.jfree.report.function.AbstractExpression,
Expression
public interface Expression extends Cloneable(Code)
An expression is a lightweight function 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.
author:
   Thomas Morgner




Method Summary
public  Objectclone()
     Clones the expression, expression should be reinitialized after the cloning.
public  DataRowgetDataRow()
     Returns the DataRow used in this expression.
public  intgetDependencyLevel()
     The dependency level defines the level of execution for this function.
public  ExpressiongetInstance()
     Return a new instance of this expression.
public  StringgetName()
     Returns the name of the expression.
public  ConfigurationgetReportConfiguration()
     Returns the report's current configuration.
public  ResourceBundleFactorygetResourceBundleFactory()
     Returns the resource-bundle factory of the report.
public  ExpressionRuntimegetRuntime()
     Retrieves the runtime instance.
public  ObjectgetValue()
     Return the current expression value.
public  booleanisActive()
     Returns true if this expression contains autoactive content and should be called by the system, regardless whether this expression is referenced in the datarow.
public  booleanisDeepTraversing()
     Checks, whether this expression is a deep-traversing expression.
public  booleanisPreserve()
     Checks, whether this expression's last value is preserved after the expression goes out of scope.
public  voidsetDependencyLevel(int level)
     Sets the dependency level for the expression.
public  voidsetName(String name)
     Sets the name of the expression.
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.




getDataRow
public DataRow getDataRow()(Code)
Returns 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. the assigned DataRow for this report processing.



getDependencyLevel
public int getDependencyLevel()(Code)
The dependency level defines the level of execution for this function. Higher dependency functions are executed before lower dependency functions. For ordinary functions and expressions, the range for dependencies is defined to start from 0 (lowest dependency possible) to 2^31 (upper limit of int).

Levels below 0 are reserved for system-functionality (printing and layouting).

The level must not change during the report processing, or the result is invalid. the level.




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.

Every expression, function and column in the datamodel within a report is required to have a unique name. the function name.




getReportConfiguration
public Configuration getReportConfiguration()(Code)
Returns the report's current configuration. the configuration of the report.



getResourceBundleFactory
public ResourceBundleFactory getResourceBundleFactory()(Code)
Returns the resource-bundle factory of the report. This factory encapsulates the Locale and allows to create a resource-bundle in a implementation-independent way. the resource-bundle factory.



getRuntime
public ExpressionRuntime getRuntime()(Code)
Retrieves the runtime instance. the runtime, can be null, if the expression is abused outside of the report processing.



getValue
public Object getValue()(Code)
Return the current expression value.

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




isActive
public boolean isActive()(Code)
Returns true if this expression contains autoactive content and should be called by the system, regardless whether this expression is referenced in the datarow. true, if the expression is activated automaticly, false otherwise.



isDeepTraversing
public boolean isDeepTraversing()(Code)
Checks, whether this expression is a deep-traversing expression. Deep-traversing expressions receive events from all sub-reports. the deep-traversing flag.



isPreserve
public boolean isPreserve()(Code)
Checks, whether this expression's last value is preserved after the expression goes out of scope. true, if the expression's last value is preserved, false otherwise.



setDependencyLevel
public void setDependencyLevel(int level)(Code)
Sets the dependency level for the expression.
Parameters:
  level - the level.



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

The name must not be null and must be unique within the expression group.
Parameters:
  name - the name.




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.