Class OpenKitComposite

  • All Implemented Interfaces:
    OpenKitObject, java.io.Closeable, java.lang.AutoCloseable
    Direct Known Subclasses:
    BaseActionImpl, OpenKitImpl, SessionImpl, SessionProxyImpl

    public abstract class OpenKitComposite
    extends java.lang.Object
    implements OpenKitObject
    A composite base class for OpenKit objects.

    It features a container to store child objects. Be careful that the container is not thread safe, which must be guaranteed by the implementing class.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getActionID()
      Get the action id of this composite or 0 if the composite is not an action.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.io.Closeable

        close
    • Constructor Detail

      • OpenKitComposite

        public OpenKitComposite()
    • Method Detail

      • getActionID

        public int getActionID()
        Get the action id of this composite or 0 if the composite is not an action.

        The default return value of 0 is implemented here. Action related composites need to override this method and return the appropriate value.

        Returns:
        The action id of this composite.