Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.9.0)

E52944-01


oracle.jdeveloper.audit.service
Class EnumConverter

java.lang.Object
  extended by oracle.jdeveloper.audit.service.EnumConverter

All Implemented Interfaces:
Converter<java.lang.Enum>

public class EnumConverter
extends java.lang.Object
implements Converter<java.lang.Enum>

Constructor Summary
EnumConverter()
           

 

Method Summary
 java.lang.Class<java.lang.Enum> getType()
          Gets the type of the values converted by this converter.
 java.lang.String getTypeDescription()
          Gets a description of the type of the values converted by this converter.
 java.lang.String toString(java.lang.Enum value, java.lang.Class<? extends java.lang.Enum> type)
          Converts a value to a string.
 java.lang.Enum toValue(java.lang.String string, java.lang.Class<? extends java.lang.Enum> type)
          Converts a string to a value.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

EnumConverter

public EnumConverter()

Method Detail

getType

public java.lang.Class<java.lang.Enum> getType()
Description copied from interface: Converter
Gets the type of the values converted by this converter.
Specified by:
getType in interface Converter<java.lang.Enum>

getTypeDescription

public java.lang.String getTypeDescription()
Description copied from interface: Converter
Gets a description of the type of the values converted by this converter.
Specified by:
getTypeDescription in interface Converter<java.lang.Enum>

toValue

public java.lang.Enum toValue(java.lang.String string,
                              java.lang.Class<? extends java.lang.Enum> type)
Description copied from interface: Converter
Converts a string to a value.
Specified by:
toValue in interface Converter<java.lang.Enum>

toString

public java.lang.String toString(java.lang.Enum value,
                                 java.lang.Class<? extends java.lang.Enum> type)
                          throws java.lang.Exception
Description copied from interface: Converter
Converts a value to a string.
Specified by:
toString in interface Converter<java.lang.Enum>
Throws:
java.lang.Exception

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.9.0)

E52944-01


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