Package cmion.storage

Class EventSubContainerRemoved

java.lang.Object
ion.Meta.Event
cmion.architecture.CmionEvent
cmion.storage.EventSubContainerRemoved
All Implemented Interfaces:
ion.Meta.IEvent

public class EventSubContainerRemoved extends CmionEvent
an event informing that a new sub container has been removed from a CMION StorageContainer This will be raised by the owner container Note that this will only be raised if removal has been requested for the container itself, if this container was removed because its parent, grandparent, etc, was removed, the event will not be raised
  • Constructor Details

    • EventSubContainerRemoved

      public EventSubContainerRemoved(String removedContainerName, String removedContainerType, CmionStorageContainer parentContainer)
      create an event informing of the removal of a sub container
  • Method Details

    • getRemovedContainerName

      public String getRemovedContainerName()
      returns the name of the removed container
    • getRemovedContainerType

      public String getRemovedContainerType()
      returns the type of the removed container
    • getParentContainer

      public CmionStorageContainer getParentContainer()
      returns a reference to the container from which the sub container was removed
    • toString

      public String toString()
      displays information about this event
      Overrides:
      toString in class Object