Record Class ResultadoLoteDTO
java.lang.Object
java.lang.Record
br.com.intersys.systextil.function.pcpc.rotinarecalculo.dto.ResultadoLoteDTO
- Record Components:
ultimoEstagio- código do último estágio inserido (0 quando nenhum estágio foi encontrado no roteiro e foi inserido o registro padrão viainsertPcpc040SemEstagio)erro-truese oPcpc040ValidaEstagioAgrupadorreportou erro bloqueante (tipoMsg > 1), interrompendo o processo
Resultado da inserção dos estágios de um único lote na
PCPC_040.-
Constructor Summary
ConstructorsConstructorDescriptionResultadoLoteDTO(int ultimoEstagio, boolean erro) Creates an instance of aResultadoLoteDTOrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.booleanerro()Returns the value of theerrorecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.intReturns the value of theultimoEstagiorecord component.
-
Constructor Details
-
ResultadoLoteDTO
public ResultadoLoteDTO(int ultimoEstagio, boolean erro) Creates an instance of aResultadoLoteDTOrecord class.- Parameters:
ultimoEstagio- the value for theultimoEstagiorecord componenterro- the value for theerrorecord component
-
-
Method Details
-
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. -
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. -
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 '=='. -
ultimoEstagio
public int ultimoEstagio()Returns the value of theultimoEstagiorecord component.- Returns:
- the value of the
ultimoEstagiorecord component
-
erro
public boolean erro()Returns the value of theerrorecord component.- Returns:
- the value of the
errorecord component
-