Java Doc for CriteriaField.java in  » J2EE » Jaffa » org » jaffa » components » finder » 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 » J2EE » Jaffa » org.jaffa.components.finder 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.jaffa.components.finder.CriteriaField

All known Subclasses:   org.jaffa.components.finder.StringCriteriaField,  org.jaffa.components.finder.DateTimeCriteriaField,  org.jaffa.components.finder.BooleanCriteriaField,  org.jaffa.components.finder.RawCriteriaField,  org.jaffa.components.finder.CurrencyCriteriaField,  org.jaffa.components.finder.DecimalCriteriaField,  org.jaffa.components.finder.IntegerCriteriaField,  org.jaffa.components.finder.DateOnlyCriteriaField,
CriteriaField
public interface CriteriaField (Code)
This is the interface for all the Criteria fields. Each CriteriaField object will consist of an Operator and a array of values. The length of the array will be zero for the 'IsNull' and 'IsNotNull' operators. The length of the array will have to be >= 1, for the 'Between' and the 'In' operators. For all other operators, the length of the array will have to be one.
author:
   GautamJ


Field Summary
final static  StringCONSECUTIVE_SEPARATORS
    
final static  StringCONSECUTIVE_SEPARATORS_WITH_SPACE
    
final public static  StringRELATIONAL_BEGINS_WITH
     A global constant for the BEGINS_WITH criteria operator.
final public static  StringRELATIONAL_BETWEEN
     A global constant for the BETWEEN criteria operator.
final public static  StringRELATIONAL_ENDS_WITH
     A global constant for the ENDS_WITH criteria operator.
final public static  StringRELATIONAL_EQUALS
     A global constant for the EQUALS criteria operator.
final public static  StringRELATIONAL_GREATER_THAN
     A global constant for the GREATER_THAN criteria operator.
final public static  StringRELATIONAL_GREATER_THAN_EQUAL_TO
     A global constant for the GREATER_THAN_EQUAL_TO criteria operator.
final public static  StringRELATIONAL_IN
     A global constant for the IN criteria operator.
final public static  StringRELATIONAL_IS_NOT_NULL
     A global constant for the IS_NOT_NULL criteria operator.
final public static  StringRELATIONAL_IS_NULL
     A global constant for the IS_NULL criteria operator.
final public static  StringRELATIONAL_LIKE
     A global constant for the LIKE criteria operator.
final public static  StringRELATIONAL_NOT_EQUALS
     A global constant for the NOT_EQUALS criteria operator.
final public static  StringRELATIONAL_SMALLER_THAN
     A global constant for the SMALLER_THAN criteria operator.
final public static  StringRELATIONAL_SMALLER_THAN_EQUAL_TO
     A global constant for the SMALLER_THAN_EQUAL_TO criteria operator.
final public static  charSEPARATOR_CHAR_FOR_IN_BETWEEN_OPERATORS
     This character should be used for separating the arguments for the In/Between relational operators.
final public static  StringSEPARATOR_FOR_IN_BETWEEN_OPERATORS
     This is the String representation of the constant SEPARATOR_CHAR_FOR_IN_BETWEEN_OPERATORS.


Method Summary
public  StringgetOperator()
     Getter for property operator.
public  Object[]returnValuesAsObjectArray()
     Getter for property values. This method ensures that a class implementing the CriteriaField interface will have an array of criteria values. Additionally they are expected to have a 'getValues()' method returning actual instances. For eg.

Field Detail
CONSECUTIVE_SEPARATORS
final static String CONSECUTIVE_SEPARATORS(Code)



CONSECUTIVE_SEPARATORS_WITH_SPACE
final static String CONSECUTIVE_SEPARATORS_WITH_SPACE(Code)



RELATIONAL_BEGINS_WITH
final public static String RELATIONAL_BEGINS_WITH(Code)
A global constant for the BEGINS_WITH criteria operator.



RELATIONAL_BETWEEN
final public static String RELATIONAL_BETWEEN(Code)
A global constant for the BETWEEN criteria operator.



RELATIONAL_ENDS_WITH
final public static String RELATIONAL_ENDS_WITH(Code)
A global constant for the ENDS_WITH criteria operator.



RELATIONAL_EQUALS
final public static String RELATIONAL_EQUALS(Code)
A global constant for the EQUALS criteria operator.



RELATIONAL_GREATER_THAN
final public static String RELATIONAL_GREATER_THAN(Code)
A global constant for the GREATER_THAN criteria operator.



RELATIONAL_GREATER_THAN_EQUAL_TO
final public static String RELATIONAL_GREATER_THAN_EQUAL_TO(Code)
A global constant for the GREATER_THAN_EQUAL_TO criteria operator.



RELATIONAL_IN
final public static String RELATIONAL_IN(Code)
A global constant for the IN criteria operator.



RELATIONAL_IS_NOT_NULL
final public static String RELATIONAL_IS_NOT_NULL(Code)
A global constant for the IS_NOT_NULL criteria operator.



RELATIONAL_IS_NULL
final public static String RELATIONAL_IS_NULL(Code)
A global constant for the IS_NULL criteria operator.



RELATIONAL_LIKE
final public static String RELATIONAL_LIKE(Code)
A global constant for the LIKE criteria operator.



RELATIONAL_NOT_EQUALS
final public static String RELATIONAL_NOT_EQUALS(Code)
A global constant for the NOT_EQUALS criteria operator.



RELATIONAL_SMALLER_THAN
final public static String RELATIONAL_SMALLER_THAN(Code)
A global constant for the SMALLER_THAN criteria operator.



RELATIONAL_SMALLER_THAN_EQUAL_TO
final public static String RELATIONAL_SMALLER_THAN_EQUAL_TO(Code)
A global constant for the SMALLER_THAN_EQUAL_TO criteria operator.



SEPARATOR_CHAR_FOR_IN_BETWEEN_OPERATORS
final public static char SEPARATOR_CHAR_FOR_IN_BETWEEN_OPERATORS(Code)
This character should be used for separating the arguments for the In/Between relational operators.



SEPARATOR_FOR_IN_BETWEEN_OPERATORS
final public static String SEPARATOR_FOR_IN_BETWEEN_OPERATORS(Code)
This is the String representation of the constant SEPARATOR_CHAR_FOR_IN_BETWEEN_OPERATORS.





Method Detail
getOperator
public String getOperator()(Code)
Getter for property operator. Value of property operator.



returnValuesAsObjectArray
public Object[] returnValuesAsObjectArray()(Code)
Getter for property values. This method ensures that a class implementing the CriteriaField interface will have an array of criteria values. Additionally they are expected to have a 'getValues()' method returning actual instances. For eg. StringCriteriaField will have 'String[] getValues()', BooleanCriteriaField will have 'Boolean[] getValues()' and so on. An array of values for the Criteria.



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