Record Class RichiesteApi.RichiestaSintesi
java.lang.Object
java.lang.Record
it.unina.picus.richieste.api.RichiesteApi.RichiestaSintesi
- Record Components:
id- identificativo della richiesta assegnato dal sistemainviataIl- istante di inviomisuraId- riferimento stabile alla misuranomeMisura- denominazione della misurastato- stato corrente della richiesta
- Enclosing interface:
RichiesteApi
public static record RichiesteApi.RichiestaSintesi(UUID id, Instant inviataIl, long misuraId, String nomeMisura, RichiesteApi.StatoRichiesta stato)
extends Record
Riga della coda o degli elenchi delle richieste.
-
Constructor Summary
ConstructorsConstructorDescriptionRichiestaSintesi(UUID id, Instant inviataIl, long misuraId, String nomeMisura, RichiesteApi.StatoRichiesta stato) Creates an instance of aRichiestaSintesirecord 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.id()Returns the value of theidrecord component.Returns the value of theinviataIlrecord component.longmisuraId()Returns the value of themisuraIdrecord component.Returns the value of thenomeMisurarecord component.stato()Returns the value of thestatorecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RichiestaSintesi
public RichiestaSintesi(UUID id, Instant inviataIl, long misuraId, String nomeMisura, RichiesteApi.StatoRichiesta stato) Creates an instance of aRichiestaSintesirecord class.- Parameters:
id- the value for theidrecord componentinviataIl- the value for theinviataIlrecord componentmisuraId- the value for themisuraIdrecord componentnomeMisura- the value for thenomeMisurarecord componentstato- the value for thestatorecord 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. -
id
-
inviataIl
-
misuraId
-
nomeMisura
Returns the value of thenomeMisurarecord component.- Returns:
- the value of the
nomeMisurarecord component
-
stato
-