org.quattor.pan.dml.functions
Class IsOfType
java.lang.Object
org.quattor.pan.dml.AbstractOperation
org.quattor.pan.dml.functions.BuiltInFunction
org.quattor.pan.dml.functions.IsOfType
- All Implemented Interfaces:
- Operation
- Direct Known Subclasses:
- IsValueOfType, IsVariableOfType
public abstract class IsOfType
- extends BuiltInFunction
This is the parent class for those classes that implement the type checking
functions of pan (e.g. exists(), is_string(), is_boolean(), etc.). This
abstract class will choose a subclass based on the given arguments.
- Author:
- loomis
|
Field Summary |
protected java.lang.Class<? extends Element> |
type
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
type
protected java.lang.Class<? extends Element> type
IsOfType
protected IsOfType(java.lang.String name,
SourceRange sourceRange,
java.lang.Class<? extends Element> type,
Operation... operations)
throws SyntaxException
- Throws:
SyntaxException
getInstance
public static Operation getInstance(SourceRange sourceRange,
java.lang.Class<? extends Element> type,
java.lang.String name,
Operation... operations)
throws SyntaxException
- Throws:
SyntaxException
Copyright © 2011 Quattor. All Rights Reserved.