Package net.solarnetwork.central.domain
Interface AuditNodeServiceValue
- All Superinterfaces:
Comparable<net.solarnetwork.domain.datum.DatumId>,net.solarnetwork.domain.Identity<net.solarnetwork.domain.datum.DatumId>
- All Known Implementing Classes:
AuditNodeServiceEntity
public interface AuditNodeServiceValue
extends net.solarnetwork.domain.Identity<net.solarnetwork.domain.datum.DatumId>
API for a node service audit record count.
The audit service name is saved as the sourceId of the
DatumId identify.
-
Method Summary
Modifier and TypeMethodDescriptionnet.solarnetwork.domain.datum.AggregationGet time period associated with this audit value.longgetCount()Get the count value properties.default LongGet the node ID this audit value is part of.default StringGet the service name this audit value is a part of.default InstantGet the associated timestamp of this audit value.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface net.solarnetwork.domain.Identity
getId, hasId
-
Method Details
-
getNodeId
Get the node ID this audit value is part of.This is a shortcut for
getId().getObjectId().- Returns:
- the node ID
-
getService
Get the service name this audit value is a part of.This is a shortcut for
getId().getSourceId().- Returns:
- the service
-
getTimestamp
Get the associated timestamp of this audit value.This value represents the point in time the count associated with this service were observed, collected, inferred, predicted, etc.
This is a shortcut for
getId().getTimestamp().- Returns:
- the timestamp for this datum
-
getAggregation
net.solarnetwork.domain.datum.Aggregation getAggregation()Get time period associated with this audit value.- Returns:
- the aggregation
-
getCount
long getCount()Get the count value properties.- Returns:
- the count
-