net.sourceforge.nrl.parser.ast.action
Interface IRemoveFromCollectionAction
- All Superinterfaces:
- IAction, INRLAstNode, ISimpleAction
public interface IRemoveFromCollectionAction
- extends ISimpleAction
An action that removes an element from a collection. This is the inverse of
com.modeltwozero.nrl.parser.ast.action.IAddAction
.
getElement
IModelReference getElement()
- Return the element to remove. Never returns null after model resolution.
This model reference will typically point to an attribute or variable.
- Returns:
- the element
getFrom
IModelReference getFrom()
- Return the collection to remove from. This always point to an attribute
and is never null. The type checker ensures that this is a collection and
that it is compatible with the element being removed.
- Returns:
- the collection attribute reference
Copyright © 2006-2010 Christian Nentwich and others