Record Class CalendarSelectionResolverResource.ResolveRequestBean
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.calendar.impl.rest.resources.CalendarSelectionResolverResource.ResolveRequestBean
- Enclosing class:
CalendarSelectionResolverResource
public static record CalendarSelectionResolverResource.ResolveRequestBean(EntitySelectionBean selection, @Nullable String pathToEntity)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionResolveRequestBean(EntitySelectionBean selection, @Nullable String pathToEntity) Creates an instance of aResolveRequestBeanrecord 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.@Nullable StringReturns the value of thepathToEntityrecord component.Returns the value of theselectionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ResolveRequestBean
Creates an instance of aResolveRequestBeanrecord class.- Parameters:
selection- the value for theselectionrecord componentpathToEntity- the value for thepathToEntityrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
selection
Returns the value of theselectionrecord component.- Returns:
- the value of the
selectionrecord component
-
pathToEntity
Returns the value of thepathToEntityrecord component.- Returns:
- the value of the
pathToEntityrecord component
-