Record Class OryzaFunctions.PhenoStagesStatus
java.lang.Object
java.lang.Record
net.simplace.sim.components.experimental.oryza.OryzaFunctions.PhenoStagesStatus
- Enclosing class:
OryzaFunctions
public static record OryzaFunctions.PhenoStagesStatus(boolean Emergence, boolean JuvenileEnd, boolean PannicleEnd, boolean Anthesis, boolean Maturity)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionPhenoStagesStatus(boolean Emergence, boolean JuvenileEnd, boolean PannicleEnd, boolean Anthesis, boolean Maturity) Creates an instance of aPhenoStagesStatusrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanAnthesis()Returns the value of theAnthesisrecord component.booleanReturns the value of theEmergencerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theJuvenileEndrecord component.booleanMaturity()Returns the value of theMaturityrecord component.booleanReturns the value of thePannicleEndrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PhenoStagesStatus
public PhenoStagesStatus(boolean Emergence, boolean JuvenileEnd, boolean PannicleEnd, boolean Anthesis, boolean Maturity) Creates an instance of aPhenoStagesStatusrecord class.- Parameters:
Emergence- the value for theEmergencerecord componentJuvenileEnd- the value for theJuvenileEndrecord componentPannicleEnd- the value for thePannicleEndrecord componentAnthesis- the value for theAnthesisrecord componentMaturity- the value for theMaturityrecord 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. All components in this record class are compared with '=='. -
Emergence
public boolean Emergence()Returns the value of theEmergencerecord component.- Returns:
- the value of the
Emergencerecord component
-
JuvenileEnd
public boolean JuvenileEnd()Returns the value of theJuvenileEndrecord component.- Returns:
- the value of the
JuvenileEndrecord component
-
PannicleEnd
public boolean PannicleEnd()Returns the value of thePannicleEndrecord component.- Returns:
- the value of the
PannicleEndrecord component
-
Anthesis
public boolean Anthesis()Returns the value of theAnthesisrecord component.- Returns:
- the value of the
Anthesisrecord component
-
Maturity
public boolean Maturity()Returns the value of theMaturityrecord component.- Returns:
- the value of the
Maturityrecord component
-