Class NodeGroup

  • All Implemented Interfaces:
    Cloneable

    public final class NodeGroup
    extends Object
    implements Cloneable
    Allows nodes to be assigned to one or more groups.
    • Constructor Detail

      • NodeGroup

        public NodeGroup​(String name)
        Initializes a new instance of the NodeGroup class.
        Parameters:
        name - The name of the group, which must be unique per NodeGroup.
    • Method Detail

      • getCustomProperties

        public CustomPropertyCollection getCustomProperties()
        Gets custom properties associated with this instance. Custom properties allow storage of custom information, which will be saved with the network.
      • copy

        public NodeGroup copy()
        Makes a copy of this instance.
        Returns:
        The copy.
      • getDescription

        public String getDescription()
        An optional description for the custom property.
      • setDescription

        public void setDescription​(String value)
        An optional description for the custom property.