jcolibri.extensions.textual.IE.representation.info
Class FeatureInfo

java.lang.Object
  extended by jcolibri.extensions.textual.IE.representation.info.FeatureInfo

public class FeatureInfo
extends java.lang.Object

This class represents a feature. It's composed by:

First version developed at: Robert Gordon University - Aberdeen & Facultad Informática, Universidad Complutense de Madrid (GAIA)

Version:
2.0
Author:
Juan Antonio Recio García

Constructor Summary
FeatureInfo(java.lang.String feature, java.lang.String value, int begin, int end)
          Creates a feature info object
 
Method Summary
 int getBegin()
           
 int getEnd()
           
 java.lang.String getFeature()
           
 java.lang.String getValue()
           
 void setBegin(int begin)
           
 void setEnd(int end)
           
 void setFeature(java.lang.String feature)
           
 void setValue(java.lang.String value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FeatureInfo

public FeatureInfo(java.lang.String feature,
                   java.lang.String value,
                   int begin,
                   int end)
Creates a feature info object

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getBegin

public int getBegin()
Returns:
Returns the begin.

setBegin

public void setBegin(int begin)
Parameters:
begin - The begin to set.

getEnd

public int getEnd()
Returns:
Returns the end.

setEnd

public void setEnd(int end)
Parameters:
end - The end to set.

getFeature

public java.lang.String getFeature()
Returns:
Returns the feature.

setFeature

public void setFeature(java.lang.String feature)
Parameters:
feature - The feature to set.

getValue

public java.lang.String getValue()
Returns:
Returns the value.

setValue

public void setValue(java.lang.String value)
Parameters:
value - The value to set.

GAIA - Group for Artificial Intelligence Applications
http://gaia.fdi.ucm.es