*/
package org.wamblee.system.graph;
+/**
+ * Default application-independent node. Specific applications of the graph might
+ * implement the Node interface directly.
+ * @author Erik Brakkee
+ *
+ */
public class DefaultNode implements Node {
private String _name;
+ /**
+ * Constructs the node.
+ * @param aName Node name.
+ */
public DefaultNode(String aName) {
_name = aName;
}
+ /**
+ * Returns the node name.
+ */
@Override
public String getName() {
return _name;