|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.util.AbstractEnumerator
An extensible enumerator implementation.
Constructor Summary | |
protected |
AbstractEnumerator(int value,
String name)
Creates an initialized instance. |
Method Summary | |
String |
getName()
Returns the name of the enumerator. |
int |
getValue()
Returns the int value of the enumerator. |
String |
toString()
Returns the name of the enumerator. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected AbstractEnumerator(int value, String name)
value
- the int
value of the enumerator.name
- the name of the enumerator.Method Detail |
public final String getName()
getName
in interface Enumerator
public final int getValue()
int
value of the enumerator.
getValue
in interface Enumerator
public final String toString()
|
Copyright 2001-2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |