File:  [Public] / java / classes / org / w3c / tools / resources / SpaceEntryImpl.java
Revision 1.3: download - view: text, annotated - select for diffs
Fri Oct 18 13:42:27 2013 UTC (12 years, 2 months ago) by ylafon
Branches: MAIN
CVS tags: HEAD
generics + raw types + serializer

// SpaceEntryImpl.java
// $Id: SpaceEntryImpl.java,v 1.3 2013/10/18 13:42:27 ylafon Exp $
// (c) COPYRIGHT MIT and INRIA, 1996.
// Please first read the full copyright statement in file COPYRIGHT.html

package org.w3c.tools.resources;

public class SpaceEntryImpl implements SpaceEntry {

    Integer key = null;

    /**
     * Get the Key. This key must be unique and unchanged
     * during the all life.
     *
     * @return an int.
     */
    public Integer getEntryKey() {
        return key;
    }

    public String toString() {
        return String.valueOf(key);
    }

    public SpaceEntryImpl(ContainerResource cont) {
        this.key = cont.getKey();
    }

}

Webmaster