public class Variable
extends java.lang.Object
implements com.streamscape.sef.evtrigger.function.accessor.ValueAccessor
Title: Service Event Fabric Runtime
Description: Variable contains type, name and value.
Copyright: Copyright (c) 2013
Company: StreamScape Technologies
Modifier and Type | Class and Description |
---|---|
static class |
Variable.Scope |
Constructor and Description |
---|
Variable(com.streamscape.sef.evtrigger.function.types.Type type,
java.lang.String name) |
Variable(com.streamscape.sef.evtrigger.function.types.Type type,
java.lang.String name,
Variable.Scope scope) |
Modifier and Type | Method and Description |
---|---|
void |
assignValue(java.lang.Object value,
com.streamscape.sef.evtrigger.function.types.Type valueType,
TriggerFunctionContext context) |
void |
assignValue(java.lang.Object value,
com.streamscape.sef.evtrigger.function.types.Type valueType,
TriggerFunctionContext context,
boolean init)
Used for initialization assignment
|
java.lang.String |
getName() |
Variable.Scope |
getScope() |
com.streamscape.sef.evtrigger.function.types.Type |
getType() |
java.lang.Object |
getValue() |
java.lang.Object |
getValue(TriggerFunctionContext context) |
boolean |
isFinal() |
boolean |
isInitialized() |
boolean |
isTransient() |
void |
narrowResultType(com.streamscape.sef.evtrigger.function.types.Type type) |
void |
reset() |
void |
reset(boolean withTransient) |
java.lang.String |
toString() |
public Variable(com.streamscape.sef.evtrigger.function.types.Type type, java.lang.String name)
public Variable(com.streamscape.sef.evtrigger.function.types.Type type, java.lang.String name, Variable.Scope scope)
public com.streamscape.sef.evtrigger.function.types.Type getType()
getType
in interface com.streamscape.sef.evtrigger.function.accessor.ValueAccessor
public java.lang.String getName()
public Variable.Scope getScope()
public void assignValue(java.lang.Object value, com.streamscape.sef.evtrigger.function.types.Type valueType, TriggerFunctionContext context) throws com.streamscape.sef.evtrigger.function.types.ValueConversionException, com.streamscape.sef.evtrigger.function.expression.ExpressionExecutionException
assignValue
in interface com.streamscape.sef.evtrigger.function.accessor.ValueAccessor
com.streamscape.sef.evtrigger.function.types.ValueConversionException
com.streamscape.sef.evtrigger.function.expression.ExpressionExecutionException
public void assignValue(java.lang.Object value, com.streamscape.sef.evtrigger.function.types.Type valueType, TriggerFunctionContext context, boolean init) throws com.streamscape.sef.evtrigger.function.types.ValueConversionException, com.streamscape.sef.evtrigger.function.expression.ExpressionExecutionException
com.streamscape.sef.evtrigger.function.types.ValueConversionException
com.streamscape.sef.evtrigger.function.expression.ExpressionExecutionException
public void narrowResultType(com.streamscape.sef.evtrigger.function.types.Type type)
public java.lang.Object getValue(TriggerFunctionContext context) throws com.streamscape.sef.evtrigger.function.types.ValueConversionException, com.streamscape.sef.evtrigger.function.expression.ExpressionExecutionException
getValue
in interface com.streamscape.sef.evtrigger.function.accessor.ValueAccessor
com.streamscape.sef.evtrigger.function.types.ValueConversionException
com.streamscape.sef.evtrigger.function.expression.ExpressionExecutionException
public boolean isInitialized()
public boolean isFinal()
public boolean isTransient()
public java.lang.Object getValue()
public java.lang.String toString()
toString
in interface com.streamscape.sef.evtrigger.function.accessor.ValueAccessor
toString
in class java.lang.Object
public void reset()
public void reset(boolean withTransient)
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.