Show
Ignore:
Timestamp:
06/12/07 11:19:19 (2 years ago)
Author:
warner
Message:

Incomplete - # 27: Create model template for groovy model creation
http://warneronstine.com/cgi-bin/trac.cgi/ticket/27
just wrapping this up

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/main/groovy/org/chama/builder/model/QueryBuilder.groovy

    r61 r63  
    1818     
    1919    //conditionals 
    20     public static final String AND = "and"; // builder 
    21        public static final String IS_NULL = "isNull"; // builder 
    22         public static final String IS_NOT_NULL = "notNull"; // builder 
    23         public static final String NOT = "not";// builder 
    24         public static final String OR = "or"; // builder 
    25         public static final String ID_EQUALS = "idEq"; // builder 
    26         public static final String IS_EMPTY = "isEmpty"; //builder 
    27         public static final String IS_NOT_EMPTY = "isNotEmpty"; //builder 
     20    def static AND = "and"; // builder 
     21    def static IS_NULL = "isNull"; // builder 
     22        def static IS_NOT_NULL = "notNull"; // builder 
     23        def static NOT = "not";// builder 
     24        def static OR = "or"; // builder 
     25        def static ID_EQUALS = "idEq"; // builder 
     26        def static IS_EMPTY = "isEmpty"; //builder 
     27        def static IS_NOT_EMPTY = "isNotEmpty"; //builder 
    2828         
    2929        def static SELECT = "select" //method