Interface DigitalExpressionBean

All Superinterfaces:
Base, Comparable<NamedBean>, DigitalExpression, NamedBean, PropertyChangeProvider
All Known Subinterfaces:
MaleDigitalExpressionSocket
All Known Implementing Classes:
AbstractDigitalExpression, And, Antecedent, DebuggerMaleDigitalExpressionSocket, DefaultMaleDigitalExpressionSocket, DigitalCallModule, DigitalFormula, ExpressionBlock, ExpressionClock, ExpressionConditional, ExpressionDispatcher, ExpressionEntryExit, ExpressionLight, ExpressionLocalVariable, ExpressionMemory, ExpressionOBlock, ExpressionPower, ExpressionReference, ExpressionReporter, ExpressionScript, ExpressionSensor, ExpressionSignalHead, ExpressionSignalMast, ExpressionSlotUsage, ExpressionTurnout, ExpressionWarrant, False, Hold, LastResultOfDigitalExpression, LogData, Not, Or, TriggerOnce, True

public interface DigitalExpressionBean
extends NamedBean, DigitalExpression
DigitalExpressionBean is a DigitalExpression that also implements NamedBean.
  • Field Details

    • FALSE

      static final int FALSE
      Constant representing an "false" state. It's returned from the method getState() if the method evaluate() returned false the last time it was called.
      See Also:
      Constant Field Values
    • TRUE

      static final int TRUE
      Constant representing an "false" state. It's returned from the method getState() if the method evaluate() returned false the last time it was called.
      See Also:
      Constant Field Values
  • Method Details

    • notifyChangedResult

      void notifyChangedResult​(boolean oldResult, boolean newResult)
      Notify property change listeners that the result of the expression has changed.
      Parameters:
      oldResult - the old last result
      newResult - the new last result