Package eu.mihosoft.vmf.runtime.core
Class DelegatedBehaviorBase<T extends VObject>
java.lang.Object
eu.mihosoft.vmf.runtime.core.DelegatedBehaviorBase<T>
- All Implemented Interfaces:
DelegatedBehavior<T>
public class DelegatedBehaviorBase<T extends VObject>
extends Object
implements DelegatedBehavior<T>
Delegation base class for invoking custom implementations. VMF objects do not support
custom extensions by manipulating their implementation code. However, custom behavior can be realized be defining
delegation classes that extend this class.
Created by miho on 04.05.2020.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DelegatedBehaviorBase
public DelegatedBehaviorBase()
-
-
Method Details
-
getCaller
Returns the caller currently associated with this behavior.- Returns:
- the caller currently associated with this behavior or
null
if no such caller exists
-
setCaller
Description copied from interface:DelegatedBehavior
Sets the caller that delegates to this class. This method is called by VMF directly after initializing this object.- Specified by:
setCaller
in interfaceDelegatedBehavior<T extends VObject>
- Parameters:
caller
- the caller that delegates to this class
-