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
ConstructorDescriptionPhenologyVariables
(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 aPhenologyVariables
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theAnthesisDate
record component.Returns the value of theAnthesisDOY
record component.Returns the value of theEmergenceDate
record component.Returns the value of theEmergenceDOY
record component.final boolean
Indicates whether some other object is "equal to" this one.boolean
Returns the value of theHasEmerged
record component.boolean
Returns the value of theHasFlowered
record component.final int
hashCode()
Returns a hash code value for this object.boolean
Returns the value of theHasMatured
record component.boolean
Returns the value of theIsAnthesis
record component.boolean
Returns the value of theIsEmergence
record component.boolean
Returns the value of theIsMaturity
record component.Returns the value of theMaturityDate
record component.Returns the value of theMaturityDOY
record component.double
rDVR()
Returns the value of therDVR
record component.final String
toString()
Returns a string representation of this record class.boolean
WithCrop()
Returns the value of theWithCrop
record component.
-
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 aPhenologyVariables
record class.- Parameters:
IsEmergence
- the value for theIsEmergence
record componentIsAnthesis
- the value for theIsAnthesis
record componentIsMaturity
- the value for theIsMaturity
record componentHasEmerged
- the value for theHasEmerged
record componentHasFlowered
- the value for theHasFlowered
record componentHasMatured
- the value for theHasMatured
record componentEmergenceDOY
- the value for theEmergenceDOY
record componentAnthesisDOY
- the value for theAnthesisDOY
record componentMaturityDOY
- the value for theMaturityDOY
record componentEmergenceDate
- the value for theEmergenceDate
record componentAnthesisDate
- the value for theAnthesisDate
record componentMaturityDate
- the value for theMaturityDate
record componentWithCrop
- the value for theWithCrop
record componentrDVR
- the value for therDVR
record component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
IsEmergence
public boolean IsEmergence()Returns the value of theIsEmergence
record component.- Returns:
- the value of the
IsEmergence
record component
-
IsAnthesis
public boolean IsAnthesis()Returns the value of theIsAnthesis
record component.- Returns:
- the value of the
IsAnthesis
record component
-
IsMaturity
public boolean IsMaturity()Returns the value of theIsMaturity
record component.- Returns:
- the value of the
IsMaturity
record component
-
HasEmerged
public boolean HasEmerged()Returns the value of theHasEmerged
record component.- Returns:
- the value of the
HasEmerged
record component
-
HasFlowered
public boolean HasFlowered()Returns the value of theHasFlowered
record component.- Returns:
- the value of the
HasFlowered
record component
-
HasMatured
public boolean HasMatured()Returns the value of theHasMatured
record component.- Returns:
- the value of the
HasMatured
record component
-
EmergenceDOY
Returns the value of theEmergenceDOY
record component.- Returns:
- the value of the
EmergenceDOY
record component
-
AnthesisDOY
Returns the value of theAnthesisDOY
record component.- Returns:
- the value of the
AnthesisDOY
record component
-
MaturityDOY
Returns the value of theMaturityDOY
record component.- Returns:
- the value of the
MaturityDOY
record component
-
EmergenceDate
Returns the value of theEmergenceDate
record component.- Returns:
- the value of the
EmergenceDate
record component
-
AnthesisDate
Returns the value of theAnthesisDate
record component.- Returns:
- the value of the
AnthesisDate
record component
-
MaturityDate
Returns the value of theMaturityDate
record component.- Returns:
- the value of the
MaturityDate
record component
-
WithCrop
public boolean WithCrop()Returns the value of theWithCrop
record component.- Returns:
- the value of the
WithCrop
record component
-
rDVR
public double rDVR()Returns the value of therDVR
record component.- Returns:
- the value of the
rDVR
record component
-