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

org.bidib.wizard.api.model.event.DebugActionEvent Maven / Gradle / Ivy

The newest version!
package org.bidib.wizard.api.model.event;

import org.bidib.wizard.api.model.NodeInterface;

public class DebugActionEvent implements DebugEvent {

    private final String connectionId;

    private final NodeInterface node;

    private int namespace;

    private int stringId;

    private final String value;

    /**
     * @param connectionId
     *            the connection id
     * @param node
     *            the node
     * @param namespace
     *            the bidib node namespace
     * @param stringId
     *            the string id
     * @param value
     *            the string value
     */
    public DebugActionEvent(String connectionId, NodeInterface node, int namespace, int stringId, String value) {
        this.connectionId = connectionId;
        this.node = node;
        this.namespace = namespace;
        this.stringId = stringId;
        this.value = value;
    }

    @Override
    public String getConnectionId() {
        return connectionId;
    }

    /**
     * @return the node
     */
    public NodeInterface getNode() {
        return node;
    }

    /**
     * @return the namespace
     */
    public int getNamespace() {
        return namespace;
    }

    /**
     * @return the stringId
     */
    public int getStringId() {
        return stringId;
    }

    /**
     * @return the value
     */
    public String getValue() {
        return value;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy