/*
* (C) Copyright 2006 Nabh Information Systems, Inc.
*
* All copyright notices regarding Nabh's products MUST remain
* intact in the scripts and in the outputted HTML.
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2.1
* 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 Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser 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 com.nabhinc.condition;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlTransient;
/**
*
*
* @author Padmanabh Dabke
* (c) 2006 Nabh Information Systems, Inc. All Rights Reserved.
*/
public abstract class RolesCondition extends BaseCondition {
@XmlElement(name="role", nillable=false)
protected String[] roles = null;
public RolesCondition() {
super();
}
public RolesCondition(String[] roles) {
this.roles = roles;
}
@XmlTransient
public String[] getRoles() {
return roles;
}
public void setRoles(String[] users) {
this.roles = users;
}
}
|