Bees v0.5.0 API

bees.core.security
Class EnumerationPair

java.lang.Object
  |
  +--bees.core.security.EnumerationPair

public final class EnumerationPair
extends java.lang.Object

An EnumerationPair maps a string to an integer value.


Constructor Summary
EnumerationPair(java.lang.String string, int id)
          Construct an EnumerationPair with the given values.
 
Method Summary
 int getID()
           
 java.lang.String getString()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EnumerationPair

public EnumerationPair(java.lang.String string,
                       int id)
Construct an EnumerationPair with the given values.
Parameters:
string - The symbol name.
id - The symbol's integer value.
Method Detail

getString

public java.lang.String getString()
Returns:
The symbol name.

getID

public int getID()
Returns:
The symbol's integer value.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

Bees v0.5.0 API

This documentation is Copyright (C) 2002 The University of Utah. All Rights Reserved. See the individual source files for distribution terms.
Documentation, software, and mailing lists for Bees v0.5.0 can be found at the Janos Project: http://www.cs.utah.edu/flux/janos/