Interface DelegateIntrospection


public interface DelegateIntrospection
DelegateIntrospection takes care that an intermediate object delegates the introspection to its parent object.

Copyright (c) 2002-2024 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://simulation.tudelft.nl. The DSOL project is distributed under a three-clause BSD-style license, which can be found at https://https://simulation.tudelft.nl/dsol/docs/latest/license.html.
Author:
Alexander Verbraeck
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    checkDelegation(Object introspectedObject)
    Check for introspection delegation to allow for the right object to be shown on the screen.
    Return an intermediate object to which the introspection is delegated.
  • Method Details

    • getParentIntrospectionObject

      Object getParentIntrospectionObject()
      Return an intermediate object to which the introspection is delegated.
      Returns:
      Object; the intermediate object to which the introspection is delegated
    • checkDelegation

      static String checkDelegation(Object introspectedObject)
      Check for introspection delegation to allow for the right object to be shown on the screen.
      Parameters:
      introspectedObject - Object; the object that is displayed on the screen and might have delegation
      Returns:
      the toString() of the (delegated) object