Class IfThenElse


  • public class IfThenElse
    extends Compound
    This class describes the if-then-else compound
    • Constructor Detail

      • IfThenElse

        public IfThenElse()
      • IfThenElse

        public IfThenElse​(java.lang.String name,
                          java.util.List<DataIns> dataIns,
                          Condition condition,
                          java.util.List<Function> then,
                          java.util.List<Function> _else,
                          java.util.List<DataOuts> dataOuts)
        Constructor for if-then-else compound
        Parameters:
        name - Unique identifier of the compound
        dataIns - Data input ports (DataIns)
        condition - Represents the condition which should be fulfilled to execute the then functions. If the condition is not fulfilled _else will be executed.
        then - List of functions that will be executed if condition is fulfilled.
        _else - List of functions that will be executed if condition is not fulfilled.
        dataOuts - Data output ports (DataOuts)
    • Method Detail

      • getCondition

        public Condition getCondition()
        Getter and Setter
      • setCondition

        public void setCondition​(Condition condition)
      • getThen

        public java.util.List<Function> getThen()
      • setThen

        public void setThen​(java.util.List<Function> then)
      • getElse

        public java.util.List<Function> getElse()
      • setElse

        public void setElse​(java.util.List<Function> _else)
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(java.lang.String name,
                                          java.lang.Object value)