org.eclipse.emf.common.util
Interface Enumerator

All Known Subinterfaces:
EEnumLiteral
All Known Implementing Classes:
AbstractEnumerator, EEnumLiteralImpl

public interface Enumerator

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


Method Summary
 String getName()
          Returns the name of the enumerator.
 int getValue()
          Returns the intvalue of the enumerator.
 

Method Detail

getName

public String getName()
Returns the name of the enumerator.

Returns:
the name.

getValue

public int getValue()
Returns the intvalue of the enumerator.

Returns:
the value.

Copyright 2001-2004 IBM Corporation and others.
All Rights Reserved.