KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jacorb > trading > constraint > Value


1
2 // Copyright (C) 1998-1999
3
// Object Oriented Concepts, Inc.
4

5 // **********************************************************************
6
//
7
// Copyright (c) 1997
8
// Mark Spruiell (mark@intellisoft.com)
9
//
10
// See the COPYING file for more information
11
//
12
// **********************************************************************
13

14 package org.jacorb.trading.constraint;
15
16
17 public interface Value
18 {
19   public void setValue(Object JavaDoc value);
20   public int getTypeId();
21   public Object JavaDoc 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 JavaDoc toString();
37 }
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Popular Tags