Class VariableFmi2Api<V>
- java.lang.Object
-
- org.intocps.maestro.framework.fmi2.api.mabl.variables.VariableFmi2Api<V>
-
- All Implemented Interfaces:
org.intocps.maestro.framework.fmi2.api.Fmi2Builder.ProvidesTypedReferenceExp,org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Variable<org.intocps.maestro.ast.node.PStm,V>,IndexedVariableFmi2Api<V>
- Direct Known Subclasses:
ArrayVariableFmi2Api,BooleanVariableFmi2Api,ComponentVariableFmi2Api,DoubleVariableFmi2Api,FmuVariableFmi2Api,IntVariableFmi2Api,RuntimeModuleVariable,StateMablVariableFmi2Api,StringVariableFmi2Api
public class VariableFmi2Api<V> extends java.lang.Object implements org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Variable<org.intocps.maestro.ast.node.PStm,V>, IndexedVariableFmi2Api<V>, org.intocps.maestro.framework.fmi2.api.Fmi2Builder.ProvidesTypedReferenceExp
-
-
Field Summary
Fields Modifier and Type Field Description protected org.intocps.maestro.framework.fmi2.api.Fmi2Builder.DynamicActiveScope<org.intocps.maestro.ast.node.PStm>dynamicScopeprotected org.intocps.maestro.ast.node.PTypetype
-
Constructor Summary
Constructors Constructor Description VariableFmi2Api(org.intocps.maestro.ast.node.PStm declaration, org.intocps.maestro.ast.node.PType type, IMablScope declaredScope, org.intocps.maestro.framework.fmi2.api.Fmi2Builder.DynamicActiveScope<org.intocps.maestro.ast.node.PStm> dynamicScope, org.intocps.maestro.ast.node.PStateDesignator designator, org.intocps.maestro.ast.node.PExp referenceExp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VariableFmi2Api<V>clone(org.intocps.maestro.ast.node.PStm declaration, IMablScope declaredScope, org.intocps.maestro.ast.node.PStateDesignator designator, org.intocps.maestro.ast.node.PExp referenceExp)IMablScopegetDeclaredScope()org.intocps.maestro.ast.node.PStmgetDeclaringStm()org.intocps.maestro.ast.node.PStateDesignatorgetDesignator()org.intocps.maestro.ast.node.PStateDesignatorgetDesignatorClone()org.intocps.maestro.ast.node.PExpgetExp()java.lang.StringgetName()org.intocps.maestro.ast.node.PExpgetReferenceExp()org.intocps.maestro.ast.node.PTypegetType()protected voidsetValue(org.intocps.maestro.ast.node.PExp exp)voidsetValue(org.intocps.maestro.framework.fmi2.api.Fmi2Builder.ExpressionValue value)protected voidsetValue(org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Scope<org.intocps.maestro.ast.node.PStm> scope, org.intocps.maestro.ast.node.PExp exp)voidsetValue(org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Scope<org.intocps.maestro.ast.node.PStm> scope, org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Variable<org.intocps.maestro.ast.node.PStm,V> variable)voidsetValue(org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Scope<org.intocps.maestro.ast.node.PStm> scope, V value)voidsetValue(org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Variable<org.intocps.maestro.ast.node.PStm,V> variable)voidsetValue(V value)NumericExpressionValueFmi2ApitoMath()
-
-
-
Constructor Detail
-
VariableFmi2Api
public VariableFmi2Api(org.intocps.maestro.ast.node.PStm declaration, org.intocps.maestro.ast.node.PType type, IMablScope declaredScope, org.intocps.maestro.framework.fmi2.api.Fmi2Builder.DynamicActiveScope<org.intocps.maestro.ast.node.PStm> dynamicScope, org.intocps.maestro.ast.node.PStateDesignator designator, org.intocps.maestro.ast.node.PExp referenceExp)
-
-
Method Detail
-
getDesignator
public org.intocps.maestro.ast.node.PStateDesignator getDesignator()
-
getDesignatorClone
public org.intocps.maestro.ast.node.PStateDesignator getDesignatorClone()
-
getReferenceExp
public org.intocps.maestro.ast.node.PExp getReferenceExp()
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceorg.intocps.maestro.framework.fmi2.api.Fmi2Builder.Variable<org.intocps.maestro.ast.node.PStm,V>
-
setValue
public void setValue(V value)
- Specified by:
setValuein interfaceorg.intocps.maestro.framework.fmi2.api.Fmi2Builder.Variable<org.intocps.maestro.ast.node.PStm,V>
-
setValue
public void setValue(org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Variable<org.intocps.maestro.ast.node.PStm,V> variable)
- Specified by:
setValuein interfaceorg.intocps.maestro.framework.fmi2.api.Fmi2Builder.Variable<org.intocps.maestro.ast.node.PStm,V>
-
setValue
public void setValue(org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Scope<org.intocps.maestro.ast.node.PStm> scope, org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Variable<org.intocps.maestro.ast.node.PStm,V> variable)- Specified by:
setValuein interfaceorg.intocps.maestro.framework.fmi2.api.Fmi2Builder.Variable<org.intocps.maestro.ast.node.PStm,V>
-
setValue
public void setValue(org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Scope<org.intocps.maestro.ast.node.PStm> scope, V value)- Specified by:
setValuein interfaceorg.intocps.maestro.framework.fmi2.api.Fmi2Builder.Variable<org.intocps.maestro.ast.node.PStm,V>
-
getDeclaredScope
public IMablScope getDeclaredScope()
- Specified by:
getDeclaredScopein interfaceorg.intocps.maestro.framework.fmi2.api.Fmi2Builder.Variable<org.intocps.maestro.ast.node.PStm,V>
-
getDeclaringStm
public org.intocps.maestro.ast.node.PStm getDeclaringStm()
- Specified by:
getDeclaringStmin interfaceIndexedVariableFmi2Api<V>
-
getType
public org.intocps.maestro.ast.node.PType getType()
- Specified by:
getTypein interfaceorg.intocps.maestro.framework.fmi2.api.Fmi2Builder.ProvidesTypedReferenceExp
-
getExp
public org.intocps.maestro.ast.node.PExp getExp()
- Specified by:
getExpin interfaceorg.intocps.maestro.framework.fmi2.api.Fmi2Builder.ProvidesTypedReferenceExp
-
setValue
protected void setValue(org.intocps.maestro.framework.fmi2.api.Fmi2Builder.Scope<org.intocps.maestro.ast.node.PStm> scope, org.intocps.maestro.ast.node.PExp exp)
-
setValue
protected void setValue(org.intocps.maestro.ast.node.PExp exp)
-
clone
public VariableFmi2Api<V> clone(org.intocps.maestro.ast.node.PStm declaration, IMablScope declaredScope, org.intocps.maestro.ast.node.PStateDesignator designator, org.intocps.maestro.ast.node.PExp referenceExp)
-
toMath
public NumericExpressionValueFmi2Api toMath()
-
setValue
public void setValue(org.intocps.maestro.framework.fmi2.api.Fmi2Builder.ExpressionValue value)
-
-