GATE
Version 3.1-2270

gate.creole.ml
Class DatasetDefintion

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

public class DatasetDefintion
extends Object
implements Serializable

Stores data describing a dataset.

See Also:
Serialized Form

Field Summary
protected  List attributes
           
protected  Attribute classAttribute
           
protected  int classIndex
           
protected  String instanceType
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

attributes

protected List attributes

classAttribute

protected Attribute classAttribute

instanceType

protected String instanceType

classIndex

protected int classIndex
Constructor Detail

DatasetDefintion

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

DatasetDefintion

public DatasetDefintion()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

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)

GATE
Version 3.1-2270