Record Class ControllerConciliacaoOFX.ModelLancamentoOFX
java.lang.Object
java.lang.Record
org.brerp.bancosbrasileiros.apps.form.ControllerConciliacaoOFX.ModelLancamentoOFX
- Enclosing class:
- ControllerConciliacaoOFX
public static record ControllerConciliacaoOFX.ModelLancamentoOFX(int id, boolean isSelecionado, boolean isAtivo, ControllerConciliacaoOFX.StatusLancamento status, String numeroDocumento, Timestamp dataTransacao, String descricao, BigDecimal debito, BigDecimal credito, BigDecimal valorParaConciliar)
extends Record
-
Constructor Summary
ConstructorDescriptionModelLancamentoOFX
(int id, boolean isSelecionado, boolean isAtivo, ControllerConciliacaoOFX.StatusLancamento status, String numeroDocumento, Timestamp dataTransacao, String descricao, BigDecimal debito, BigDecimal credito, BigDecimal valorParaConciliar) Creates an instance of aModelLancamentoOFX
record class. -
Method Summary
Modifier and TypeMethodDescriptioncredito()
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
-
ModelLancamentoOFX
public ModelLancamentoOFX(int id, boolean isSelecionado, boolean isAtivo, ControllerConciliacaoOFX.StatusLancamento status, String numeroDocumento, Timestamp dataTransacao, String descricao, BigDecimal debito, BigDecimal credito, BigDecimal valorParaConciliar) Creates an instance of aModelLancamentoOFX
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 componentdebito
- the value for thedebito
record componentcredito
- the value for thecredito
record componentvalorParaConciliar
- the value for thevalorParaConciliar
record component
-
-
Method Details
-
getValorBruto
-
selecionarLancamento
-
setStatus
public ControllerConciliacaoOFX.ModelLancamentoOFX setStatus(ControllerConciliacaoOFX.StatusLancamento status) -
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
-
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
-