Class ReadOnlyAgent


Class for providing a read-only view of an Agent.

This class wraps a mutable agent so that other model elements can inspect it without being able to modify it.

  • Constructor Details

    • ReadOnlyAgent

      public ReadOnlyAgent(Agent entity)
      Constructs a new immutable agent wrapping the specified mutable agent.
      Parameters:
      entity - the mutable agent to provide a read-only view of
  • Method Details