Class SimVarLink
java.lang.Object
net.simplace.sim.model.SimVarLink
Link from a source variable to a destination variable, or a fixed value for a destination variable.
- Author:
- Andreas Enders
-
Constructor Summary
ConstructorsConstructorDescriptionSimVarLink(FWSimVariable<?> aDestField, Object aValue) Creates a link without source that sets a fixed value.SimVarLink(FWSimVariable<?> aSourceField, FWSimVariable<?> aDestField) -
Method Summary
-
Constructor Details
-
SimVarLink
- Parameters:
aSourceField- source variableaDestField- destination variable
-
SimVarLink
Creates a link without source that sets a fixed value.- Parameters:
aDestField- destination variableaValue- the value
-
-
Method Details
-
getValue
- Returns:
- the value
-
setValue
- Parameters:
aValue- the value to set
-
getSourceField
- Returns:
- the sourceField
-
getDestField
- Returns:
- the destField
-
toString
-