Package net.solarnetwork.central.domain
Class SolarNodeCapability
java.lang.Object
net.solarnetwork.central.domain.BaseIdentity
net.solarnetwork.central.dao.BaseEntity
net.solarnetwork.central.domain.SolarCapability
net.solarnetwork.central.domain.SolarNodeCapability
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Long>,net.solarnetwork.dao.Entity<Long>,net.solarnetwork.domain.Identity<Long>
A set of capabilities for a node.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.SolarNodeCapability(Long nodeId, Long generationCapacityWatts, Long storageCapacityWattHours) Construct with values. -
Method Summary
Methods inherited from class net.solarnetwork.central.domain.SolarCapability
getGenerationCapacityWatts, getStorageCapacityWattHours, setGenerationCapacityWatts, setStorageCapacityWattHoursMethods inherited from class net.solarnetwork.central.dao.BaseEntity
getCreated, setCreatedMethods inherited from class net.solarnetwork.central.domain.BaseIdentity
clone, compareTo, equals, getId, hashCode, setIdMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface net.solarnetwork.domain.Identity
getId, hasId
-
Constructor Details
-
SolarNodeCapability
public SolarNodeCapability()Default constructor. -
SolarNodeCapability
public SolarNodeCapability(Long nodeId, Long generationCapacityWatts, Long storageCapacityWattHours) Construct with values.- Parameters:
nodeId- the node IDgenerationCapacityWatts- the generation capacitystorageCapacityWattHours- the energy storage capacity
-
-
Method Details
-
getNodeId
-
setNodeId
-