Class Tag


  • public class Tag
    extends java.lang.Object
    A Tag simply associates a numeric ID with a String description.
    Version:
    $Revision: 1.5.2.1 $
    Author:
    Len Trigg
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int m_ID
      The ID
      protected java.lang.String m_Readable
      The descriptive text
    • Constructor Summary

      Constructors 
      Constructor Description
      Tag​(int ident, java.lang.String readable)
      Creates a new Tag instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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.