Interface DelegateIntrospection
public interface DelegateIntrospection
DelegateIntrospection takes care that an intermediate object delegates the introspection to its parent object.
Copyright (c) 2002-2025 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information DSOL Manual. The DSOL project is distributed under a three-clause BSD-style license, which can be found at DSOL License.
Copyright (c) 2002-2025 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information DSOL Manual. The DSOL project is distributed under a three-clause BSD-style license, which can be found at DSOL License.
- Author:
- Alexander Verbraeck
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringcheckDelegation(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:
- the intermediate object to which the introspection is delegated
-
checkDelegation
Check for introspection delegation to allow for the right object to be shown on the screen.- Parameters:
introspectedObject- the object that is displayed on the screen and might have delegation- Returns:
- the toString() of the (delegated) object
-