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
ConstructorsModifierConstructorDescriptionprotected
ChildrenToAttachForObjectRequest
(Content parentContent, UUID parentId, Map<String, PegaseProgramStructure.PegaseChildWithChildren> children) Creates an instance of aChildrenToAttachForObjectRequest
record class. -
Method Summary
Modifier and TypeMethodDescriptionchildren()
Returns the value of thechildren
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.Returns the value of theparentContent
record component.parentId()
Returns the value of theparentId
record component.final String
toString()
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 aChildrenToAttachForObjectRequest
record class.- Parameters:
parentContent
- the value for theparentContent
record componentparentId
- the value for theparentId
record componentchildren
- the value for thechildren
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)
. -
parentContent
Returns the value of theparentContent
record component.- Returns:
- the value of the
parentContent
record component
-
parentId
Returns the value of theparentId
record component.- Returns:
- the value of the
parentId
record component
-
children
Returns the value of thechildren
record component.- Returns:
- the value of the
children
record component
-