org.eclipse.emf.common.util
Interface Enumerator

All Known Implementing Classes:
AbstractEnumerator

public interface Enumerator

An interface implemented by the enumerators of a type-safe enum.


Method Summary
 java.lang.String getLiteral()
          Returns the literal value of the enumerator.
 java.lang.String getName()
          Returns the name of the enumerator.
 int getValue()
          Returns the intvalue of the enumerator.
 

Method Detail

getName

java.lang.String getName()
Returns the name of the enumerator.

Returns:
the name.

getValue

int getValue()
Returns the intvalue of the enumerator.

Returns:
the value.

getLiteral

java.lang.String getLiteral()
Returns the literal value of the enumerator.

Returns:
the literal.


Copyright © 2001-2010 Eclipse Foundation. All Rights Reserved.