SAP J2EE Engine

Version 6.40


com.sapportals.connector.execution.objects.language
Interface ICompareCriteria

All Superinterfaces:
ICriteria, ILanguageObject, IPredicateCriteria

public interface ICompareCriteria
extends IPredicateCriteria

This interface marks the criteria object as a comparison condition.

Version:
1.0

Field Summary
static int EQ
          Constant indicating the two operands are equal.
static int GE
          Constant indicating the first operand is greater than or equal to the second.
static int GT
          Constant indicating the first operand is greater than the second.
static int LE
          Constant indicating the first operand is less than or equal to the second.
static int LT
          Constant indicating the first operand is less than the second.
static int NE
          Constant indicating the two operands are not equal.
 
Method Summary
 IExpression getLeftExpression()
          returns the left expression of the criteria.
 int getOperator()
          returns the operator of the criteria
 IExpression getRightExpression()
          returns the right expression of the criteria.
 

Field Detail

EQ

public static final int EQ
Constant indicating the two operands are equal.

GE

public static final int GE
Constant indicating the first operand is greater than or equal to the second.

GT

public static final int GT
Constant indicating the first operand is greater than the second.

LE

public static final int LE
Constant indicating the first operand is less than or equal to the second.

LT

public static final int LT
Constant indicating the first operand is less than the second.

NE

public static final int NE
Constant indicating the two operands are not equal.
Method Detail

getLeftExpression

public IExpression getLeftExpression()
returns the left expression of the criteria.
Returns:
IExpression

getRightExpression

public IExpression getRightExpression()
returns the right expression of the criteria.
Returns:
IExpression

getOperator

public int getOperator()
returns the operator of the criteria
Returns:
int

SAP J2EE Engine

Version 6.40


Copyright © 2001-2005 SAP AG. All Rights Reserved.