/*
* Created on 14/10/2004
*
* Swing Components - visit http://sf.net/projects/gfd
*
* Copyright (C) 2004 Igor Regis da Silva Simes
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/
package br.com.gfpshare.security;
import java.sql.SQLException;
import br.com.gfpshare.db.Column;
import br.com.gfpshare.db.Table;
/**
* @author Igor Regis da Silva Simoes
*/
@Table(name="Acesso")
public class Acesso extends BasicAccessDataObject
{
@Column(isPk = false, nome = "Nome", readMethodName = "getNome", writeMethodName = "setNome")
private String nome = null;
@Column(isPk = false, nome = "SuperTipo", readMethodName = "getSuperTipo", writeMethodName = "setSuperTipo")
private Integer superTipo = null;
/**
* Cria um novo acesso
*/
public Acesso()
{
//
}
/**
* Cria um novo acesso com o dado nome
* @param nome Nome do acesso
*/
public Acesso(String nome)
{
setNome(nome);
}
/**
* @see br.com.gfpshare.db.PersistentObject#validate()
*/
public void validate() throws SQLException
{
// TODO Auto-generated method stub
}
/**
* @see br.com.gfpshare.db.PersistentObject#getAsString(int)
*/
public String getAsString(int format)
{
// TODO Auto-generated method stub
return null;
}
/**
* @return Returns the persistentNome.
*/
public String getNome()
{
return nome;
}
/**
* @param persistentNome The persistentNome to set.
*/
public void setNome(String persistentNome)
{
this.nome = persistentNome;
}
/**
* @return Returns the persistentSuperTipo.
*/
public Integer getSuperTipo()
{
return superTipo;
}
/**
* @param persistentSuperTipo The persistentSuperTipo to set.
*/
public void setSuperTipo(Integer persistentSuperTipo)
{
this.superTipo = persistentSuperTipo;
}
}
|