Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

oracle.apps.fnd.applcore.dt.common.ui
Class GenericComboOption

java.lang.Object
  extended by oracle.apps.fnd.applcore.dt.common.ui.GenericComboOption

public class GenericComboOption
extends java.lang.Object

A Generic option to go into a combo box such as can be used as a table cell editor. This options supports a translated value (what the user sees), a value (must be unique), a type which is a categorization of the option however is required and additional information, which is up to the developer.

Author:
David Groves <david.groves@oracle.com>
See Also:
GenericTableComboRenderer, GenericTableComboEditor

Constructor Summary
GenericComboOption(java.lang.String translatedValue, java.lang.String value, java.lang.String type)
          Construct this class.
GenericComboOption(java.lang.String translatedValue, java.lang.String value, java.lang.String type, java.lang.Object extraInfo)
          Construct this class.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Object getExtraInfo()
          Get the extra info.
 java.lang.String getTranslatedValue()
          Get the translated value.
 java.lang.String getType()
          Get the type.
 java.lang.String getValue()
          Get the value.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GenericComboOption

public GenericComboOption(java.lang.String translatedValue,
                          java.lang.String value,
                          java.lang.String type)
Construct this class.

Parameters:
translatedValue - translated String to show user.
value - code value.
type - a generic categorization of value.

GenericComboOption

public GenericComboOption(java.lang.String translatedValue,
                          java.lang.String value,
                          java.lang.String type,
                          java.lang.Object extraInfo)
Construct this class.

Parameters:
translatedValue - translated String to show user.
value - code value.
type - a generic categorization of value.
extraInfo - extra info to carry about.
Method Detail

getTranslatedValue

public java.lang.String getTranslatedValue()
Get the translated value.


getValue

public java.lang.String getValue()
Get the value.


getExtraInfo

public java.lang.Object getExtraInfo()
Get the extra info.


getType

public java.lang.String getType()
Get the type.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

Copyright © 2011 Oracle. All Rights Reserved.