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
ConstructorsConstructorDescriptionModelLancamentoOFX(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 aModelLancamentoOFXrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncredito()Returns the value of thecreditorecord component.Returns the value of thedataTransacaorecord component.debito()Returns the value of thedebitorecord component.Returns the value of thedescricaorecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intid()Returns the value of theidrecord component.booleanisAtivo()Returns the value of theisAtivorecord component.booleanReturns the value of theisSelecionadorecord component.Returns the value of thenumeroDocumentorecord component.selecionarLancamento(boolean isSelecionar) status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevalorParaConciliarrecord 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 aModelLancamentoOFXrecord class.- Parameters:
id- the value for theidrecord componentisSelecionado- the value for theisSelecionadorecord componentisAtivo- the value for theisAtivorecord componentstatus- the value for thestatusrecord componentnumeroDocumento- the value for thenumeroDocumentorecord componentdataTransacao- the value for thedataTransacaorecord componentdescricao- the value for thedescricaorecord componentdebito- the value for thedebitorecord componentcredito- the value for thecreditorecord componentvalorParaConciliar- the value for thevalorParaConciliarrecord 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 theidrecord component.- Returns:
- the value of the
idrecord component
-
isSelecionado
public boolean isSelecionado()Returns the value of theisSelecionadorecord component.- Returns:
- the value of the
isSelecionadorecord component
-
isAtivo
public boolean isAtivo()Returns the value of theisAtivorecord component.- Returns:
- the value of the
isAtivorecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
numeroDocumento
Returns the value of thenumeroDocumentorecord component.- Returns:
- the value of the
numeroDocumentorecord component
-
dataTransacao
Returns the value of thedataTransacaorecord component.- Returns:
- the value of the
dataTransacaorecord component
-
descricao
Returns the value of thedescricaorecord component.- Returns:
- the value of the
descricaorecord component
-
debito
Returns the value of thedebitorecord component.- Returns:
- the value of the
debitorecord component
-
credito
Returns the value of thecreditorecord component.- Returns:
- the value of the
creditorecord component
-
valorParaConciliar
Returns the value of thevalorParaConciliarrecord component.- Returns:
- the value of the
valorParaConciliarrecord component
-