com.businessobjects.query
Interface ValueFromLov


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

type

static final org.apache.xmlbeans.SchemaType type

Internal Use Only.

Method Detail

getValue

java.lang.String getValue()

Gets the String containing a single LOV value.

Returns:
The string containing the single LOV value

xgetValue

org.apache.xmlbeans.XmlString xgetValue()

Internal Use Only.


isNilValue

boolean isNilValue()
Checks if the Value element is nil

Returns:
true if the Value element is nil, otherwise false

setValue

void setValue(java.lang.String value)

Sets the String containing a single LOV value.

Parameters:
value - the string containing the single LOV value

xsetValue

void xsetValue(org.apache.xmlbeans.XmlString value)

Internal Use Only.


setNilValue

void setNilValue()
Nils the "Value" element


getNativeValue

org.apache.xmlbeans.XmlObject getNativeValue()

Gets the an XmlObject containing a single LOV value.

Returns:
The XmlObject containing the single LOV value

isNilNativeValue

boolean isNilNativeValue()
Checks if the NativeValue element is nil.

Returns:
true if the NativeValue element is nil, otherwise false

isSetNativeValue

boolean isSetNativeValue()
Checks if the NativeValue element has been set.

Returns:
true if the NativeValue element is set, otherwise false

setNativeValue

void setNativeValue(org.apache.xmlbeans.XmlObject nativeValue)
Sets the NativeValue element

Parameters:
nativeValue - The native value element

addNewNativeValue

org.apache.xmlbeans.XmlObject addNewNativeValue()
Appends and returns a new empty "NativeValue" element

Returns:
returns a new empty "NativeValue" element

setNilNativeValue

void setNilNativeValue()
Nils the NativeValue element


unsetNativeValue

void unsetNativeValue()
Deletes or unsets the NativeValue element


getRowIndex

java.lang.String getRowIndex()

Returns the index of database row providing the LOV.

Returns:
the index of database row providing the LOV

xgetRowIndex

org.apache.xmlbeans.XmlString xgetRowIndex()

Internal Use Only.


setRowIndex

void setRowIndex(java.lang.String rowIndex)

Sets the index of database row providing the LOV.

Parameters:
rowIndex - the index of database row providing the Lov

xsetRowIndex

void xsetRowIndex(org.apache.xmlbeans.XmlString rowIndex)

Internal Use Only.