Record Class DummyManagedAsymmetricEss.AsymmetricApplyPowerRecord

java.lang.Object
java.lang.Record
io.openems.edge.ess.test.DummyManagedAsymmetricEss.AsymmetricApplyPowerRecord
Enclosing class:
DummyManagedAsymmetricEss

public static record DummyManagedAsymmetricEss.AsymmetricApplyPowerRecord(int activePowerL1, int reactivePowerL1, int activePowerL2, int reactivePowerL2, int activePowerL3, int reactivePowerL3) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    AsymmetricApplyPowerRecord(int activePowerL1, int reactivePowerL1, int activePowerL2, int reactivePowerL2, int activePowerL3, int reactivePowerL3)
    Creates an instance of a AsymmetricApplyPowerRecord record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the value of the activePowerL1 record component.
    int
    Returns the value of the activePowerL2 record component.
    int
    Returns the value of the activePowerL3 record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    int
    Returns the value of the reactivePowerL1 record component.
    int
    Returns the value of the reactivePowerL2 record component.
    int
    Returns the value of the reactivePowerL3 record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

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

    • AsymmetricApplyPowerRecord

      public AsymmetricApplyPowerRecord(int activePowerL1, int reactivePowerL1, int activePowerL2, int reactivePowerL2, int activePowerL3, int reactivePowerL3)
      Creates an instance of a AsymmetricApplyPowerRecord record class.
      Parameters:
      activePowerL1 - the value for the activePowerL1 record component
      reactivePowerL1 - the value for the reactivePowerL1 record component
      activePowerL2 - the value for the activePowerL2 record component
      reactivePowerL2 - the value for the reactivePowerL2 record component
      activePowerL3 - the value for the activePowerL3 record component
      reactivePowerL3 - the value for the reactivePowerL3 record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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. All components in this record class are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • activePowerL1

      public int activePowerL1()
      Returns the value of the activePowerL1 record component.
      Returns:
      the value of the activePowerL1 record component
    • reactivePowerL1

      public int reactivePowerL1()
      Returns the value of the reactivePowerL1 record component.
      Returns:
      the value of the reactivePowerL1 record component
    • activePowerL2

      public int activePowerL2()
      Returns the value of the activePowerL2 record component.
      Returns:
      the value of the activePowerL2 record component
    • reactivePowerL2

      public int reactivePowerL2()
      Returns the value of the reactivePowerL2 record component.
      Returns:
      the value of the reactivePowerL2 record component
    • activePowerL3

      public int activePowerL3()
      Returns the value of the activePowerL3 record component.
      Returns:
      the value of the activePowerL3 record component
    • reactivePowerL3

      public int reactivePowerL3()
      Returns the value of the reactivePowerL3 record component.
      Returns:
      the value of the reactivePowerL3 record component