Package energy.eddie.dataneeds.needs
Class DataNeed
java.lang.Object
energy.eddie.dataneeds.needs.DataNeed
- All Implemented Interfaces:
DataNeedInterface
- Direct Known Subclasses:
AccountingPointDataNeed,TimeframedDataNeed
-
Constructor Details
-
DataNeed
protected DataNeed() -
DataNeed
protected DataNeed(String name, String description, String purpose, String policyLink, boolean enabled, @Nullable RegionConnectorFilter regionConnectorFilter)
-
-
Method Details
-
id
-
name
-
description
-
purpose
-
policyLink
-
setId
-
createdAt
Returns the timestamp that this data need was created at. This timestamp is only available if data needs are stored in the database, when reading from a config file it will be null.- Returns:
- Timestamp of creation.
-
isEnabled
public boolean isEnabled() -
type
-
regionConnectorFilter
-