Class IdentifierEvent


  • public final class IdentifierEvent
    extends Object
    An instance of this class describes changes to an instance of IIdentifier. This class does not give details as to the specifics of a change, only that the given property on the source object has changed.

    This class is not intended to be extended by clients.

    Since:
    3.0
    See Also:
    IIdentifierListener.identifierChanged(IdentifierEvent)
    • Constructor Detail

      • IdentifierEvent

        public IdentifierEvent​(IIdentifier identifier,
                               boolean activityIdsChanged,
                               boolean enabledChanged)
        Creates a new instance of this class.
        Parameters:
        identifier - the instance of the interface that changed.
        activityIdsChanged - true, iff the activityIds property changed.
        enabledChanged - true, iff the enabled property changed.
    • Method Detail

      • getIdentifier

        public IIdentifier getIdentifier()
        Returns the instance of the interface that changed.
        Returns:
        the instance of the interface that changed. Guaranteed not to be null.
      • hasActivityIdsChanged

        public boolean hasActivityIdsChanged()
        Returns whether or not the activityIds property changed.
        Returns:
        true, iff the activityIds property changed.
      • hasEnabledChanged

        public boolean hasEnabledChanged()
        Returns whether or not the enabled property changed.
        Returns:
        true, iff the enabled property changed.