|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 8 (11.1.8) E22562-08 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.apps.fnd.applcore.oaext.osn.publicutil.converter.OsnConversionContext
public final class OsnConversionContext
A bean that is used to pass additional contextual information into the conversion routine. It will contain values such as the name of the attribute being converted, the row that the value came from and the intended OSN gadget type.
| Field Summary | |
|---|---|
static java.lang.String |
GADGET_BOOLEAN
Contanst for OSN Gadget Type: Boolean. |
static java.lang.String |
GADGET_CURRENCY
Contanst for OSN Gadget Type: Currency. |
static java.lang.String |
GADGET_DATE
Contanst for OSN Gadget Type: Date. |
static java.lang.String |
GADGET_DOUBLE
Contanst for OSN Gadget Type: Double. |
static java.lang.String |
GADGET_INTEGER
Contanst for OSN Gadget Type: Date. |
static java.lang.String |
GADGET_PERCENT
Contanst for OSN Gadget Type: Percent. |
static java.lang.String |
GADGET_PERSON
Contanst for OSN Gadget Type: Person. |
static java.lang.String |
GADGET_STRING
Contanst for OSN Gadget Type: String. |
static java.lang.String |
GADGET_UNKNOWN
Contanst for OSN Gadget Type: Unknown. |
static java.lang.String |
GADGET_URL
Contanst for OSN Gadget Type: URL. |
| Constructor Summary | |
|---|---|
OsnConversionContext(java.lang.String attributeName,
java.lang.String gadgetType,
oracle.jbo.Row row)
Constructor for the conversion context. |
|
| Method Summary | |
|---|---|
oracle.jbo.AttributeDef |
getAttributeDef()
Finds the definition of the named attribute. |
int |
getAttributeIndex()
Finds the index (0-based) of the named attribute. |
java.lang.String |
getAttributeName()
Gets the attribute name that will be converted. |
java.lang.String |
getGadgetType()
Gets the intended gadget type that the OSN server is expected for the attribute. |
oracle.jbo.Row |
getRow()
Gets the row containing the attribute value to be converted. |
static boolean |
isGadgetType(java.lang.String gadgetType)
Test to see if the gadgetType is one of the GADGET_* constants. |
void |
setAttributeName(java.lang.String attributeName)
Sets the attribute name that will be converted. |
void |
setGadgetType(java.lang.String gadgetType)
Sets the intended gadget type that the OSN server is expected for the attribute. |
void |
setRow(oracle.jbo.Row row)
Sets the row containing the attribute value to be converted. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String GADGET_STRING
public static final java.lang.String GADGET_BOOLEAN
public static final java.lang.String GADGET_URL
public static final java.lang.String GADGET_PERSON
public static final java.lang.String GADGET_INTEGER
public static final java.lang.String GADGET_DOUBLE
public static final java.lang.String GADGET_PERCENT
public static final java.lang.String GADGET_CURRENCY
public static final java.lang.String GADGET_DATE
public static final java.lang.String GADGET_UNKNOWN
| Constructor Detail |
|---|
public OsnConversionContext(java.lang.String attributeName,
java.lang.String gadgetType,
oracle.jbo.Row row)
attributeName - the name of the attribute being converted.gadgetType - gadget type configured for the attribute being sent to OSN.row - the data row being send to OSN.| Method Detail |
|---|
public final void setAttributeName(java.lang.String attributeName)
attributeName - the name of the attribute being converted.public final java.lang.String getAttributeName()
public final void setGadgetType(java.lang.String gadgetType)
gadgetType - gadget type configured for the attribute being sent to OSN.public final java.lang.String getGadgetType()
public final void setRow(oracle.jbo.Row row)
row - the data row being send to OSN.public final oracle.jbo.Row getRow()
public final int getAttributeIndex()
public final oracle.jbo.AttributeDef getAttributeDef()
public static boolean isGadgetType(java.lang.String gadgetType)
gadgetType - the gadget type to test.
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 8 (11.1.8) E22562-08 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||