Record Class ControllerConciliacaoOFX.ModelLancamentoFinanceiro

java.lang.Object
java.lang.Record
org.brerp.bancosbrasileiros.apps.form.ControllerConciliacaoOFX.ModelLancamentoFinanceiro
Enclosing class:
ControllerConciliacaoOFX

public static record ControllerConciliacaoOFX.ModelLancamentoFinanceiro(int id, boolean isSelecionado, boolean isAtivo, ControllerConciliacaoOFX.StatusLancamento status, String numeroDocumento, Timestamp dataTransacao, String descricao, int c_BPartner_ID, BigDecimal debito, BigDecimal credito, BigDecimal valorParaConciliar) extends Record
  • Constructor Details

    • ModelLancamentoFinanceiro

      public ModelLancamentoFinanceiro(int id, boolean isSelecionado, boolean isAtivo, ControllerConciliacaoOFX.StatusLancamento status, String numeroDocumento, Timestamp dataTransacao, String descricao, int c_BPartner_ID, BigDecimal debito, BigDecimal credito, BigDecimal valorParaConciliar)
      Creates an instance of a ModelLancamentoFinanceiro record class.
      Parameters:
      id - the value for the id record component
      isSelecionado - the value for the isSelecionado record component
      isAtivo - the value for the isAtivo record component
      status - the value for the status record component
      numeroDocumento - the value for the numeroDocumento record component
      dataTransacao - the value for the dataTransacao record component
      descricao - the value for the descricao record component
      c_BPartner_ID - the value for the c_BPartner_ID record component
      debito - the value for the debito record component
      credito - the value for the credito record component
      valorParaConciliar - the value for the valorParaConciliar record component
  • Method Details

    • getValorBruto

      public BigDecimal getValorBruto()
    • selecionarLancamento

      public ControllerConciliacaoOFX.ModelLancamentoFinanceiro selecionarLancamento(boolean isSelecionar)
    • setStatus

    • atualizarValorParaConciliar

      public ControllerConciliacaoOFX.ModelLancamentoFinanceiro atualizarValorParaConciliar(Properties ctx, String trxName)
    • 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.
    • id

      public int id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • isSelecionado

      public boolean isSelecionado()
      Returns the value of the isSelecionado record component.
      Returns:
      the value of the isSelecionado record component
    • isAtivo

      public boolean isAtivo()
      Returns the value of the isAtivo record component.
      Returns:
      the value of the isAtivo record component
    • status

      Returns the value of the status record component.
      Returns:
      the value of the status record component
    • numeroDocumento

      public String numeroDocumento()
      Returns the value of the numeroDocumento record component.
      Returns:
      the value of the numeroDocumento record component
    • dataTransacao

      public Timestamp dataTransacao()
      Returns the value of the dataTransacao record component.
      Returns:
      the value of the dataTransacao record component
    • descricao

      public String descricao()
      Returns the value of the descricao record component.
      Returns:
      the value of the descricao record component
    • c_BPartner_ID

      public int c_BPartner_ID()
      Returns the value of the c_BPartner_ID record component.
      Returns:
      the value of the c_BPartner_ID record component
    • debito

      public BigDecimal debito()
      Returns the value of the debito record component.
      Returns:
      the value of the debito record component
    • credito

      public BigDecimal credito()
      Returns the value of the credito record component.
      Returns:
      the value of the credito record component
    • valorParaConciliar

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