Package systextil.faturamento.memoriafci
Record Class ComparacaoMemoriaFci.Memoria
java.lang.Object
java.lang.Record
systextil.faturamento.memoriafci.ComparacaoMemoriaFci.Memoria
- Enclosing class:
ComparacaoMemoriaFci
public static record ComparacaoMemoriaFci.Memoria(int nrSolicitacao, int seqItemPedido, systextil.dao.CodProduto produto, BigDecimal percentualFci, BigDecimal percentualNatureza, BigDecimal percentualAplicado, BigDecimal quantidade, BigDecimal valorUnitario, BigDecimal valorFci, String numeroFci, boolean divergente)
extends Record
Linha da
FATU_030_FCI: o desconto de FCI de um item do pedido numa solicitação.-
Constructor Summary
ConstructorsConstructorDescriptionMemoria(int nrSolicitacao, int seqItemPedido, systextil.dao.CodProduto produto, BigDecimal percentualFci, BigDecimal percentualNatureza, BigDecimal percentualAplicado, BigDecimal quantidade, BigDecimal valorUnitario, BigDecimal valorFci, String numeroFci, boolean divergente) Creates an instance of aMemoriarecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thedivergenterecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thenrSolicitacaorecord component.Returns the value of thenumeroFcirecord component.Returns the value of thepercentualAplicadorecord component.Returns the value of thepercentualFcirecord component.Returns the value of thepercentualNaturezarecord component.systextil.dao.CodProdutoproduto()Returns the value of theprodutorecord component.Returns the value of thequantidaderecord component.intReturns the value of theseqItemPedidorecord component.final StringtoString()Returns a string representation of this record class.valorFci()Returns the value of thevalorFcirecord component.Returns the value of thevalorUnitariorecord component.
-
Constructor Details
-
Memoria
public Memoria(int nrSolicitacao, int seqItemPedido, systextil.dao.CodProduto produto, BigDecimal percentualFci, BigDecimal percentualNatureza, BigDecimal percentualAplicado, BigDecimal quantidade, BigDecimal valorUnitario, BigDecimal valorFci, String numeroFci, boolean divergente) Creates an instance of aMemoriarecord class.- Parameters:
nrSolicitacao- the value for thenrSolicitacaorecord componentseqItemPedido- the value for theseqItemPedidorecord componentproduto- the value for theprodutorecord componentpercentualFci- the value for thepercentualFcirecord componentpercentualNatureza- the value for thepercentualNaturezarecord componentpercentualAplicado- the value for thepercentualAplicadorecord componentquantidade- the value for thequantidaderecord componentvalorUnitario- the value for thevalorUnitariorecord componentvalorFci- the value for thevalorFcirecord componentnumeroFci- the value for thenumeroFcirecord componentdivergente- the value for thedivergenterecord 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 '=='. -
nrSolicitacao
public int nrSolicitacao()Returns the value of thenrSolicitacaorecord component.- Returns:
- the value of the
nrSolicitacaorecord component
-
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
-
percentualFci
Returns the value of thepercentualFcirecord component.- Returns:
- the value of the
percentualFcirecord component
-
percentualNatureza
Returns the value of thepercentualNaturezarecord component.- Returns:
- the value of the
percentualNaturezarecord component
-
percentualAplicado
Returns the value of thepercentualAplicadorecord component.- Returns:
- the value of the
percentualAplicadorecord component
-
quantidade
Returns the value of thequantidaderecord component.- Returns:
- the value of the
quantidaderecord component
-
valorUnitario
Returns the value of thevalorUnitariorecord component.- Returns:
- the value of the
valorUnitariorecord component
-
valorFci
Returns the value of thevalorFcirecord component.- Returns:
- the value of the
valorFcirecord component
-
numeroFci
Returns the value of thenumeroFcirecord component.- Returns:
- the value of the
numeroFcirecord component
-
divergente
public boolean divergente()Returns the value of thedivergenterecord component.- Returns:
- the value of the
divergenterecord component
-