gate.util
Class AbstractFeatureBearer

java.lang.Object
  |
  +--gate.util.AbstractFeatureBearer
All Implemented Interfaces:
FeatureBearer
Direct Known Subclasses:
AbstractResource, AnnotationImpl, ResourceData, SerialDataStore

public abstract class AbstractFeatureBearer
extends Object
implements FeatureBearer

A convenience implemetation of FeatureBearer.

See Also:
FeatureBearer

Constructor Summary
AbstractFeatureBearer()
           
 
Method Summary
 FeatureMap getFeatures()
          Get the feature set
 String getName()
          Returns the name of this resource
 void setFeatures(FeatureMap features)
          Set the feature set
 void setName(String name)
          Sets the name of this resource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractFeatureBearer

public AbstractFeatureBearer()
Method Detail

getFeatures

public FeatureMap getFeatures()
Get the feature set
Specified by:
getFeatures in interface FeatureBearer

setFeatures

public void setFeatures(FeatureMap features)
Set the feature set
Specified by:
setFeatures in interface FeatureBearer

setName

public void setName(String name)
Sets the name of this resource
Specified by:
setName in interface FeatureBearer

getName

public String getName()
Returns the name of this resource
Specified by:
getName in interface FeatureBearer