Interface DelegateIntrospection
-
public interface DelegateIntrospectionDelegateIntrospection takes care that an intermediate object delegates the introspection to its parent object.
Copyright (c) 2002-2023 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
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static StringcheckDelegation(Object introspectedObject)Check for introspection delegation to allow for the right object to be shown on the screen.ObjectgetParentIntrospectionObject()Return an intermediate object to which the introspection is delegated.
-
-
-
Method Detail
-
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
-
-