1 cananian 1.1.2.1 // HDataElement.java, created Wed Sep  8 15:35:12 1999 by cananian
 2 cananian 1.1.2.1 // Copyright (C) 1999 C. Scott Ananian <cananian@alumni.princeton.edu>
 3 cananian 1.1.2.1 // Licensed under the terms of the GNU GPL; see COPYING for details.
 4 cananian 1.1.2.1 package harpoon.ClassFile;
 5 cananian 1.1.2.1 
 6 cananian 1.1.2.1 /**
 7 cananian 1.1.2.1  * <code>HDataElement</code> is an interface that all views of
 8 cananian 1.1.2.1  * the data items in an <code>HData</code> must implement.
 9 cananian 1.1.2.1  * Items in an <code>HData</code> must be tracable to a particular source
10 cananian 1.1.2.1  * file, and possess an unique numeric identifier.
11 cananian 1.1.2.1  * 
12 cananian 1.1.2.1  * @author  C. Scott Ananian <cananian@alumni.princeton.edu>
13 cananian 1.2      * @version $Id: HDataElement.java,v 1.2 2002/02/25 21:03:03 cananian Exp $
14 cananian 1.1.2.1  */
15 cananian 1.1.2.1 public interface HDataElement {
16 cananian 1.1.2.1     /** Get the original source file name that this element is derived from. */
17 cananian 1.1.2.1     public String getSourceFile();
18 cananian 1.1.2.1     /** Returns a unique numeric identifier for this element. */
19 cananian 1.1.2.1     public int getID();
20 cananian 1.2     }