com.foxsmart.ic.lang
Class EnumEntry

java.lang.Object
  extended by com.foxsmart.ic.lang.EnumEntry
All Implemented Interfaces:
java.io.Serializable

public class EnumEntry
extends java.lang.Object
implements java.io.Serializable

This class defines a specific entry used by the Enum class.

See Also:
Serialized Form

Constructor Summary
EnumEntry(java.lang.Object value, java.lang.String name, java.lang.String shortDescription, java.lang.String longDescription)
          Constructs a EnumEntry.
 
Method Summary
 java.lang.String getLongDescription()
          Gets the long description.
 java.lang.String getName()
          Gets the name.
 java.lang.String getShortDescription()
          Gets the short description.
 java.lang.Object getValue()
          Gets the value.
 java.lang.String toString()
          Generates a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EnumEntry

public EnumEntry(java.lang.Object value,
                 java.lang.String name,
                 java.lang.String shortDescription,
                 java.lang.String longDescription)
Constructs a EnumEntry.

Parameters:
value - The value.
name - The name.
shortDescription - The short description.
longDescription - The long description.
Method Detail

getValue

public java.lang.Object getValue()
Gets the value.

Returns:
the value.

getName

public java.lang.String getName()
Gets the name.

Returns:
the name.

getShortDescription

public java.lang.String getShortDescription()
Gets the short description.

Returns:
the short description.

getLongDescription

public java.lang.String getLongDescription()
Gets the long description.

Returns:
the long description.

toString

public java.lang.String toString()
Generates a string representation of this object.

Overrides:
toString in class java.lang.Object
Returns:
The string.


Copyright © 2005-2008 Fox Smart, Inc. All Rights Reserved.