Class DataNeed

java.lang.Object
energy.eddie.dataneeds.needs.DataNeed
All Implemented Interfaces:
DataNeedInterface
Direct Known Subclasses:
AccountingPointDataNeed, TimeframedDataNeed

@Entity public abstract class DataNeed extends Object implements DataNeedInterface
  • Constructor Details

  • Method Details

    • id

      public String id()
    • name

      public String name()
    • description

      public String description()
    • purpose

      public String purpose()
    • policyLink

      public String policyLink()
    • setId

      public void setId(String id)
    • createdAt

      public Instant 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

      public String type()
    • regionConnectorFilter

      public Optional<RegionConnectorFilter> regionConnectorFilter()