gate.creole.ml
Class Attribute

java.lang.Object
  |
  +--gate.creole.ml.Attribute
All Implemented Interfaces:
Serializable

public class Attribute
extends Object
implements Serializable

Describes an attribute associated to a ML instance.

See Also:
Serialized Form

Field Summary
private  String feature
           
(package private)  boolean isClass
           
private  String name
           
private  int position
           
private  String type
           
private  List values
           
 
Constructor Summary
Attribute(org.jdom.Element jdomElement)
           
 
Method Summary
 String getFeature()
           
 String getName()
           
 int getPosition()
           
 String getType()
           
 List getValues()
           
 boolean isClass()
           
 void setFeature(String feature)
           
 void setName(String name)
           
 void setType(String type)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

isClass

boolean isClass

name

private String name

type

private String type

feature

private String feature

values

private List values

position

private int position
Constructor Detail

Attribute

public Attribute(org.jdom.Element jdomElement)
          throws GateException
Method Detail

toString

public String toString()
Overrides:
toString in class Object

isClass

public boolean isClass()

setName

public void setName(String name)

getName

public String getName()

setType

public void setType(String type)

getType

public String getType()

setFeature

public void setFeature(String feature)

getFeature

public String getFeature()

getValues

public List getValues()

getPosition

public int getPosition()