001: /*
002: * Created on 24/10/2004
003: *
004: * Swing Components - visit http://sf.net/projects/gfd
005: *
006: * Copyright (C) 2004 Igor Regis da Silva Simões
007: *
008: * This program is free software; you can redistribute it and/or
009: * modify it under the terms of the GNU General Public License
010: * as published by the Free Software Foundation; either version 2
011: * of the License, or (at your option) any later version.
012: *
013: * This program is distributed in the hope that it will be useful,
014: * but WITHOUT ANY WARRANTY; without even the implied warranty of
015: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
016: * GNU General Public License for more details.
017: *
018: * You should have received a copy of the GNU General Public License
019: * along with this program; if not, write to the Free Software
020: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
021: *
022: */
023: package br.com.igor.security;
024:
025: import java.sql.SQLException;
026:
027: /**
028: * @author Igor Regis da Silva Simoes
029: */
030: public class AcessoDoUsuario extends BasicAccessDataObject {
031: private Integer persistentIdAcesso = null;
032:
033: private Integer persistentIdUsuario = null;
034:
035: private Boolean persistentTemAcesso = null;
036:
037: /**
038: *
039: */
040: public AcessoDoUsuario() {
041: super ();
042: }
043:
044: /**
045: * @param persistentIdAcesso
046: * @param persistentIdUsuario
047: */
048: public AcessoDoUsuario(Integer persistentIdAcesso,
049: Integer persistentIdUsuario) {
050: super ();
051: this .persistentIdAcesso = persistentIdAcesso;
052: this .persistentIdUsuario = persistentIdUsuario;
053: }
054:
055: /**
056: * @see br.com.igor.db.PersistentObject#validate()
057: */
058: public void validate() throws SQLException {
059: // TODO Auto-generated method stub
060:
061: }
062:
063: /**
064: * @see br.com.igor.db.PersistentObject#getAsString(int)
065: */
066: public String getAsString(int format) {
067: // TODO Auto-generated method stub
068: return null;
069: }
070:
071: /**
072: * @return Returns the persistentIdAcesso.
073: */
074: public Integer getIdAcesso() {
075: return persistentIdAcesso;
076: }
077:
078: /**
079: * @param persistentIdAcesso The persistentIdAcesso to set.
080: */
081: public void setIdAcesso(Integer persistentIdAcesso) {
082: this .persistentIdAcesso = persistentIdAcesso;
083: }
084:
085: /**
086: * @return Returns the persistentIdUsuario.
087: */
088: public Integer getIdUsuario() {
089: return persistentIdUsuario;
090: }
091:
092: /**
093: * @param persistentIdUsuario The persistentIdUsuario to set.
094: */
095: public void setIdUsuario(Integer persistentIdUsuario) {
096: this .persistentIdUsuario = persistentIdUsuario;
097: }
098:
099: /**
100: * @return Returns the persistentTemAcesso.
101: */
102: public Boolean getTemAcesso() {
103: return persistentTemAcesso;
104: }
105:
106: /**
107: * @param persistentTemAcesso The persistentTemAcesso to set.
108: */
109: public void setTemAcesso(Boolean persistentTemAcesso) {
110: this.persistentTemAcesso = persistentTemAcesso;
111: }
112: }
|