org.dsa.iot.dslink.node.NodePair Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dslink Show documentation
Show all versions of dslink Show documentation
SDK for the IoT DSA protocol
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;
}
}