Package systextil.bo.inte.gra.dto
Record Class GraReferenciaFiltro
java.lang.Object
java.lang.Record
systextil.bo.inte.gra.dto.GraReferenciaFiltro
- Record Components:
fornecedor- CNPJ/CPF (inteiro ou o comeco, com ou sem mascara) ou parte do nomereferencia- comeco da referencia do fornecedorproduto- SKU vinculado no formato nivel.grupo.subgrupo.item; cada parte e opcionalstatus- codigos do status_integracao (StatusFila), separados por virgula ("1,2,8,9" = nao enviadas); vazio: todosmotivo- codigo da categoria de erro (CategoriaErroReferenciaEnum)dataInicio- inicio do periodo (yyyy-MM-dd): incluida ou modificada 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 GraReferenciaFiltro(String fornecedor, String referencia, String produto, String status, String motivo, String dataInicio, String dataFim, String ordenacao, String direcao, int offset, int limite)
extends Record
Filtros, ordem e pagina da aba Referencia Cruzada, como chegam da tela. Valor vazio ou nulo nao filtra; texto
desconhecido em motivo, 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.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.motivo()Returns the value of themotivorecord component.intoffset()Returns the value of theoffsetrecord component.Returns the value of theordenacaorecord component.produto()Returns the value of theprodutorecord component.Returns the value of thereferenciarecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GraReferenciaFiltro
public GraReferenciaFiltro(String fornecedor, String referencia, String produto, String status, String motivo, String dataInicio, String dataFim, String ordenacao, String direcao, int offset, int limite) Creates an instance of aGraReferenciaFiltrorecord class.- Parameters:
fornecedor- the value for thefornecedorrecord componentreferencia- the value for thereferenciarecord componentproduto- the value for theprodutorecord componentstatus- the value for thestatusrecord componentmotivo- the value for themotivorecord 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 '=='. -
fornecedor
Returns the value of thefornecedorrecord component.- Returns:
- the value of the
fornecedorrecord component
-
referencia
Returns the value of thereferenciarecord component.- Returns:
- the value of the
referenciarecord component
-
produto
Returns the value of theprodutorecord component.- Returns:
- the value of the
produtorecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
motivo
Returns the value of themotivorecord component.- Returns:
- the value of the
motivorecord 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
-