Record Class InheritanceModule.OrphanReassignment
java.lang.Object
java.lang.Record
simpaths.model.InheritanceModule.OrphanReassignment
- Enclosing class:
InheritanceModule
-
Constructor Summary
ConstructorsConstructorDescriptionOrphanReassignment(int year, long orphanId, Long deceasedId, long recipientId, long referenceParentId, String referenceReason, String purpose, String tier, double value) Creates an instance of aOrphanReassignmentrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedeceasedIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longorphanId()Returns the value of theorphanIdrecord component.purpose()Returns the value of thepurposerecord component.longReturns the value of therecipientIdrecord component.longReturns the value of thereferenceParentIdrecord component.Returns the value of thereferenceReasonrecord component.tier()Returns the value of thetierrecord component.final StringtoString()Returns a string representation of this record class.doublevalue()Returns the value of thevaluerecord component.intyear()Returns the value of theyearrecord component.
-
Constructor Details
-
OrphanReassignment
public OrphanReassignment(int year, long orphanId, Long deceasedId, long recipientId, long referenceParentId, String referenceReason, String purpose, String tier, double value) Creates an instance of aOrphanReassignmentrecord class.- Parameters:
year- the value for theyearrecord componentorphanId- the value for theorphanIdrecord componentdeceasedId- the value for thedeceasedIdrecord componentrecipientId- the value for therecipientIdrecord componentreferenceParentId- the value for thereferenceParentIdrecord componentreferenceReason- the value for thereferenceReasonrecord componentpurpose- the value for thepurposerecord componenttier- the value for thetierrecord componentvalue- the value for thevaluerecord component
-
-
Method Details
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
year
public int year()Returns the value of theyearrecord component.- Returns:
- the value of the
yearrecord component
-
orphanId
public long orphanId()Returns the value of theorphanIdrecord component.- Returns:
- the value of the
orphanIdrecord component
-
deceasedId
Returns the value of thedeceasedIdrecord component.- Returns:
- the value of the
deceasedIdrecord component
-
recipientId
public long recipientId()Returns the value of therecipientIdrecord component.- Returns:
- the value of the
recipientIdrecord component
-
referenceParentId
public long referenceParentId()Returns the value of thereferenceParentIdrecord component.- Returns:
- the value of the
referenceParentIdrecord component
-
referenceReason
Returns the value of thereferenceReasonrecord component.- Returns:
- the value of the
referenceReasonrecord component
-
purpose
Returns the value of thepurposerecord component.- Returns:
- the value of the
purposerecord component
-
tier
Returns the value of thetierrecord component.- Returns:
- the value of the
tierrecord component
-
value
public double value()Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-