org.quattor.pan.dml.operators
Class Assign
java.lang.Object
org.quattor.pan.dml.AbstractOperation
org.quattor.pan.dml.operators.Assign
- All Implemented Interfaces:
- Operation
public final class Assign
- extends AbstractOperation
Implements the assignment operation within a DML block. This operation
actually calculates the result, then uses a series of SetValue operations to
assign this value to one or more variables.
- Author:
- loomis
|
Method Summary |
Element |
execute(Context context)
Execute this operation within the given context. |
String |
toString()
Default string representation of an operation is the class' simple name. |
Assign
public Assign(SourceRange sourceRange,
Operation... operations)
execute
public Element execute(Context context)
- Description copied from interface:
Operation
- Execute this operation within the given context. If an error occurs, an
EvaluationException will be thrown with the details.
- Specified by:
execute in interface Operation- Specified by:
execute in class AbstractOperation
- Parameters:
context - evaluation context for the statement
- Returns:
- Element produced by running operation
toString
public String toString()
- Description copied from class:
AbstractOperation
- Default string representation of an operation is the class' simple name.
- Overrides:
toString in class AbstractOperation
- Returns:
- string of class' simple name
Copyright © 2011 Quattor. All Rights Reserved.