Class NodeResult

All Implemented Interfaces:
Serializable

public class NodeResult extends ResultEntity
Represents calculation results of a NodeInput
See Also:
  • 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 produced
      inputModel - uuid of the input model that produces the result
      vMag - 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 above
      time - date and time when the result is produced
      inputModel - uuid of the input model that produces the result
      vMag - Dimensionless voltage magnitude
      vAng - 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

      public boolean equals(Object o)
      Overrides:
      equals in class ResultEntity
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ResultEntity
    • toString

      public String toString()
      Overrides:
      toString in class ResultEntity