public class RoleModulePrivilege extends AbstractModulePrivilege
限定符和类型 | 字段和说明 |
---|---|
protected long |
roleid |
authorized, moduleid, view
构造器和说明 |
---|
RoleModulePrivilege() |
RoleModulePrivilege(long moduleid,
long view,
long authorized) |
RoleModulePrivilege(long roleid,
long moduleid,
long view,
long authorized) |
限定符和类型 | 方法和说明 |
---|---|
protected boolean |
equals4NoPersistence(java.lang.Object obj)
这个方法其实表示是否有某个或某几个值有唯一约束
|
boolean |
equals4Properties(java.lang.Object obj)
属性是否相同
|
long |
getRoleId() |
protected int |
hashCode4Properties() |
void |
setRoleId(long roleId) |
JSONObject |
toJSONObject() |
getAuthorized, getModuleid, getView, setAuthorized, setModuleid, setView
public RoleModulePrivilege()
public RoleModulePrivilege(long moduleid, long view, long authorized)
public RoleModulePrivilege(long roleid, long moduleid, long view, long authorized)
public long getRoleId()
public void setRoleId(long roleId)
public boolean equals4Properties(java.lang.Object obj)
DAOBean
equals4Properties
在类中 AbstractModulePrivilege
obj
- 指定的对象public JSONObject toJSONObject()
toJSONObject
在类中 AbstractModulePrivilege
protected int hashCode4Properties()
protected boolean equals4NoPersistence(java.lang.Object obj)
DAOBean
equals4NoPersistence
在类中 AbstractModulePrivilege