Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register
Show
Ignore:
Timestamp:
07/21/07 08:29:23 (1 year ago)
Author:
vmitrovic
Message:

Logic service - An almost-complete LogicCriteria -> Criteria conversion solution. Still not tested because of Spring issues.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openmrs/branches/logic/src/api/org/openmrs/logic/LogicCriteria.java

    r2033 r2051  
    292292 
    293293    public String getRootToken() { 
    294         return (String) getRootCriteria().rightOperand; 
     294        if (getRootCriteria().rightOperand instanceof String) 
     295            return (String) getRootCriteria().rightOperand; 
     296        else return null; 
    295297    } 
    296298