Class SolarNodeGroup

All Implemented Interfaces:
Serializable, Cloneable, Comparable<Long>, NodeGroupIdentity, net.solarnetwork.dao.Entity<Long>, net.solarnetwork.domain.Identity<Long>

public class SolarNodeGroup extends BaseEntity implements Cloneable, Serializable, NodeGroupIdentity
Domain object for a group of nodes.

Groups are assigned a Location which is meant to give the group a broadly-defined location There is no actual restriction that nodes within the group are physically within the group location's boundaries, but in practice this will often be the case.

See Also:
  • Constructor Details

    • SolarNodeGroup

      public SolarNodeGroup()
      Default constructor.
    • SolarNodeGroup

      public SolarNodeGroup(Long id, Long locationId, String name)
      Construct with values.
      Parameters:
      id - the ID
      locationId - the location ID
      name - the name
  • Method Details

    • getName

      public String getName()
      Returns:
      the name
    • setName

      public void setName(String name)
      Parameters:
      name - the name to set
    • getLocationId

      public Long getLocationId()
      Returns:
      the locationId
    • setLocationId

      public void setLocationId(Long locationId)
      Parameters:
      locationId - the locationId to set