1 2 5 14 package org.jacorb.trading.constraint; 15 16 17 public interface Value 18 { 19 public void setValue(Object value); 20 public int getTypeId(); 21 public Object getValue(); 22 23 public boolean equals(Value nv); 24 public boolean lessThan(Value nv); 25 public boolean lessThanEqual(Value nv); 26 public boolean greaterThan(Value nv); 27 public boolean greaterThanEqual(Value nv); 28 public Value plus(Value nv); 29 public Value minus(Value nv); 30 public Value multiply(Value nv); 31 public Value divide(Value nv); 32 public Value negate(); 33 34 public Value convert(int typeId); 35 36 public String toString(); 37 } 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | Popular Tags |