com.sap.ip.me.api.persist.query
Interface Condition

All Known Subinterfaces:
CompositeCondition, SingleCondition

public interface Condition

Represents a condition for a query. This can either be a single condition, as FIELD = VALUE and / or a composite condition, as ( ( FIELD1 = VALUE1 OR FIELD2 = VALUE2 ) AND FIELDE 3 <> VALUE3 ).

Author:
SAP

Method Summary
 boolean isComposite()
          Returns, if the condition is a composite or a single condition.
 boolean matches(PersistedObject object)
          Deprecated.  
 void prepareExecution(ClassDescriptor cdes)
          For internal use only.
 

Method Detail

isComposite

public boolean isComposite()
Returns, if the condition is a composite or a single condition. Constraint: isComposite() = (Condition instanceof CompositeCondition)

Returns:
The composite value

matches

public boolean matches(PersistedObject object)
                throws PersistenceException
Deprecated.  

Description of the Method

Parameters:
object - Description of the Parameter
Returns:
Description of the Return Value
Throws:
PersistenceException - Description of the Exception

prepareExecution

public void prepareExecution(ClassDescriptor cdes)
                      throws PersistenceException
For internal use only.

Throws:
PersistenceException


Copyright © 2005 SAP AG. All Rights Reserved.