|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.quattor.pan.dml.AbstractOperation
org.quattor.pan.dml.functions.BuiltInFunction
org.quattor.pan.dml.functions.IsOfType
public abstract class IsOfType
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.
| Field Summary | |
|---|---|
protected Class<? extends Element> |
type
|
| Fields inherited from class org.quattor.pan.dml.functions.BuiltInFunction |
|---|
name |
| Fields inherited from class org.quattor.pan.dml.AbstractOperation |
|---|
ops, sourceRange |
| Constructor Summary | |
|---|---|
protected |
IsOfType(String name,
SourceRange sourceRange,
Class<? extends Element> type,
Operation... operations)
|
| Method Summary | |
|---|---|
static Operation |
getInstance(SourceRange sourceRange,
Class<? extends Element> type,
String name,
Operation... operations)
|
| Methods inherited from class org.quattor.pan.dml.functions.BuiltInFunction |
|---|
throwExceptionIfCompileTimeContext, toString |
| Methods inherited from class org.quattor.pan.dml.AbstractOperation |
|---|
calculateArgs, calculateTerms, checkInvalidSelfContext, checkRestrictedContext, execute, getOperations, getSourceRange |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Class<? extends Element> type
| Constructor Detail |
|---|
protected IsOfType(String name,
SourceRange sourceRange,
Class<? extends Element> type,
Operation... operations)
throws SyntaxException
SyntaxException| Method Detail |
|---|
public static Operation getInstance(SourceRange sourceRange,
Class<? extends Element> type,
String name,
Operation... operations)
throws SyntaxException
SyntaxException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||