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.ChildrenToAttachForObjectRequest
object
- 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
ConstructorsModifierConstructorDescriptionprotected
PegaseChildWithChildren
(fr.pcscol.pegase.odf.model.Enfant pegaseChild, PegaseProgramStructure.ChildrenToAttachForObjectRequest childrenToAttachRequest) Creates an instance of aPegaseChildWithChildren
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thechildrenToAttachRequest
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.fr.pcscol.pegase.odf.model.Enfant
Returns the value of thepegaseChild
record component.final String
toString()
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 aPegaseChildWithChildren
record class.- Parameters:
pegaseChild
- the value for thepegaseChild
record componentchildrenToAttachRequest
- the value for thechildrenToAttachRequest
record 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 thepegaseChild
record component.- Returns:
- the value of the
pegaseChild
record component
-
childrenToAttachRequest
Returns the value of thechildrenToAttachRequest
record component.- Returns:
- the value of the
childrenToAttachRequest
record component
-