gate.creole.ml
Class DatasetDefintion

java.lang.Object
  extended bygate.creole.ml.DatasetDefintion
All Implemented Interfaces:
Serializable

public class DatasetDefintion
extends Object
implements Serializable

Stores data describing a dataset.

See Also:
Serialized Form

Constructor Summary
DatasetDefintion()
           
DatasetDefintion(org.jdom.Element domElement)
           
 
Method Summary
 List getAttributes()
           
 Attribute getClassAttribute()
           
 int getClassIndex()
           
 String getInstanceType()
           
 void setClassAttribute(Attribute classAttribute)
           
 void setClassIndex(int classIndex)
           
 void setInstanceType(String instanceType)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DatasetDefintion

public DatasetDefintion(org.jdom.Element domElement)
                 throws GateException

DatasetDefintion

public DatasetDefintion()
Method Detail

toString

public String toString()

getAttributes

public List getAttributes()

getClassAttribute

public Attribute getClassAttribute()

getInstanceType

public String getInstanceType()

getClassIndex

public int getClassIndex()

setClassAttribute

public void setClassAttribute(Attribute classAttribute)

setClassIndex

public void setClassIndex(int classIndex)

setInstanceType

public void setInstanceType(String instanceType)