Record Class LintulCassavaFunctions.DormancyConditionsResult
java.lang.Object
java.lang.Record
net.simplace.sim.components.models.lintul5.extended.cassava.LintulCassavaFunctions.DormancyConditionsResult
- Enclosing class:
- LintulCassavaFunctions
public static record LintulCassavaFunctions.DormancyConditionsResult(boolean IsDormancy, boolean IsDormancyRecover, boolean IsRedistribution, boolean IsRedistributionEnd)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionDormancyConditionsResult(boolean IsDormancy, boolean IsDormancyRecover, boolean IsRedistribution, boolean IsRedistributionEnd) Creates an instance of aDormancyConditionsResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theIsDormancyrecord component.booleanReturns the value of theIsDormancyRecoverrecord component.booleanReturns the value of theIsRedistributionrecord component.booleanReturns the value of theIsRedistributionEndrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DormancyConditionsResult
public DormancyConditionsResult(boolean IsDormancy, boolean IsDormancyRecover, boolean IsRedistribution, boolean IsRedistributionEnd) Creates an instance of aDormancyConditionsResultrecord class.- Parameters:
IsDormancy- the value for theIsDormancyrecord componentIsDormancyRecover- the value for theIsDormancyRecoverrecord componentIsRedistribution- the value for theIsRedistributionrecord componentIsRedistributionEnd- the value for theIsRedistributionEndrecord 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 '=='. -
IsDormancy
public boolean IsDormancy()Returns the value of theIsDormancyrecord component.- Returns:
- the value of the
IsDormancyrecord component
-
IsDormancyRecover
public boolean IsDormancyRecover()Returns the value of theIsDormancyRecoverrecord component.- Returns:
- the value of the
IsDormancyRecoverrecord component
-
IsRedistribution
public boolean IsRedistribution()Returns the value of theIsRedistributionrecord component.- Returns:
- the value of the
IsRedistributionrecord component
-
IsRedistributionEnd
public boolean IsRedistributionEnd()Returns the value of theIsRedistributionEndrecord component.- Returns:
- the value of the
IsRedistributionEndrecord component
-