Class SchemeEvent

    • Constructor Detail

      • SchemeEvent

        public SchemeEvent​(Scheme scheme,
                           boolean definedChanged,
                           boolean nameChanged,
                           boolean descriptionChanged,
                           boolean parentIdChanged)
        Creates a new instance of this class.
        Parameters:
        scheme - the instance of the interface that changed; must not be null.
        definedChanged - true, iff the defined property changed.
        nameChanged - true, iff the name property changed.
        descriptionChanged - true if the description property changed; false otherwise.
        parentIdChanged - true, iff the parentId property changed.
    • Method Detail

      • getScheme

        public final Scheme getScheme()
        Returns the instance of the scheme that changed.
        Returns:
        the instance of the scheme that changed. Guaranteed not to be null.
      • isParentIdChanged

        public final boolean isParentIdChanged()
        Returns whether or not the parentId property changed.
        Returns:
        true, iff the parentId property changed.