/*
 *  NameBearer.java
 *
 *  Copyright (c) 1998-2001, The University of Sheffield.
 *
 *  This file is part of GATE (see http://gate.ac.uk/), and is free
 *  software, licenced under the GNU Library General Public License,
 *  Version 2, June 1991 (in the distribution as file licence.html,
 *  and also available at http://gate.ac.uk/gate/licence.html).
 *
 *  Valentin Tablan 21 Sep 2001
 *
 *  $Id: AbstractNameBearer.java,v 1.2 2001/10/20 17:33:03 kalina Exp $
 */

package gate.util;

import java.io.Serializable;

public abstract class AbstractNameBearer implements Serializable {

  static final long serialVersionUID = -3745118855639865521L;

    /** Sets the name of this resource*/
  public void setName(String name){
    this.name = name;
  }

  /** Returns the name of this resource*/
  public String getName(){
    return name;
  }

  protected String name;
}