Extension SDK 9.0.5

oracle.jdeveloper.audit.service
Class TypeSafeEnumerationFactory

java.lang.Object
  extended byoracle.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 Strings and Strings 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
 

Method Detail

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()

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.