Package cmion.storage

Class 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 Detail

      • EventSubContainerRemoved

        public EventSubContainerRemoved​(java.lang.String removedContainerName,
                                        java.lang.String removedContainerType,
                                        CmionStorageContainer parentContainer)
        create an event informing of the removal of a sub container
    • Method Detail

      • getRemovedContainerName

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

        public java.lang.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 java.lang.String toString()
        displays information about this event
        Overrides:
        toString in class java.lang.Object