org.quattor.pan.statement
Class BindStatement
java.lang.Object
org.quattor.pan.statement.Statement
org.quattor.pan.statement.BindStatement
public class BindStatement
- extends Statement
Associates a FullType (which may have a validation function) to a path.
- Author:
- loomis
|
Constructor Summary |
BindStatement(SourceRange sourceRange,
Path path,
FullType fullType)
This constructor creates a new BindStatement which associates a FullType
to a particular, absolute path. |
|
Method Summary |
void |
execute(Context context)
Execute this Statement within the given context. |
java.lang.String |
toString()
Return a reasonable string representation of this statement. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BindStatement
public BindStatement(SourceRange sourceRange,
Path path,
FullType fullType)
throws SyntaxException
- This constructor creates a new BindStatement which associates a FullType
to a particular, absolute path.
- Parameters:
sourceRange - source location of this statementpath - absolute Path to associate with the FullTypefullType - type to associate with the Path
- Throws:
SyntaxException
execute
public void execute(Context context)
- Description copied from class:
Statement
- Execute this Statement within the given context.
- Specified by:
execute in class Statement
- Parameters:
context - DML context to use for the evalution of this statement
toString
public java.lang.String toString()
- Return a reasonable string representation of this statement.
- Overrides:
toString in class java.lang.Object
- Returns:
- String representation of this BindStatement
Copyright © 2011 Quattor. All Rights Reserved.