Record Class ProcessamentoService.LoteResultado
java.lang.Object
java.lang.Record
br.com.vantroba.bi.transporte.processamento.ProcessamentoService.LoteResultado
- Enclosing class:
ProcessamentoService
public static record ProcessamentoService.LoteResultado(String conjuntoId, int total, List<ProcessamentoService.ItemLote> itens)
extends Record
Resultado do recebimento de um lote (.zip).
-
Constructor Summary
ConstructorsConstructorDescriptionLoteResultado(String conjuntoId, int total, List<ProcessamentoService.ItemLote> itens) Creates an instance of aLoteResultadorecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconjuntoIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.itens()Returns the value of theitensrecord component.final StringtoString()Returns a string representation of this record class.inttotal()Returns the value of thetotalrecord component.
-
Constructor Details
-
LoteResultado
Creates an instance of aLoteResultadorecord class.- Parameters:
conjuntoId- the value for theconjuntoIdrecord componenttotal- the value for thetotalrecord componentitens- the value for theitensrecord 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. -
conjuntoId
Returns the value of theconjuntoIdrecord component.- Returns:
- the value of the
conjuntoIdrecord component
-
total
public int total()Returns the value of thetotalrecord component.- Returns:
- the value of the
totalrecord component
-
itens
Returns the value of theitensrecord component.- Returns:
- the value of the
itensrecord component
-