Package net.solarnetwork.central.domain
Interface SolarCapabilityInformation<PK>
- Type Parameters:
PK- the identity type
- All Superinterfaces:
Comparable<PK>,net.solarnetwork.domain.Identity<PK>
public interface SolarCapabilityInformation<PK>
extends net.solarnetwork.domain.Identity<PK>
API for capability information for some identifiable object, such as a node,
node group, etc.
This API is meant to be used for both atomic measurements and aggregated measurements, depending on the context it is used in.
-
Method Summary
Modifier and TypeMethodDescriptionGet a theoretical maximum power generation capacity.Get the location of the node.getName()Get the name of the object.Get a theoretical maximum power storage capacity.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface net.solarnetwork.domain.Identity
getId, hasId
-
Method Details
-
getName
String getName()Get the name of the object.- Returns:
- the name
-
getGenerationCapacityWatts
Long getGenerationCapacityWatts()Get a theoretical maximum power generation capacity.- Returns:
- generation capacity watts
-
getStorageCapacityWattHours
Long getStorageCapacityWattHours()Get a theoretical maximum power storage capacity.- Returns:
- storage capacity in watt hours
-
getLocation
Location getLocation()Get the location of the node.- Returns:
- location
-