Package systextil.bo.inte.gra.dto
Record Class GraMonitoramentoFiltro
java.lang.Object
java.lang.Record
systextil.bo.inte.gra.dto.GraMonitoramentoFiltro
- Record Components:
empresa- empresa da fila (INTE_002)tipo- "pedidos", "notas" ou outro (todos)documento- numero do pedido ou da nota, ou um trecho da chave de acessofornecedor- CNPJ/CPF (inteiro ou o comeco, com ou sem mascara) ou parte do nomesituacao- codigos da situacao pela fila (GraDAO.SITUACAO), separados por virgula; vazio: todosdataInicio- inicio do periodo (yyyy-MM-dd): incluido ou modificado no intervalodataFim- fim do periodo (yyyy-MM-dd)ordenacao- chave da coluna da grid; padrao: "Modificado em"direcao- ASC ou DESC; padrao: DESCoffset- linhas ja carregadas pela telalimite- linhas desta pagina
public record GraMonitoramentoFiltro(int empresa, String tipo, String documento, String fornecedor, String situacao, String dataInicio, String dataFim, String ordenacao, String direcao, int offset, int limite)
extends Record
Filtros, ordem e pagina da aba Pedidos / Notas fiscais, como chegam da tela (PendenteAnalise, 9.6). Valor vazio ou
nulo nao filtra; texto desconhecido em tipo, ordenacao ou direcao cai no padrao (o SQL nunca recebe o texto da tela).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondataFim()Returns the value of thedataFimrecord component.Returns the value of thedataIniciorecord component.direcao()Returns the value of thedirecaorecord component.Returns the value of thedocumentorecord component.intempresa()Returns the value of theempresarecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefornecedorrecord component.final inthashCode()Returns a hash code value for this object.intlimite()Returns the value of thelimiterecord component.intoffset()Returns the value of theoffsetrecord component.Returns the value of theordenacaorecord component.situacao()Returns the value of thesituacaorecord component.tipo()Returns the value of thetiporecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GraMonitoramentoFiltro
public GraMonitoramentoFiltro(int empresa, String tipo, String documento, String fornecedor, String situacao, String dataInicio, String dataFim, String ordenacao, String direcao, int offset, int limite) Creates an instance of aGraMonitoramentoFiltrorecord class.- Parameters:
empresa- the value for theempresarecord componenttipo- the value for thetiporecord componentdocumento- the value for thedocumentorecord componentfornecedor- the value for thefornecedorrecord componentsituacao- the value for thesituacaorecord componentdataInicio- the value for thedataIniciorecord componentdataFim- the value for thedataFimrecord componentordenacao- the value for theordenacaorecord componentdirecao- the value for thedirecaorecord componentoffset- the value for theoffsetrecord componentlimite- the value for thelimiterecord component
-
-
Method Details
-
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 '=='. -
empresa
public int empresa()Returns the value of theempresarecord component.- Returns:
- the value of the
empresarecord component
-
tipo
Returns the value of thetiporecord component.- Returns:
- the value of the
tiporecord component
-
documento
Returns the value of thedocumentorecord component.- Returns:
- the value of the
documentorecord component
-
fornecedor
Returns the value of thefornecedorrecord component.- Returns:
- the value of the
fornecedorrecord component
-
situacao
Returns the value of thesituacaorecord component.- Returns:
- the value of the
situacaorecord component
-
dataInicio
Returns the value of thedataIniciorecord component.- Returns:
- the value of the
dataIniciorecord component
-
dataFim
Returns the value of thedataFimrecord component.- Returns:
- the value of the
dataFimrecord component
-
ordenacao
Returns the value of theordenacaorecord component.- Returns:
- the value of the
ordenacaorecord component
-
direcao
Returns the value of thedirecaorecord component.- Returns:
- the value of the
direcaorecord component
-
offset
public int offset()Returns the value of theoffsetrecord component.- Returns:
- the value of the
offsetrecord component
-
limite
public int limite()Returns the value of thelimiterecord component.- Returns:
- the value of the
limiterecord component
-