01: package demo.value.idl;
02:
03: public class NodeImpl extends Node {
04:
05: public NodeImpl() {
06: // This no-arg constructor is used at unmarshalling time.
07: // Because of its presence, there is no need for a separate
08: // value factory for this type. This is a special JacORB feature,
09: // see README and org.jacorb.orb.ORB.lookup_value_factory() for
10: // details.
11: }
12:
13: public NodeImpl(int id) {
14: this .id = id;
15: }
16:
17: public String toString() {
18: return "#" + Integer.toString(id) + "#";
19: }
20:
21: }
|