com.antiaction.raptor.dao.SecurityRule Maven / Gradle / Ivy
/*
* Created on 30/03/2010
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package com.antiaction.raptor.dao;
public class SecurityRule {
public int id = -1;
public int chain_id = -1;
public int chain_level = -1;
public Integer permission_type_id = null;
public Boolean grant_permission = null;
public Integer on_type_id = null;
public Integer on_id = null;
public static SecurityRule getInstance(int chain_id, int chain_level, int permission_type_id, boolean grant_permission, int on_type_id, int on_id) {
SecurityRule g = new SecurityRule();
g.chain_id = chain_id;
g.chain_level = chain_level;
g.permission_type_id = permission_type_id;
g.grant_permission = grant_permission;
g.on_type_id = on_type_id;
g.on_id = on_id;
return g;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy