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

org.dsa.iot.dslink.node.NodePair Maven / Gradle / Ivy

There is a newer version: 0.24.2
Show newest version
package org.dsa.iot.dslink.node;

/**
 * Holds a pair between a node reference and a configuration or attribute in
 * the path.
 * @author Samuel Grenier
 */
public class NodePair {

    /**
     * Path of the node
     */
    private final Node node;

    /**
     * Reference to a configuration or attribute.
     */
    private final String reference;

    public NodePair(Node node, String reference) {
        this.node = node;
        this.reference = reference;
    }

    public Node getNode() {
        return node;
    }

    public String getReference() {
        return reference;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy