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 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 a Memoria record class.
      Parameters:
      nrSolicitacao - the value for the nrSolicitacao record component
      seqItemPedido - the value for the seqItemPedido record component
      produto - the value for the produto record component
      percentualFci - the value for the percentualFci record component
      percentualNatureza - the value for the percentualNatureza record component
      percentualAplicado - the value for the percentualAplicado record component
      quantidade - the value for the quantidade record component
      valorUnitario - the value for the valorUnitario record component
      valorFci - the value for the valorFci record component
      numeroFci - the value for the numeroFci record component
      divergente - the value for the divergente record component
  • 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • nrSolicitacao

      public int nrSolicitacao()
      Returns the value of the nrSolicitacao record component.
      Returns:
      the value of the nrSolicitacao record component
    • seqItemPedido

      public int seqItemPedido()
      Returns the value of the seqItemPedido record component.
      Returns:
      the value of the seqItemPedido record component
    • produto

      public systextil.dao.CodProduto produto()
      Returns the value of the produto record component.
      Returns:
      the value of the produto record component
    • percentualFci

      public BigDecimal percentualFci()
      Returns the value of the percentualFci record component.
      Returns:
      the value of the percentualFci record component
    • percentualNatureza

      public BigDecimal percentualNatureza()
      Returns the value of the percentualNatureza record component.
      Returns:
      the value of the percentualNatureza record component
    • percentualAplicado

      public BigDecimal percentualAplicado()
      Returns the value of the percentualAplicado record component.
      Returns:
      the value of the percentualAplicado record component
    • quantidade

      public BigDecimal quantidade()
      Returns the value of the quantidade record component.
      Returns:
      the value of the quantidade record component
    • valorUnitario

      public BigDecimal valorUnitario()
      Returns the value of the valorUnitario record component.
      Returns:
      the value of the valorUnitario record component
    • valorFci

      public BigDecimal valorFci()
      Returns the value of the valorFci record component.
      Returns:
      the value of the valorFci record component
    • numeroFci

      public String numeroFci()
      Returns the value of the numeroFci record component.
      Returns:
      the value of the numeroFci record component
    • divergente

      public boolean divergente()
      Returns the value of the divergente record component.
      Returns:
      the value of the divergente record component