1 21 package com.presumo.jms.selector; 22 23 import javax.jms.Message ; 24 25 30 abstract class JmsDataType extends JmsOperand 31 { 32 protected String stringRepresentation; 33 34 protected JmsDataType(boolean tracked) 38 { 39 super(tracked); 40 } 41 42 43 47 public String toString() { return stringRepresentation; } 48 49 50 54 abstract JmsBooleanLiteral eq(JmsDataType value) throws SelectorFalseException; 55 56 59 final JmsOperand evaluate(Message msg) throws SelectorFalseException 60 { 61 return this; 62 } 63 64 69 final JmsOperand evaluateOnce(Message msg) throws SelectorFalseException 70 { 71 return this; 72 } 73 74 String unParse() { return stringRepresentation; } 75 76 } 77 78 79 80 81 | Popular Tags |