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".
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