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
ConstructorsConstructorDescriptionPhenologyVariables(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 aPhenologyVariablesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theAnthesisDaterecord component.Returns the value of theAnthesisDOYrecord component.Returns the value of theEmergenceDaterecord component.Returns the value of theEmergenceDOYrecord component.final booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of theHasEmergedrecord component.booleanReturns the value of theHasFloweredrecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theHasMaturedrecord component.booleanReturns the value of theIsAnthesisrecord component.booleanReturns the value of theIsEmergencerecord component.booleanReturns the value of theIsMaturityrecord component.Returns the value of theMaturityDaterecord component.Returns the value of theMaturityDOYrecord component.doublerDVR()Returns the value of therDVRrecord component.final StringtoString()Returns a string representation of this record class.booleanWithCrop()Returns the value of theWithCroprecord 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 aPhenologyVariablesrecord class.- Parameters:
IsEmergence- the value for theIsEmergencerecord componentIsAnthesis- the value for theIsAnthesisrecord componentIsMaturity- the value for theIsMaturityrecord componentHasEmerged- the value for theHasEmergedrecord componentHasFlowered- the value for theHasFloweredrecord componentHasMatured- the value for theHasMaturedrecord componentEmergenceDOY- the value for theEmergenceDOYrecord componentAnthesisDOY- the value for theAnthesisDOYrecord componentMaturityDOY- the value for theMaturityDOYrecord componentEmergenceDate- the value for theEmergenceDaterecord componentAnthesisDate- the value for theAnthesisDaterecord componentMaturityDate- the value for theMaturityDaterecord componentWithCrop- the value for theWithCroprecord componentrDVR- the value for therDVRrecord 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 theIsEmergencerecord component.- Returns:
- the value of the
IsEmergencerecord component
-
IsAnthesis
public boolean IsAnthesis()Returns the value of theIsAnthesisrecord component.- Returns:
- the value of the
IsAnthesisrecord component
-
IsMaturity
public boolean IsMaturity()Returns the value of theIsMaturityrecord component.- Returns:
- the value of the
IsMaturityrecord component
-
HasEmerged
public boolean HasEmerged()Returns the value of theHasEmergedrecord component.- Returns:
- the value of the
HasEmergedrecord component
-
HasFlowered
public boolean HasFlowered()Returns the value of theHasFloweredrecord component.- Returns:
- the value of the
HasFloweredrecord component
-
HasMatured
public boolean HasMatured()Returns the value of theHasMaturedrecord component.- Returns:
- the value of the
HasMaturedrecord component
-
EmergenceDOY
Returns the value of theEmergenceDOYrecord component.- Returns:
- the value of the
EmergenceDOYrecord component
-
AnthesisDOY
Returns the value of theAnthesisDOYrecord component.- Returns:
- the value of the
AnthesisDOYrecord component
-
MaturityDOY
Returns the value of theMaturityDOYrecord component.- Returns:
- the value of the
MaturityDOYrecord component
-
EmergenceDate
Returns the value of theEmergenceDaterecord component.- Returns:
- the value of the
EmergenceDaterecord component
-
AnthesisDate
Returns the value of theAnthesisDaterecord component.- Returns:
- the value of the
AnthesisDaterecord component
-
MaturityDate
Returns the value of theMaturityDaterecord component.- Returns:
- the value of the
MaturityDaterecord component
-
WithCrop
public boolean WithCrop()Returns the value of theWithCroprecord component.- Returns:
- the value of the
WithCroprecord component
-
rDVR
public double rDVR()Returns the value of therDVRrecord component.- Returns:
- the value of the
rDVRrecord component
-