|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ValueFromLov
The ValueFromLov interface represents a single value in a List Of Values(Lov).
Example: Applying condition filter to the Query.
QuerySpecification boQuerySpec = QuerySpecification.Factory.newInstance();
Query boQuery1 = Query.Factory.newInstance();
QueryCondition boQueryCondition = QueryCondition.Factory.newInstance();
Filter boCondFilter = Filter.Factory.newInstance();
QueryObject boQueryConditionObject = QueryObject.Factory.newInstance();
boQueryConditionObject.setKey((String)dimensionKeys.get(0));
boCondFilter.setFilteredObject(boQueryConditionObject);
boCondFilter.setFilterOperator(FilterOperator.EQUAL);
Operand[] boConditionValues = new Operand[1];
Values boValues = Values.Factory.newInstance();
ValueFromLov[] objValueFromLov = new ValueFromLov[1];
objValueFromLov[0] = ValueFromLov.Factory.newInstance();
objValueFromLov[0].setValue("France");
objValueFromLov[0].setRowIndex("2");
boValues.setValueFromLovArray(objValueFromLov);
boConditionValues[0] = boValues;
boCondFilter.setOperandArray(boConditionValues);
ConditionBase[] boConditionBase = new ConditionBase[1];
boConditionBase[0] = boCondFilter;
boQueryCondition.setItemArray(boConditionBase);
boQuery1.setQueryCondition(boQueryCondition);
boQuery1.setQueryResultArray(boQueryResultObjects);
boQuerySpec.setQueryBase(boQuery1);
| Nested Class Summary | |
|---|---|
static class |
ValueFromLov.Factory
A class with methods for creating instances of the ValueFromLov type. |
| Field Summary | |
|---|---|
static org.apache.xmlbeans.SchemaType |
type
Internal Use Only. |
| Method Summary | |
|---|---|
org.apache.xmlbeans.XmlObject |
addNewNativeValue()
Appends and returns a new empty "NativeValue" element |
org.apache.xmlbeans.XmlObject |
getNativeValue()
Gets the an XmlObject containing a single LOV value. |
java.lang.String |
getRowIndex()
Returns the index of database row providing the LOV. |
java.lang.String |
getValue()
Gets the String containing a single LOV value. |
boolean |
isNilNativeValue()
Checks if the NativeValue element is nil. |
boolean |
isNilValue()
Checks if the Value element is nil |
boolean |
isSetNativeValue()
Checks if the NativeValue element has been set. |
void |
setNativeValue(org.apache.xmlbeans.XmlObject nativeValue)
Sets the NativeValue element |
void |
setNilNativeValue()
Nils the NativeValue element |
void |
setNilValue()
Nils the "Value" element |
void |
setRowIndex(java.lang.String rowIndex)
Sets the index of database row providing the LOV. |
void |
setValue(java.lang.String value)
Sets the String containing a single LOV value. |
void |
unsetNativeValue()
Deletes or unsets the NativeValue element |
org.apache.xmlbeans.XmlString |
xgetRowIndex()
Internal Use Only. |
org.apache.xmlbeans.XmlString |
xgetValue()
Internal Use Only. |
void |
xsetRowIndex(org.apache.xmlbeans.XmlString rowIndex)
Internal Use Only. |
void |
xsetValue(org.apache.xmlbeans.XmlString value)
Internal Use Only. |
| Field Detail |
|---|
static final org.apache.xmlbeans.SchemaType type
Internal Use Only.
| Method Detail |
|---|
java.lang.String getValue()
Gets the String containing a single LOV value.
org.apache.xmlbeans.XmlString xgetValue()
Internal Use Only.
boolean isNilValue()
true if the Value element is nil, otherwise falsevoid setValue(java.lang.String value)
Sets the String containing a single LOV value.
value - the string containing the single LOV valuevoid xsetValue(org.apache.xmlbeans.XmlString value)
Internal Use Only.
void setNilValue()
org.apache.xmlbeans.XmlObject getNativeValue()
Gets the an XmlObject containing a single LOV value.
boolean isNilNativeValue()
true if the NativeValue element is nil, otherwise falseboolean isSetNativeValue()
true if the NativeValue element is set, otherwise falsevoid setNativeValue(org.apache.xmlbeans.XmlObject nativeValue)
nativeValue - The native value elementorg.apache.xmlbeans.XmlObject addNewNativeValue()
void setNilNativeValue()
void unsetNativeValue()
java.lang.String getRowIndex()
Returns the index of database row providing the LOV.
org.apache.xmlbeans.XmlString xgetRowIndex()
Internal Use Only.
void setRowIndex(java.lang.String rowIndex)
Sets the index of database row providing the LOV.
rowIndex - the index of database row providing the Lovvoid xsetRowIndex(org.apache.xmlbeans.XmlString rowIndex)
Internal Use Only.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||