Record Class ComunicazioniApi.Comunicazione
java.lang.Object
java.lang.Record
it.unina.picus.comunicazioni.api.ComunicazioniApi.Comunicazione
- Record Components:
id- identificativo della comunicazionetitolo- titolo visualizzatotesto- testo della comunicazioneinviataIl- istante dell'invioallegati- metadati degli allegati, eventualmente nessunoconfermataIl- istante del riscontro dell'account che consulta, oppurenull
- Enclosing interface:
ComunicazioniApi
-
Constructor Summary
ConstructorsConstructorDescriptionComunicazione(UUID id, String titolo, String testo, Instant inviataIl, List<ComunicazioniApi.Allegato> allegati, Instant confermataIl) Crea una copia immutabile della lista degli allegati. -
Method Summary
Modifier and TypeMethodDescriptionallegati()Returns the value of theallegatirecord component.Returns the value of theconfermataIlrecord component.final 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.testo()Returns the value of thetestorecord component.titolo()Returns the value of thetitolorecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Comunicazione
-
-
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). -
id
-
titolo
-
testo
-
inviataIl
-
allegati
-
confermataIl
Returns the value of theconfermataIlrecord component.- Returns:
- the value of the
confermataIlrecord component
-