01: // SpaceEntryImpl.java
02: // $Id: SpaceEntryImpl.java,v 1.2 1998/04/28 14:09:55 bmahe Exp $
03: // (c) COPYRIGHT MIT and INRIA, 1996.
04: // Please first read the full copyright statement in file COPYRIGHT.html
05:
06: package org.w3c.tools.resources;
07:
08: public class SpaceEntryImpl implements SpaceEntry {
09:
10: Integer key = null;
11:
12: /**
13: * Get the Key. This key must be unique and unchanged
14: * during the all life.
15: * @return an int.
16: */
17: public Integer getEntryKey() {
18: return key;
19: }
20:
21: public String toString() {
22: return String.valueOf(key);
23: }
24:
25: public SpaceEntryImpl(ContainerResource cont) {
26: this.key = cont.getKey();
27: }
28:
29: }
|