Coverage Report - org.kuali.rice.krms.api.LogicalOperator
 
Classes in this File Line Coverage Branch Coverage Complexity
LogicalOperator
0%
0/9
N/A
1
 
 1  
 package org.kuali.rice.krms.api;
 2  
 
 3  
 import java.util.Arrays;
 4  
 import java.util.Collection;
 5  
 import java.util.Collections;
 6  
 
 7  0
 public enum LogicalOperator {
 8  
         
 9  0
         AND("&"),
 10  0
         OR("|");
 11  
 
 12  
         private final String opCode;
 13  0
         private LogicalOperator(String op){
 14  0
                 this.opCode = op;
 15  0
         }
 16  
         
 17  
         public String opCode(){
 18  0
                 return opCode;
 19  
         }
 20  
         
 21  0
         public static final Collection<String> OP_CODES =
 22  
                 Collections.unmodifiableCollection(Arrays.asList(AND.opCode, OR.opCode));
 23  
                 
 24  
         @Override
 25  
         public String toString(){
 26  0
                 return opCode;
 27  
         }
 28  
 }