edu.uoc.pfc.j2ee.jalonsod.mtp.config
Class Role
java.lang.Object
edu.uoc.pfc.j2ee.jalonsod.mtp.config.Role
- All Implemented Interfaces:
- java.io.Serializable
public class Role
- extends java.lang.Object
- implements java.io.Serializable
File: Role.java
Created: 2012-04-22
Role element from configuration
A session must have granted one of the model assigned roles to access it.
- Author:
- José Alonso de Motta
- See Also:
- Serialized Form
Constructor Summary |
Role(java.lang.String name,
boolean defaultRole)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
name
private java.lang.String name
defaultRole
private boolean defaultRole
Role
public Role(java.lang.String name,
boolean defaultRole)
throws ConfiguratorException
- Throws:
ConfiguratorException
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getDefaultRole
public boolean getDefaultRole()
setDefaultRole
public void setDefaultRole(boolean defaultRole)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object