Record Class LintulCCFunctions.PhenologyVariables

java.lang.Object
java.lang.Record
net.simplace.sim.components.experimental.lintulcc.LintulCCFunctions.PhenologyVariables
Enclosing class:
LintulCCFunctions

public static record LintulCCFunctions.PhenologyVariables(boolean IsEmergence, boolean IsAnthesis, boolean IsMaturity, boolean HasEmerged, boolean HasFlowered, boolean HasMatured, Integer EmergenceDOY, Integer AnthesisDOY, Integer MaturityDOY, LocalDateTime EmergenceDate, LocalDateTime AnthesisDate, LocalDateTime MaturityDate, boolean WithCrop, double rDVR) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    PhenologyVariables(boolean IsEmergence, boolean IsAnthesis, boolean IsMaturity, boolean HasEmerged, boolean HasFlowered, boolean HasMatured, Integer EmergenceDOY, Integer AnthesisDOY, Integer MaturityDOY, LocalDateTime EmergenceDate, LocalDateTime AnthesisDate, LocalDateTime MaturityDate, boolean WithCrop, double rDVR)
    Creates an instance of a PhenologyVariables record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the value of the AnthesisDate record component.
    Returns the value of the AnthesisDOY record component.
    Returns the value of the EmergenceDate record component.
    Returns the value of the EmergenceDOY record component.
    final boolean
    Indicates whether some other object is "equal to" this one.
    boolean
    Returns the value of the HasEmerged record component.
    boolean
    Returns the value of the HasFlowered record component.
    final int
    Returns a hash code value for this object.
    boolean
    Returns the value of the HasMatured record component.
    boolean
    Returns the value of the IsAnthesis record component.
    boolean
    Returns the value of the IsEmergence record component.
    boolean
    Returns the value of the IsMaturity record component.
    Returns the value of the MaturityDate record component.
    Returns the value of the MaturityDOY record component.
    double
    Returns the value of the rDVR record component.
    final String
    Returns a string representation of this record class.
    boolean
    Returns the value of the WithCrop record component.

    Methods inherited from class java.lang.Object

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

    • PhenologyVariables

      public PhenologyVariables(boolean IsEmergence, boolean IsAnthesis, boolean IsMaturity, boolean HasEmerged, boolean HasFlowered, boolean HasMatured, Integer EmergenceDOY, Integer AnthesisDOY, Integer MaturityDOY, LocalDateTime EmergenceDate, LocalDateTime AnthesisDate, LocalDateTime MaturityDate, boolean WithCrop, double rDVR)
      Creates an instance of a PhenologyVariables record class.
      Parameters:
      IsEmergence - the value for the IsEmergence record component
      IsAnthesis - the value for the IsAnthesis record component
      IsMaturity - the value for the IsMaturity record component
      HasEmerged - the value for the HasEmerged record component
      HasFlowered - the value for the HasFlowered record component
      HasMatured - the value for the HasMatured record component
      EmergenceDOY - the value for the EmergenceDOY record component
      AnthesisDOY - the value for the AnthesisDOY record component
      MaturityDOY - the value for the MaturityDOY record component
      EmergenceDate - the value for the EmergenceDate record component
      AnthesisDate - the value for the AnthesisDate record component
      MaturityDate - the value for the MaturityDate record component
      WithCrop - the value for the WithCrop record component
      rDVR - the value for the rDVR 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. Reference components are compared with Objects::equals(Object,Object); primitive components 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.
    • IsEmergence

      public boolean IsEmergence()
      Returns the value of the IsEmergence record component.
      Returns:
      the value of the IsEmergence record component
    • IsAnthesis

      public boolean IsAnthesis()
      Returns the value of the IsAnthesis record component.
      Returns:
      the value of the IsAnthesis record component
    • IsMaturity

      public boolean IsMaturity()
      Returns the value of the IsMaturity record component.
      Returns:
      the value of the IsMaturity record component
    • HasEmerged

      public boolean HasEmerged()
      Returns the value of the HasEmerged record component.
      Returns:
      the value of the HasEmerged record component
    • HasFlowered

      public boolean HasFlowered()
      Returns the value of the HasFlowered record component.
      Returns:
      the value of the HasFlowered record component
    • HasMatured

      public boolean HasMatured()
      Returns the value of the HasMatured record component.
      Returns:
      the value of the HasMatured record component
    • EmergenceDOY

      public Integer EmergenceDOY()
      Returns the value of the EmergenceDOY record component.
      Returns:
      the value of the EmergenceDOY record component
    • AnthesisDOY

      public Integer AnthesisDOY()
      Returns the value of the AnthesisDOY record component.
      Returns:
      the value of the AnthesisDOY record component
    • MaturityDOY

      public Integer MaturityDOY()
      Returns the value of the MaturityDOY record component.
      Returns:
      the value of the MaturityDOY record component
    • EmergenceDate

      public LocalDateTime EmergenceDate()
      Returns the value of the EmergenceDate record component.
      Returns:
      the value of the EmergenceDate record component
    • AnthesisDate

      public LocalDateTime AnthesisDate()
      Returns the value of the AnthesisDate record component.
      Returns:
      the value of the AnthesisDate record component
    • MaturityDate

      public LocalDateTime MaturityDate()
      Returns the value of the MaturityDate record component.
      Returns:
      the value of the MaturityDate record component
    • WithCrop

      public boolean WithCrop()
      Returns the value of the WithCrop record component.
      Returns:
      the value of the WithCrop record component
    • rDVR

      public double rDVR()
      Returns the value of the rDVR record component.
      Returns:
      the value of the rDVR record component