weka.core.pmml
Class FieldMetaInfo

java.lang.Object
  extended by weka.core.pmml.FieldMetaInfo
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DerivedFieldMetaInfo, MiningFieldMetaInfo, TargetMetaInfo

public abstract class FieldMetaInfo
extends java.lang.Object
implements java.io.Serializable

Abstract superclass for various types of field meta data.

Version:
$Revision 1.0 $
Author:
Mark Hall (mhall{[at]}pentaho{[dot]}com
See Also:
Serialized Form

Nested Class Summary
static class FieldMetaInfo.Interval
          Inner class for an Interval.
static class FieldMetaInfo.Optype
          Enumerated type for the Optype
static class FieldMetaInfo.Value
          Inner class for Values
 
Constructor Summary
FieldMetaInfo(org.w3c.dom.Element field)
          Construct a new FieldMetaInfo.
 
Method Summary
abstract  Attribute getFieldAsAttribute()
          Return this field as an Attribute.
 java.lang.String getFieldName()
          Get the name of this field.
 FieldMetaInfo.Optype getOptype()
          Get the optype.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldMetaInfo

public FieldMetaInfo(org.w3c.dom.Element field)
Construct a new FieldMetaInfo.

Parameters:
field - the Element containing the field
Method Detail

getOptype

public FieldMetaInfo.Optype getOptype()
Get the optype.

Returns:
the optype

getFieldName

public java.lang.String getFieldName()
Get the name of this field.

Returns:
the name of this field

getFieldAsAttribute

public abstract Attribute getFieldAsAttribute()
Return this field as an Attribute.

Returns:
an Attribute for this field.