All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nosi.webapps.igrp.pages.pesquisanif.PesquisaNIF Maven / Gradle / Ivy

Go to download

IGRP Framework is a powerful and highly customizable platform developed by the Operational Nucleus for the Information Society (NOSi) to create web applications, it provides out of box, several modules to make easy to create stand-alone, production-grade web applications: authentication and access-control, business processes automation, reporting, page builder with automatic code generation and incorporation of the Once-Only-Principle, written in Java. IGRP Framework WAR - Contains some keys resources that give UI to IGRP Framework and others supports files.

There is a newer version: 2.0.0.241121-RCM
Show newest version
package nosi.webapps.igrp.pages.pesquisanif;

import java.util.ArrayList;
import java.util.List;

import nosi.core.gui.components.IGRPTable;
import nosi.core.webapp.Model;
import nosi.core.webapp.RParam;
import nosi.core.webapp.databse.helpers.BaseQueryInterface;

public class PesquisaNIF extends Model{		
	@RParam(rParamName = "p_sectionheader_1_text")
	private String sectionheader_1_text;
	@RParam(rParamName = "p_nif")
	private int nif;
	@RParam(rParamName = "p_nome")
	private String nome;
	@RParam(rParamName = "p_n_documento")
	private int n_documento;
	@RParam(rParamName = "p_tipo_contribuinte")
	private String tipo_contribuinte;
	
	private List table_1 = new ArrayList<>();	
	public void setTable_1(List table_1){
		this.table_1 = table_1;
	}
	public List getTable_1(){
		return this.table_1;
	}
	@RParam(rParamName = "p_table_1_id")
	private String[] p_table_1_id;
	@RParam(rParamName = "p_table_1_del")
	private String[] p_table_1_del;
	
	public void setP_table_1_id(String[] p_table_1_id){
		this.p_table_1_id = p_table_1_id;
	}
	public String[] getP_table_1_id(){
		return this.p_table_1_id;
	}
	
	public void setP_table_1_del(String[] p_table_1_del){
		this.p_table_1_del = p_table_1_del;
	}
	public String[] getP_table_1_del(){
		return this.p_table_1_del;
	}
	
	public void setSectionheader_1_text(String sectionheader_1_text){
		this.sectionheader_1_text = sectionheader_1_text;
	}
	public String getSectionheader_1_text(){
		return this.sectionheader_1_text;
	}
	
	public void setNif(int nif){
		this.nif = nif;
	}
	public int getNif(){
		return this.nif;
	}
	
	public void setNome(String nome){
		this.nome = nome;
	}
	public String getNome(){
		return this.nome;
	}
	
	public void setN_documento(int n_documento){
		this.n_documento = n_documento;
	}
	public int getN_documento(){
		return this.n_documento;
	}
	
	public void setTipo_contribuinte(String tipo_contribuinte){
		this.tipo_contribuinte = tipo_contribuinte;
	}
	public String getTipo_contribuinte(){
		return this.tipo_contribuinte;
	}


	public static class Table_1 extends IGRPTable.Table{
		private String nif_tabela;
		private String nome_tabela;
		private String desig_social;
		private String data_nascimento;
		private String nome_pai;
		private String nome_mae;
		private String documento;
		public void setNif_tabela(String nif_tabela){
			this.nif_tabela = nif_tabela;
		}
		public String getNif_tabela(){
			return this.nif_tabela;
		}

		public void setNome_tabela(String nome_tabela){
			this.nome_tabela = nome_tabela;
		}
		public String getNome_tabela(){
			return this.nome_tabela;
		}

		public void setDesig_social(String desig_social){
			this.desig_social = desig_social;
		}
		public String getDesig_social(){
			return this.desig_social;
		}

		public void setData_nascimento(String data_nascimento){
			this.data_nascimento = data_nascimento;
		}
		public String getData_nascimento(){
			return this.data_nascimento;
		}

		public void setNome_pai(String nome_pai){
			this.nome_pai = nome_pai;
		}
		public String getNome_pai(){
			return this.nome_pai;
		}

		public void setNome_mae(String nome_mae){
			this.nome_mae = nome_mae;
		}
		public String getNome_mae(){
			return this.nome_mae;
		}

		public void setDocumento(String documento){
			this.documento = documento;
		}
		public String getDocumento(){
			return this.documento;
		}

	}

	public void loadTable_1(BaseQueryInterface query) {
		this.setTable_1(this.loadTable(query,Table_1.class));
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy