
net.kemitix.dependency.digraph.maven.plugin.digraph.NodeProperties Maven / Gradle / Ivy
package net.kemitix.dependency.digraph.maven.plugin.digraph;
import lombok.Getter;
import java.util.HashSet;
import java.util.Set;
/**
* Properties for the nodes that follow.
*
* Created by pcampbell on 20/02/16.
*/
public class NodeProperties extends GraphElement {
@Getter
private final Set properties = new HashSet<>();
/**
* Adds a property to the node.
*
* @param propertyElement the property to add
*
* @return true if the property is added
*/
public boolean add(
final PropertyElement propertyElement) {
return properties.add(propertyElement);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy