Package energy.eddie.dataneeds.rules
Record Class DataNeedRule.AllowMultipleDataNeedsRule
java.lang.Object
java.lang.Record
energy.eddie.dataneeds.rules.DataNeedRule.AllowMultipleDataNeedsRule
- All Implemented Interfaces:
DataNeedRule
- Enclosing interface:
DataNeedRule
public static record DataNeedRule.AllowMultipleDataNeedsRule()
extends Record
implements DataNeedRule
If this rule is present in a
DataNeedRuleSet the region connector supports multiple data needs for creating permission requests.
How the region connector supports this is not specified and up to the specific region connector.-
Nested Class Summary
Nested classes/interfaces inherited from interface energy.eddie.dataneeds.rules.DataNeedRule
DataNeedRule.AccountingPointDataNeedRule, DataNeedRule.AllowMultipleDataNeedsRule, DataNeedRule.InboundAiidaDataNeedRule, DataNeedRule.OutboundAiidaDataNeedRule, DataNeedRule.SpecificDataNeedRule<T extends DataNeed>, DataNeedRule.ValidatedHistoricalDataDataNeedRule -
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aAllowMultipleDataNeedsRulerecord class. -
Method Summary
-
Constructor Details
-
AllowMultipleDataNeedsRule
public AllowMultipleDataNeedsRule()Creates an instance of aAllowMultipleDataNeedsRulerecord class.
-
-
Method Details
-
allowMultipleDataNeeds
public boolean allowMultipleDataNeeds() -
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal.
-