1 2 5 14 package org.jacorb.trading.constraint; 15 16 import java.io.*; 17 18 19 20 public abstract class ExprNode 21 { 22 private ValueType m_type; 23 24 25 public ValueType getType() 26 { 27 return m_type; 28 } 29 30 31 public abstract void print(PrintStream ostr); 32 33 34 public abstract Value evaluate(PropertySource source) 35 throws MissingPropertyException; 36 37 38 protected void setType(ValueType type) 39 { 40 m_type = type; 41 } 42 } 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | Popular Tags |