Class FlexOptionsResult
java.lang.Object
edu.ie3.datamodel.models.UniqueEntity
edu.ie3.datamodel.models.result.ResultEntity
edu.ie3.datamodel.models.result.system.FlexOptionsResult
- All Implemented Interfaces:
Serializable
Represents results of flexibility request
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.ie3.datamodel.models.UniqueEntity
UniqueEntity.UniqueEntityBuilder, UniqueEntity.UniqueEntityCopyBuilder<T extends UniqueEntity.UniqueEntityBuilder>
-
Field Summary
Fields inherited from class edu.ie3.datamodel.models.UniqueEntity
UUID_FIELD_NAME
-
Constructor Summary
ConstructorDescriptionFlexOptionsResult
(ZonedDateTime time, UUID inputModel, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> pRef, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> pMin, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> pMax) Standard constructor with automatic uuid generation.FlexOptionsResult
(UUID uuid, ZonedDateTime time, UUID inputModel, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> pRef, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> pMin, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> pMax) Standard constructor without uuid generation. -
Method Summary
Modifier and TypeMethodDescriptionboolean
tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power>
getpMax()
tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power>
getpMin()
tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power>
getpRef()
int
hashCode()
toString()
Methods inherited from class edu.ie3.datamodel.models.result.ResultEntity
getInputModel, getTime, setInputModel, setTime
Methods inherited from class edu.ie3.datamodel.models.UniqueEntity
getUuid
-
Constructor Details
-
FlexOptionsResult
public FlexOptionsResult(ZonedDateTime time, UUID inputModel, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> pRef, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> pMin, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> pMax) Standard constructor with automatic uuid generation.- Parameters:
time
- date and time when the result is producedinputModel
- uuid of the input model that produces the resultpRef
- active power that was suggested for regular usage by the system participantpMin
- active minimal power that was determined by the system participantpMax
- active maximum power that was determined by the system participant
-
FlexOptionsResult
public FlexOptionsResult(UUID uuid, ZonedDateTime time, UUID inputModel, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> pRef, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> pMin, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> pMax) Standard constructor without uuid generation.- Parameters:
uuid
- uuid of this result entity, for automatic uuid generation use primary constructor abovetime
- date and time when the result is producedinputModel
- uuid of the input model that produces the resultpRef
- active power that was suggested for regular usage by the system participantpMin
- active minimal power that was determined by the system participantpMax
- active maximum power that was determined by the system participant
-
-
Method Details
-
getpRef
public tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> getpRef() -
getpMin
public tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> getpMin() -
getpMax
public tech.units.indriya.ComparableQuantity<javax.measure.quantity.Power> getpMax() -
toString
- Overrides:
toString
in classResultEntity
-
equals
- Overrides:
equals
in classResultEntity
-
hashCode
public int hashCode()- Overrides:
hashCode
in classResultEntity
-