weka.core
Class Tag

java.lang.Object
  extended byweka.core.Tag

public class Tag
extends java.lang.Object

A Tag simply associates a numeric ID with a String description.

Author:
Len Trigg

Field Summary
protected  int m_ID
          The ID
protected  java.lang.String m_Readable
          The descriptive text
 
Constructor Summary
Tag(int ident, java.lang.String readable)
          Creates a new Tag instance.
 
Method Summary
 int getID()
          Gets the numeric ID of the Tag.
 java.lang.String getReadable()
          Gets the string description of the Tag.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_ID

protected int m_ID
The ID


m_Readable

protected java.lang.String m_Readable
The descriptive text

Constructor Detail

Tag

public Tag(int ident,
           java.lang.String readable)
Creates a new Tag instance.

Parameters:
ident - the ID for the new Tag.
readable - the description for the new Tag.
Method Detail

getID

public int getID()
Gets the numeric ID of the Tag.

Returns:
the ID of the Tag.

getReadable

public java.lang.String getReadable()
Gets the string description of the Tag.

Returns:
the description of the Tag.