Record Class EventoController.DeleteEventoRequest
java.lang.Object
java.lang.Record
com.modulink.Controller.UserModules.GDE.EventoController.DeleteEventoRequest
- Enclosing class:
EventoController
Oggetto di richiesta per la cancellazione di un evento.
- Since:
- 1.2.0
- Version:
- 2.1.5
- Author:
- Modulink Team
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeleteEventoRequest(int id) Creates an instance of aDeleteEventoRequestrecord 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.intid()Returns the value of theidrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
id
private final int idThe field for theidrecord component.
-
-
Constructor Details
-
DeleteEventoRequest
public DeleteEventoRequest(int id) Creates an instance of aDeleteEventoRequestrecord class.- Parameters:
id- the value for theidrecord 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 with thecomparemethod from their corresponding wrapper classes. -
id
public int id()Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-