Class CommonModel.Connection

java.lang.Object
common.definitions.CommonModel.Connection
Enclosing class:
CommonModel

protected class CommonModel.Connection extends Object
This class represents a connection between two stations. Two boolean parameters are defined. The first, isConnected, tells whether the two stations are connected The second, isConnectable, tells whether these two stations are connectable.
  • Field Details

    • isConnected

      public boolean isConnected
    • isConnectable

      public boolean isConnectable
  • Constructor Details

    • Connection

      public Connection(boolean isConnectable, boolean isConnected)