Package nz.org.riskscape.wizard.survey2
Class ExpressionScope
java.lang.Object
nz.org.riskscape.wizard.survey2.ExpressionScope
- All Implemented Interfaces:
BackingData
Backing data for question with Expression
type answers. Used when the scope of the expression
is not the full scope of the pipeline.
-
Nested Class Summary
Nested classes/interfaces inherited from interface nz.org.riskscape.wizard.survey2.BackingData
BackingData.Empty
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface nz.org.riskscape.wizard.survey2.BackingData
isA, isEmpty
-
Constructor Details
-
ExpressionScope
public ExpressionScope(nz.org.riskscape.engine.types.Struct scope)
-
-
Method Details
-
getParameterType
- Specified by:
getParameterType
in interfaceBackingData
- Returns:
- the class which corresponds to
Question.getParameterType()
this backing data. Mostly used for assertions and type safety checks in generic code.
-
getScope
public nz.org.riskscape.engine.types.Struct getScope()
-