Interface DigitalExpressionBean

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

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:
    • 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:
  • 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