All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.vertexium.event.DeleteAdditionalVisibilityEvent Maven / Gradle / Ivy

There is a newer version: 4.10.0
Show newest version
package org.vertexium.event;

import org.vertexium.Element;
import org.vertexium.Graph;
import org.vertexium.mutation.AdditionalVisibilityDeleteMutation;

public class DeleteAdditionalVisibilityEvent extends GraphEvent {
    private final Element element;
    private final String visibility;
    private final Object eventData;

    public DeleteAdditionalVisibilityEvent(
        Graph graph,
        Element element,
        AdditionalVisibilityDeleteMutation additionalVisibilityDeleteMutation
    ) {
        super(graph);
        this.element = element;
        this.visibility = additionalVisibilityDeleteMutation.getAdditionalVisibility();
        this.eventData = additionalVisibilityDeleteMutation.getEventData();
    }

    public DeleteAdditionalVisibilityEvent(Graph graph, Element element, String visibility, Object eventData) {
        super(graph);
        this.element = element;
        this.visibility = visibility;
        this.eventData = eventData;
    }

    public Element getElement() {
        return element;
    }

    public String getVisibility() {
        return visibility;
    }

    public Object getEventData() {
        return eventData;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy