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

All Superinterfaces:
IConstraint, IExpression, INRLAstNode

public interface ISelectionExpression
extends IExpression

A selection expression: "the element where constraint".


Field Summary
 
Fields inherited from interface net.sourceforge.nrl.parser.ast.INRLAstNode
NEWLINE
 
Method Summary
 IConstraint getConstraint()
          Get the constraint that must hold for an element to be selected.
 IModelReference getModelReference()
          Return the model reference from which the selection is being made.
 boolean isSingleElementSelection()
          Return true if this selection is supposed to get a single element, false if it's selecting a list.
 
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

getModelReference

IModelReference getModelReference()
Return the model reference from which the selection is being made. This must be a collection.

Returns:
the reference

getConstraint

IConstraint getConstraint()
Get the constraint that must hold for an element to be selected.

Returns:
the constraint

isSingleElementSelection

boolean isSingleElementSelection()
Return true if this selection is supposed to get a single element, false if it's selecting a list.

Returns:
true if single element


Copyright © 2006-2010 Christian Nentwich and others