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 Summary
ConstructorDescriptionModelLancamentoFinanceiro
(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 aModelLancamentoFinanceiro
record class. -
Method Summary
Modifier and TypeMethodDescriptionatualizarValorParaConciliar
(Properties ctx, String trxName) int
Returns the value of thec_BPartner_ID
record component.credito()
Returns the value of thecredito
record component.Returns the value of thedataTransacao
record component.debito()
Returns the value of thedebito
record component.Returns the value of thedescricao
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.int
id()
Returns the value of theid
record component.boolean
isAtivo()
Returns the value of theisAtivo
record component.boolean
Returns the value of theisSelecionado
record component.Returns the value of thenumeroDocumento
record component.selecionarLancamento
(boolean isSelecionar) status()
Returns the value of thestatus
record component.final String
toString()
Returns a string representation of this record class.Returns the value of thevalorParaConciliar
record component.
-
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 aModelLancamentoFinanceiro
record class.- Parameters:
id
- the value for theid
record componentisSelecionado
- the value for theisSelecionado
record componentisAtivo
- the value for theisAtivo
record componentstatus
- the value for thestatus
record componentnumeroDocumento
- the value for thenumeroDocumento
record componentdataTransacao
- the value for thedataTransacao
record componentdescricao
- the value for thedescricao
record componentc_BPartner_ID
- the value for thec_BPartner_ID
record componentdebito
- the value for thedebito
record componentcredito
- the value for thecredito
record componentvalorParaConciliar
- the value for thevalorParaConciliar
record component
-
-
Method Details
-
getValorBruto
-
selecionarLancamento
public ControllerConciliacaoOFX.ModelLancamentoFinanceiro selecionarLancamento(boolean isSelecionar) -
setStatus
public ControllerConciliacaoOFX.ModelLancamentoFinanceiro setStatus(ControllerConciliacaoOFX.StatusLancamento status) -
atualizarValorParaConciliar
public ControllerConciliacaoOFX.ModelLancamentoFinanceiro atualizarValorParaConciliar(Properties ctx, String trxName) -
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 '=='. -
id
public int id()Returns the value of theid
record component.- Returns:
- the value of the
id
record component
-
isSelecionado
public boolean isSelecionado()Returns the value of theisSelecionado
record component.- Returns:
- the value of the
isSelecionado
record component
-
isAtivo
public boolean isAtivo()Returns the value of theisAtivo
record component.- Returns:
- the value of the
isAtivo
record component
-
status
Returns the value of thestatus
record component.- Returns:
- the value of the
status
record component
-
numeroDocumento
Returns the value of thenumeroDocumento
record component.- Returns:
- the value of the
numeroDocumento
record component
-
dataTransacao
Returns the value of thedataTransacao
record component.- Returns:
- the value of the
dataTransacao
record component
-
descricao
Returns the value of thedescricao
record component.- Returns:
- the value of the
descricao
record component
-
c_BPartner_ID
public int c_BPartner_ID()Returns the value of thec_BPartner_ID
record component.- Returns:
- the value of the
c_BPartner_ID
record component
-
debito
Returns the value of thedebito
record component.- Returns:
- the value of the
debito
record component
-
credito
Returns the value of thecredito
record component.- Returns:
- the value of the
credito
record component
-
valorParaConciliar
Returns the value of thevalorParaConciliar
record component.- Returns:
- the value of the
valorParaConciliar
record component
-