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.

See Also:
  • Constructor Details

    • DelegatedBehaviorBase

      public DelegatedBehaviorBase()
  • Method Details

    • getCaller

      public T 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

      public void setCaller(T caller)
      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 interface DelegatedBehavior<T extends VObject>
      Parameters:
      caller - the caller that delegates to this class