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()
          Returns the classtype of the Query object
 Condition getCondition()
          Returns the condition attribute of the Query object
 int getMaxResults()
          Gets the maxCount attribute of the Query object
 SortOrder getSortOrder()
          Returns the sortOrder attribute of the Query object
 int getStartIndex()
          Gets the startIndex attribute of the Query object
 void prepareExecution()
          For internal use only.
 

Method Detail

getCondition

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

Returns:
The condition instance

getSortOrder

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

Returns:
The sortOrder instance

getClasstype

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

Returns:
The classtype String 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
For internal use only.

Throws:
PersistenceException


Copyright © 2005 SAP AG. All Rights Reserved.