| NameBearer.java |
1 /*
2 * NameBearer.java
3 *
4 * Copyright (c) 1998-2004, 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.3 2004/07/21 17:10:09 akshay Exp $
14 */
15
16 package gate.util;
17
18 /** Classes that have features.
19 */
20 public interface NameBearer
21 {
22 /** Sets the name of this resource*/
23 public void setName(String name);
24
25 /** Returns the name of this resource*/
26 public String getName();
27
28 } // interface NameBearer