net.sourceforge.nrl.parser.ast.constraints
Interface IIsInPredicate

All Superinterfaces:
IConstraint, INRLAstNode, IPredicate
All Known Implementing Classes:
IsInPredicateImpl

public interface IIsInPredicate
extends IPredicate

"is in" returns true if a value is in a comma-separated list of identifiers.

Abstract syntax reference: IsInPredicate ::= Expression ISIN ListDefinition

Author:
Christian Nentwich

Field Summary
 
Fields inherited from interface net.sourceforge.nrl.parser.ast.INRLAstNode
NEWLINE
 
Method Summary
 IExpression getExpression()
          Return the expression whose computed value must be in the list.
 List<IIdentifier> getList()
          Return the list of IIdentifier in which the value must be contained.
 
Methods inherited from interface net.sourceforge.nrl.parser.ast.constraints.IConstraint
getNRLDataType, setNRLDataType
 
Methods inherited from interface net.sourceforge.nrl.parser.ast.INRLAstNode
accept, dump, getColumn, getLine, getUserData, setUserData
 

Method Detail

getExpression

IExpression getExpression()
Return the expression whose computed value must be in the list. This never returns null.

Returns:
the expression

getList

List<IIdentifier> getList()
Return the list of IIdentifier in which the value must be contained.

Returns:
the list of identifiers, contains at least one entry.


Copyright © 2006-2013. All Rights Reserved.