/** * Mad-Advertisement * Copyright (C) 2011 Thorsten Marx <thmarx@gmx.net> * * 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 3 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, see <http://www.gnu.org/licenses/>. */ package net.mad.ads.base.api.model.user.impl; import java.util.Date; import org.omg.CORBA.UserException; import net.mad.ads.base.api.model.BaseModel; import net.mad.ads.base.api.model.user.User; import net.mad.ads.base.api.model.user.UserType; public class AdminUser extends BaseModel implements User { private String username; private String password; private String email; private boolean active; private UserType type; public AdminUser () { } @Override public String getUsername() { return this.username; } @Override public void setUsername(String username) { this.username = username; } @Override public String getPassword() { return this.password; } @Override public void setPassword(String password) { this.password = password; } @Override public String getEmail() { return this.email; } @Override public void setEmail(String email) { this.email = email; } @Override public UserType getType() { return this.type; } @Override public void setType(UserType type) { this.type = type; } @Override public boolean isActive() { return this.active; } @Override public void setActive(boolean active) { this.active = active; } }