Class ConnectorResult

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
LineResult, TransformerResult

public abstract class ConnectorResult extends ResultEntity
Abstract class to hold most 'ElectricCurrent and Angle'-mappings common to all connectors
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

    Constructors
    Modifier
    Constructor
    Description
    protected
    ConnectorResult(ZonedDateTime time, UUID inputModel, tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iAMag, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iAAng, tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iBMag, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iBAng)
    Standard constructor with automatic uuid generation.
    protected
    ConnectorResult(UUID uuid, ZonedDateTime time, UUID inputModel, tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iAMag, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iAAng, tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iBMag, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iBAng)
    Standard constructor which allows uuid provision
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle>
     
    tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent>
     
    tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle>
     
    tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent>
     
    int
     
    void
    setiAAng(tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iAAng)
     
    void
    setiAMag(tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iAMag)
     
    void
    setiBAng(tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iBAng)
     
    void
    setiBMag(tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iBMag)
     
     

    Methods inherited from class edu.ie3.datamodel.models.result.ResultEntity

    getInputModel, getTime, setInputModel, setTime

    Methods inherited from class edu.ie3.datamodel.models.UniqueEntity

    getUuid

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ConnectorResult

      protected ConnectorResult(ZonedDateTime time, UUID inputModel, tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iAMag, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iAAng, tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iBMag, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iBAng)
      Standard constructor with automatic uuid generation.
      Parameters:
      time - date and time when the result is produced
      inputModel - uuid of the input model that produces the result
      iAMag - electric current magnitude @ port A, normally provided in Ampere
      iAAng - electric current angle @ Port A in degree
      iBMag - electric current magnitude @ port B, normally provided in Ampere
      iBAng - electric current angle @ Port B in degree
    • ConnectorResult

      protected ConnectorResult(UUID uuid, ZonedDateTime time, UUID inputModel, tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iAMag, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iAAng, tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iBMag, tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iBAng)
      Standard constructor which allows uuid provision
      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
      iAMag - electric current magnitude @ port A, normally provided in Ampere
      iAAng - electric current angle @ Port A in degree
      iBMag - electric current magnitude @ port B, normally provided in Ampere
      iBAng - electric current angle @ Port B in degree
  • Method Details

    • getiAMag

      public tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> getiAMag()
    • setiAMag

      public void setiAMag(tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iAMag)
    • getiAAng

      public tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> getiAAng()
    • setiAAng

      public void setiAAng(tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iAAng)
    • getiBMag

      public tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> getiBMag()
    • setiBMag

      public void setiBMag(tech.units.indriya.ComparableQuantity<javax.measure.quantity.ElectricCurrent> iBMag)
    • getiBAng

      public tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> getiBAng()
    • setiBAng

      public void setiBAng(tech.units.indriya.ComparableQuantity<javax.measure.quantity.Angle> iBAng)
    • 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