oracle.jdeveloper.audit.service
Class TypeSafeEnumerationFactory
java.lang.Object
oracle.jdeveloper.audit.service.TypeSafeEnumerationFactory
- public class TypeSafeEnumerationFactory
- extends java.lang.Object
A factory for a TypeSafeEnumeration
class. The factory
knows the enumerals in the enumeration, and converts enumerals to
String
s and String
s to enumerals.
- See Also:
TypeSafeEnumeration
Method Summary |
static TypeSafeEnumerationFactory |
factory(java.lang.Class type)
|
java.lang.String[] |
getTags()
|
java.lang.String |
tag(java.lang.Object value)
|
static java.lang.Object |
value(java.lang.Class type,
java.lang.String tag)
|
java.lang.Object |
value(java.lang.String tag)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factory
public static TypeSafeEnumerationFactory factory(java.lang.Class type)
value
public static java.lang.Object value(java.lang.Class type,
java.lang.String tag)
value
public java.lang.Object value(java.lang.String tag)
tag
public java.lang.String tag(java.lang.Object value)
getTags
public java.lang.String[] getTags()
Copyright © 1997, 2004, Oracle. All rights reserved.