com.businessobjects.rebean.wi
Interface ConditionObject

All Superinterfaces:
FilterConditionNode, FilterConditionObject, TreeNode

public interface ConditionObject
extends FilterConditionObject

Warning: This interface is no longer functional from the SAP BusinessObjects 4.0 release onwards.

A ConditionObject interface is used to define query conditions. The TreeNode parent is always a ConditionContainer.

For an example, see FilterConditionObject.

See Also:
ConditionContainer

Method Summary
 DataSourceObject getDataSourceObject()
          Returns the DataSourceObject that this condition object was created with.
 Lov getLOV()
          Gets the list of values for this object.
 boolean isPreCondition()
          Checks if this ConditionObject represents a predefined condition or not.
 
Methods inherited from interface com.businessobjects.rebean.wi.FilterConditionObject
createFilterCondition, getOperand
 
Methods inherited from interface com.businessobjects.rebean.wi.FilterConditionNode
getFilterConditionNode, getID, getName, remove, removeAllChildren
 
Methods inherited from interface com.businessobjects.rebean.wi.TreeNode
getChildAt, getChildCount, getIndex, getParent, isLeaf
 

Method Detail

getDataSourceObject

DataSourceObject getDataSourceObject()
Returns the DataSourceObject that this condition object was created with.

Returns:
the DataSourceObject that this condition object was created with
See Also:
ConditionContainer.createConditionObject(DataSourceObject)

getLOV

Lov getLOV()
Gets the list of values for this object. Note that this can only be obtained for data source objects with a qualification ObjectQualification.DIMENSION or ObjectQualification.DETAIL.

Returns:
the list of values, or null when there is no list of values
See Also:
DataSourceObject.getLOV()

isPreCondition

boolean isPreCondition()
Checks if this ConditionObject represents a predefined condition or not. This is true when getDataSourceObject().getQualification() == ObjectQualification.PRE_CONDITION. Note that in that case, FilterConditionObject.getOperand() will return null.

Returns:
true when this condition object represents a predefined condition
See Also:
ConditionObject.getDataSourceObject(), DataSourceObject.getQualification(), ObjectQualification.PRE_CONDITION