|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.sape.carbon.core.util.enum.BaseEnum | +--org.sape.carbon.services.console.OperationsImpactEnum
This is the base template for a new enumeration.
Copyright 2002 Sapient
Nested Class Summary | |
static class |
OperationsImpactEnum.OperationsImpactEnumNotFoundException
This class is a typesafe retriever excepection for an enumeration |
Nested classes inherited from class org.sape.carbon.core.util.enum.BaseEnum |
|
Field Summary | |
static OperationsImpactEnum |
ACTION
|
static OperationsImpactEnum |
ACTION_INFO
|
static OperationsImpactEnum |
INFO
|
static OperationsImpactEnum |
UNKNOWN
|
Fields inherited from class org.sape.carbon.core.util.enum.BaseEnum |
name, ordinal |
Constructor Summary | |
private |
OperationsImpactEnum(String name,
int ordinal)
Constructs a enumeration of type OperationsImpactEnum |
Method Summary | |
static OperationsImpactEnum |
getByName(String name)
Looks up a OperationsImpactEnum by its string representation |
static OperationsImpactEnum |
getByOrdinal(int ordinal)
Looks up a OperationsImpactEnum by its ordinal representation |
static Iterator |
iterator()
Retrieves and iterator by ascending ordinal order for all enumerations of this type. |
(package private) Object |
readResolve()
Overrides part of serialization to return a reference to an enumeration instance that is managed by the Enumeration Subsystem. |
Methods inherited from class org.sape.carbon.core.util.enum.BaseEnum |
equals, getByName, getByOrdinal, getName, getOrdinal, hashCode, iterator, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final OperationsImpactEnum ACTION
public static final OperationsImpactEnum ACTION_INFO
public static final OperationsImpactEnum INFO
public static final OperationsImpactEnum UNKNOWN
Constructor Detail |
private OperationsImpactEnum(String name, int ordinal)
OperationsImpactEnum
name
- the String representation of this enumerationMethod Detail |
public static final OperationsImpactEnum getByName(String name) throws OperationsImpactEnum.OperationsImpactEnumNotFoundException
OperationsImpactEnum
by its string representation
name
- the String name of a enumeration instance
OperationsImpactEnum
OperationsImpactEnum.OperationsImpactEnumNotFoundException
- when there is no enumeration instance
for the given namepublic static OperationsImpactEnum getByOrdinal(int ordinal) throws OperationsImpactEnum.OperationsImpactEnumNotFoundException
OperationsImpactEnum
by its ordinal representation
ordinal
- the integer ordinal value of a specific enumeration instance
OperationsImpactEnum
OperationsImpactEnum.OperationsImpactEnumNotFoundException
- when there is no enumeration instance
for the given ordinalpublic static Iterator iterator()
OperationsImpactEnum
final Object readResolve() throws ObjectStreamException
ObjectStreamException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |