Record Class BiConfiguracaoView
java.lang.Object
java.lang.Record
br.com.vantroba.bi.transporte.configuracao.BiConfiguracaoView
- Record Components:
id- chave da configuraçãovalor- valor atualtipo- tipo do valordescricao- descriçãosistema- se é configuração de sistema (não editável livremente)atualizadoEm- última atualização
public record BiConfiguracaoView(String id, String valor, String tipo, String descricao, boolean sistema, OffsetDateTime atualizadoEm)
extends Record
View-model de configuração para a tela
admin/configuracoes — projeção dos campos que o
template exibe. Existe para a entidade BiConfiguracao (@MappedEntity) não cruzar o
controller até o template (mesma fronteira da API; padrão de views da casa).-
Constructor Summary
ConstructorsConstructorDescriptionBiConfiguracaoView(String id, String valor, String tipo, String descricao, boolean sistema, OffsetDateTime atualizadoEm) Creates an instance of aBiConfiguracaoViewrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theatualizadoEmrecord 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.id()Returns the value of theidrecord component.booleansistema()Returns the value of thesistemarecord component.tipo()Returns the value of thetiporecord component.final StringtoString()Returns a string representation of this record class.valor()Returns the value of thevalorrecord component.
-
Constructor Details
-
BiConfiguracaoView
public BiConfiguracaoView(String id, String valor, String tipo, String descricao, boolean sistema, OffsetDateTime atualizadoEm) Creates an instance of aBiConfiguracaoViewrecord class.- Parameters:
id- the value for theidrecord componentvalor- the value for thevalorrecord componenttipo- the value for thetiporecord componentdescricao- the value for thedescricaorecord componentsistema- the value for thesistemarecord componentatualizadoEm- the value for theatualizadoEmrecord component
-
-
Method Details
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
id
-
valor
-
tipo
-
descricao
-
sistema
-
atualizadoEm
Returns the value of theatualizadoEmrecord component.- Returns:
- the value of the
atualizadoEmrecord component
-