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

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

Returns:
The condition instance

getSortOrder

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

Returns:
The sortOrder instance

getClasstype

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

Returns:
The classtype String value

getMaxResults

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

Returns:
The maxCount value

getStartIndex

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

Returns:
The startIndex value

prepareExecution

void prepareExecution()
                      throws PersistenceException
For internal use only.

Throws:
PersistenceException