1   /*
2    *  NameBearer.java
3    *
4    *  Copyright (c) 1998-2001, The University of Sheffield.
5    *
6    *  This file is part of GATE (see http://gate.ac.uk/), and is free
7    *  software, licenced under the GNU Library General Public License,
8    *  Version 2, June 1991 (in the distribution as file licence.html,
9    *  and also available at http://gate.ac.uk/gate/licence.html).
10   *
11   *  Kalina Bontcheva, 17/Sept/2001
12   *
13   *  $Id: NameBearer.java,v 1.1 2001/09/18 09:53:50 kalina Exp $
14   */
15  
16  package gate.util;
17  import java.util.*;
18  import gate.*;
19  
20  /** Classes that have features.
21    */
22  public interface NameBearer
23  {
24    /** Sets the name of this resource*/
25    public void setName(String name);
26  
27    /** Returns the name of this resource*/
28    public String getName();
29  
30  } // interface NameBearer