Record Class RichiesteApi.RichiestaDettaglio

java.lang.Object
java.lang.Record
it.unina.picus.richieste.api.RichiesteApi.RichiestaDettaglio
Record Components:
richiesta - dati di sintesi
titolareId - account della OPT che ha inviato la richiesta, visibile a titolare e Banco, oppure null quando la consultazione รจ dell'erogatore
tipoDestinatario - persona o nucleo
comuneCodice - comune del bisogno
description - descrizione riservata a titolare e Banco, oppure null se assente o riservata
erogatoreAssegnatoId - account assegnato, oppure null prima dell'assegnazione
accordo - dettagli della conferma, se acquisiti, anche dopo annullamento, altrimenti null
Enclosing interface:
RichiesteApi

public static record RichiesteApi.RichiestaDettaglio(RichiesteApi.RichiestaSintesi richiesta, UUID titolareId, RichiesteApi.TipoDestinatario tipoDestinatario, String comuneCodice, String description, UUID erogatoreAssegnatoId, RichiesteApi.DettagliAccordo accordo) extends Record
Dati della pratica visibili al Banco, alla OPT titolare o all'erogatore assegnato.
  • Constructor Details

  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • richiesta

      public RichiesteApi.RichiestaSintesi richiesta()
      Returns the value of the richiesta record component.
      Returns:
      the value of the richiesta record component
    • titolareId

      public UUID titolareId()
      Returns the value of the titolareId record component.
      Returns:
      the value of the titolareId record component
    • tipoDestinatario

      public RichiesteApi.TipoDestinatario tipoDestinatario()
      Returns the value of the tipoDestinatario record component.
      Returns:
      the value of the tipoDestinatario record component
    • comuneCodice

      public String comuneCodice()
      Returns the value of the comuneCodice record component.
      Returns:
      the value of the comuneCodice record component
    • description

      public String description()
      Returns the value of the description record component.
      Returns:
      the value of the description record component
    • erogatoreAssegnatoId

      public UUID erogatoreAssegnatoId()
      Returns the value of the erogatoreAssegnatoId record component.
      Returns:
      the value of the erogatoreAssegnatoId record component
    • accordo

      public RichiesteApi.DettagliAccordo accordo()
      Returns the value of the accordo record component.
      Returns:
      the value of the accordo record component