Record Class PegaseProgramStructure.PegaseChildWithChildren
java.lang.Object
java.lang.Record
org.ametys.plugins.odfsync.pegase.ws.structure.PegaseProgramStructure.PegaseChildWithChildren
- Record Components:
pegaseChild- The pegase childchildrenToAttachRequest- The children to attach request parameters as aPegaseProgramStructure.ChildrenToAttachForObjectRequestobject
- Enclosing class:
PegaseProgramStructure
protected static record PegaseProgramStructure.PegaseChildWithChildren(fr.pcscol.pegase.odf.model.Enfant pegaseChild, PegaseProgramStructure.ChildrenToAttachForObjectRequest childrenToAttachRequest)
extends Record
Store the Pegase child and its children to attach request
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPegaseChildWithChildren(fr.pcscol.pegase.odf.model.Enfant pegaseChild, PegaseProgramStructure.ChildrenToAttachForObjectRequest childrenToAttachRequest) Creates an instance of aPegaseChildWithChildrenrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thechildrenToAttachRequestrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.fr.pcscol.pegase.odf.model.EnfantReturns the value of thepegaseChildrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PegaseChildWithChildren
protected PegaseChildWithChildren(fr.pcscol.pegase.odf.model.Enfant pegaseChild, PegaseProgramStructure.ChildrenToAttachForObjectRequest childrenToAttachRequest) Creates an instance of aPegaseChildWithChildrenrecord class.- Parameters:
pegaseChild- the value for thepegaseChildrecord componentchildrenToAttachRequest- the value for thechildrenToAttachRequestrecord 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
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 withObjects::equals(Object,Object). -
pegaseChild
Returns the value of thepegaseChildrecord component.- Returns:
- the value of the
pegaseChildrecord component
-
childrenToAttachRequest
Returns the value of thechildrenToAttachRequestrecord component.- Returns:
- the value of the
childrenToAttachRequestrecord component
-