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


public interface Query

Queries consist of conditions and optionally of sort orders. A Query is represented by Query instance. QueryFactory creates an Query instance. To create an Query instance, it takes an Condition instance and optionally an SortOrder instance.

Author:
SAP

Method Summary
 java.lang.String getClasstype()
          Gets the classtype attribute of the Query object
 Condition getCondition()
          Gets the condition attribute of the Query object
 int getMaxResults()
          Gets the maxCount attribute of the Query object
 SortOrder getSortOrder()
          Gets the sortOrder attribute of the Query object
 int getStartIndex()
          Gets the startIndex attribute of the Query object
 void prepareExecution()
          Description of the Method
 

Method Detail

getCondition

public Condition getCondition()
Gets the condition attribute of the Query object

Returns:
The condition value

getSortOrder

public SortOrder getSortOrder()
Gets the sortOrder attribute of the Query object

Returns:
The sortOrder value

getClasstype

public java.lang.String getClasstype()
Gets the classtype attribute of the Query object

Returns:
The classtype value

getMaxResults

public int getMaxResults()
Gets the maxCount attribute of the Query object

Returns:
The maxCount value

getStartIndex

public int getStartIndex()
Gets the startIndex attribute of the Query object

Returns:
The startIndex value

prepareExecution

public void prepareExecution()
                      throws PersistenceException
Description of the Method

Throws:
PersistenceException - Description of the Exception


Copyright © 2003 SAP AG. All Rights Reserved.