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 Details

    • Divergencia

      public Divergencia(int seqItemPedido, systextil.dao.CodProduto produto, int nrSolicitacaoAnterior, BigDecimal percentualAnterior, BigDecimal percentualAtual, BigDecimal valorAnterior, BigDecimal valorAtual)
      Creates an instance of a Divergencia record class.
      Parameters:
      seqItemPedido - the value for the seqItemPedido record component
      produto - the value for the produto record component
      nrSolicitacaoAnterior - the value for the nrSolicitacaoAnterior record component
      percentualAnterior - the value for the percentualAnterior record component
      percentualAtual - the value for the percentualAtual record component
      valorAnterior - the value for the valorAnterior record component
      valorAtual - the value for the valorAtual 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.
    • 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
    • nrSolicitacaoAnterior

      public int nrSolicitacaoAnterior()
      Returns the value of the nrSolicitacaoAnterior record component.
      Returns:
      the value of the nrSolicitacaoAnterior record component
    • percentualAnterior

      public BigDecimal percentualAnterior()
      Returns the value of the percentualAnterior record component.
      Returns:
      the value of the percentualAnterior record component
    • percentualAtual

      public BigDecimal percentualAtual()
      Returns the value of the percentualAtual record component.
      Returns:
      the value of the percentualAtual record component
    • valorAnterior

      public BigDecimal valorAnterior()
      Returns the value of the valorAnterior record component.
      Returns:
      the value of the valorAnterior record component
    • valorAtual

      public BigDecimal valorAtual()
      Returns the value of the valorAtual record component.
      Returns:
      the value of the valorAtual record component