Package systextil.faturamento.memoriafci
Record Class ComparacaoMemoriaFci.Divergencia
java.lang.Object
java.lang.Record
systextil.faturamento.memoriafci.ComparacaoMemoriaFci.Divergencia
- Enclosing class:
ComparacaoMemoriaFci
public static record ComparacaoMemoriaFci.Divergencia(int seqItemPedido, systextil.dao.CodProduto produto, int nrSolicitacaoAnterior, BigDecimal percentualAnterior, BigDecimal percentualAtual, BigDecimal valorAnterior, BigDecimal valorAtual)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionDivergencia(int seqItemPedido, systextil.dao.CodProduto produto, int nrSolicitacaoAnterior, BigDecimal percentualAnterior, BigDecimal percentualAtual, BigDecimal valorAnterior, BigDecimal valorAtual) Creates an instance of aDivergenciarecord 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.intReturns the value of thenrSolicitacaoAnteriorrecord component.Returns the value of thepercentualAnteriorrecord component.Returns the value of thepercentualAtualrecord component.systextil.dao.CodProdutoproduto()Returns the value of theprodutorecord component.intReturns the value of theseqItemPedidorecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevalorAnteriorrecord component.Returns the value of thevalorAtualrecord component.
-
Constructor Details
-
Divergencia
public Divergencia(int seqItemPedido, systextil.dao.CodProduto produto, int nrSolicitacaoAnterior, BigDecimal percentualAnterior, BigDecimal percentualAtual, BigDecimal valorAnterior, BigDecimal valorAtual) Creates an instance of aDivergenciarecord class.- Parameters:
seqItemPedido- the value for theseqItemPedidorecord componentproduto- the value for theprodutorecord componentnrSolicitacaoAnterior- the value for thenrSolicitacaoAnteriorrecord componentpercentualAnterior- the value for thepercentualAnteriorrecord componentpercentualAtual- the value for thepercentualAtualrecord componentvalorAnterior- the value for thevalorAnteriorrecord componentvalorAtual- the value for thevalorAtualrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
seqItemPedido
public int seqItemPedido()Returns the value of theseqItemPedidorecord component.- Returns:
- the value of the
seqItemPedidorecord component
-
produto
public systextil.dao.CodProduto produto()Returns the value of theprodutorecord component.- Returns:
- the value of the
produtorecord component
-
nrSolicitacaoAnterior
public int nrSolicitacaoAnterior()Returns the value of thenrSolicitacaoAnteriorrecord component.- Returns:
- the value of the
nrSolicitacaoAnteriorrecord component
-
percentualAnterior
Returns the value of thepercentualAnteriorrecord component.- Returns:
- the value of the
percentualAnteriorrecord component
-
percentualAtual
Returns the value of thepercentualAtualrecord component.- Returns:
- the value of the
percentualAtualrecord component
-
valorAnterior
Returns the value of thevalorAnteriorrecord component.- Returns:
- the value of the
valorAnteriorrecord component
-
valorAtual
Returns the value of thevalorAtualrecord component.- Returns:
- the value of the
valorAtualrecord component
-