Ola, pessoal, como eu faço uma classe negocial que possua INNER JOIN ?
Exemplo de classe negocial(se é esse mesmo o nome):import java.awt.List;
public class Usuario{
private int id;
private String nome;
private String login;
private String senha;
private String confirm;
private int perfil;
private String perfilName;
private int situacao;
// id
/**
* @return the id
*/
public int getId() {
return id;
}
/**
* @param id the id to set
*/
public void setId(int id) {
this.id = id;
}
// nome
/**
* @return the nome
*/
public String getNome() {
return nome;
}
/**
* @param nome the nome to set
*/
public void setNome(String nome) {
this.nome = nome;
}
// login
/**
* @return the login
*/
public String getLogin() {
return login;
}
/**
* @param login the login to set
*/
public void setLogin(String login) {
this.login = login;
}
// senha
/**
* @return the senha
*/
public String getSenha() {
return senha;
}
/**
* @param senha the senha to set
*/
public void setSenha(String senha) {
this.senha = senha;
}
// confirm
/**
* @return the confirm
*/
public String getConfirm() {
return confirm;
}
/**
* @param confirm the confirm to set
*/
public void setConfirm(String confirm) {
this.confirm = confirm;
}
// perfil
/**
* @return the perfil
*/
public int getPerfil() {
return perfil;
}
/**
* @param perfil the perfil to set
*/
public void setPerfil(int perfil) {
this.perfil = perfil;
}
/**
* @return the situacao
*/
public int getSituacao() {
return situacao;
}
/**
* @param situacao the situacao to set
*/
public void setSituacao(int situacao) {
this.situacao = situacao;
}
/**
* @return the perfilName
*/
public String getPerfilName() {
return perfilName;
}
/**
* @param perfilName the perfilName to set
*/
public void setPerfilName(String perfilName) {
this.perfilName = perfilName;
}
}