Record Class MergeResource.MergeResultBean
java.lang.Object
java.lang.Record
ch.tocco.nice2.actions.impl.merge.MergeResource.MergeResultBean
- Enclosing class:
MergeResource
public static record MergeResource.MergeResultBean(List<MergeResource.UnmergedEntitiesBean> notCopiedRelations, List<MergeResource.UnmergedEntitiesBean> notDeletedEntities, boolean showPermissionMessage)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionMergeResultBean(List<MergeResource.UnmergedEntitiesBean> notCopiedRelations, List<MergeResource.UnmergedEntitiesBean> notDeletedEntities, boolean showPermissionMessage) Creates an instance of aMergeResultBeanrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thenotCopiedRelationsrecord component.Returns the value of thenotDeletedEntitiesrecord component.booleanReturns the value of theshowPermissionMessagerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MergeResultBean
public MergeResultBean(List<MergeResource.UnmergedEntitiesBean> notCopiedRelations, List<MergeResource.UnmergedEntitiesBean> notDeletedEntities, boolean showPermissionMessage) Creates an instance of aMergeResultBeanrecord class.- Parameters:
notCopiedRelations- the value for thenotCopiedRelationsrecord componentnotDeletedEntities- the value for thenotDeletedEntitiesrecord componentshowPermissionMessage- the value for theshowPermissionMessagerecord 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. -
notCopiedRelations
Returns the value of thenotCopiedRelationsrecord component.- Returns:
- the value of the
notCopiedRelationsrecord component
-
notDeletedEntities
Returns the value of thenotDeletedEntitiesrecord component.- Returns:
- the value of the
notDeletedEntitiesrecord component
-
showPermissionMessage
public boolean showPermissionMessage()Returns the value of theshowPermissionMessagerecord component.- Returns:
- the value of the
showPermissionMessagerecord component
-