Package edu.ie3.datamodel.models.result
Class NodeResult
java.lang.Object
edu.ie3.datamodel.models.UniqueEntity
edu.ie3.datamodel.models.result.ResultEntity
edu.ie3.datamodel.models.result.NodeResult
- All Implemented Interfaces:
Serializable
Represents calculation results of a
NodeInput
- 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
ConstructorDescriptionNodeResult
(ZonedDateTime time, UUID inputModel, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Dimensionless> vMag, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> vAng) Standard constructor which includes auto generation of the resulting output models uuid.NodeResult
(UUID uuid, ZonedDateTime time, UUID inputModel, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Dimensionless> vMag, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> vAng) Standard constructor without uuid generation. -
Method Summary
Modifier and TypeMethodDescriptionboolean
tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle>
getvAng()
tech.units.indriya.ComparableQuantity<javax.measure.quantity.Dimensionless>
getvMag()
int
hashCode()
void
setvAng
(tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> vAng) void
setvMag
(tech.units.indriya.ComparableQuantity<javax.measure.quantity.Dimensionless> vMag) 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
-
NodeResult
public NodeResult(ZonedDateTime time, UUID inputModel, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Dimensionless> vMag, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> vAng) Standard constructor which includes auto generation of the resulting output models uuid.- Parameters:
time
- date and time when the result is producedinputModel
- uuid of the input model that produces the resultvMag
- voltage magnitude @ this node in p.u.vAng
- voltage angle @ this node in degree
-
NodeResult
public NodeResult(UUID uuid, ZonedDateTime time, UUID inputModel, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Dimensionless> vMag, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> vAng) 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 resultvMag
- Dimensionless voltage magnitudevAng
- Voltage angle in degrees
-
-
Method Details
-
getvMag
public tech.units.indriya.ComparableQuantity<javax.measure.quantity.Dimensionless> getvMag() -
setvMag
public void setvMag(tech.units.indriya.ComparableQuantity<javax.measure.quantity.Dimensionless> vMag) -
getvAng
public tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> getvAng() -
setvAng
public void setvAng(tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> vAng) -
equals
- Overrides:
equals
in classResultEntity
-
hashCode
public int hashCode()- Overrides:
hashCode
in classResultEntity
-
toString
- Overrides:
toString
in classResultEntity
-