Record Class PegaseProgramStructure.ChildrenToAttachForObjectRequest
java.lang.Object
java.lang.Record
org.ametys.plugins.odfsync.pegase.ws.structure.PegaseProgramStructure.ChildrenToAttachForObjectRequest
- Record Components:
parentContent- The content of the objectparentId- The pegase ID of the objectchildren- The children of the object
- Enclosing class:
PegaseProgramStructure
protected static record PegaseProgramStructure.ChildrenToAttachForObjectRequest(Content parentContent, UUID parentId, Map<String,PegaseProgramStructure.PegaseChildWithChildren> children)
extends Record
Store the parameters necessary to attach all children of an object
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedChildrenToAttachForObjectRequest(Content parentContent, UUID parentId, Map<String, PegaseProgramStructure.PegaseChildWithChildren> children) Creates an instance of aChildrenToAttachForObjectRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionchildren()Returns the value of thechildrenrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theparentContentrecord component.parentId()Returns the value of theparentIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ChildrenToAttachForObjectRequest
protected ChildrenToAttachForObjectRequest(Content parentContent, UUID parentId, Map<String, PegaseProgramStructure.PegaseChildWithChildren> children) Creates an instance of aChildrenToAttachForObjectRequestrecord class.- Parameters:
parentContent- the value for theparentContentrecord componentparentId- the value for theparentIdrecord componentchildren- the value for thechildrenrecord 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). -
parentContent
Returns the value of theparentContentrecord component.- Returns:
- the value of the
parentContentrecord component
-
parentId
Returns the value of theparentIdrecord component.- Returns:
- the value of the
parentIdrecord component
-
children
Returns the value of thechildrenrecord component.- Returns:
- the value of the
childrenrecord component
-