Dashboard Builder Security 6.2.0.Beta3

org.jboss.dashboard.users
Class RoleImpl

java.lang.Object
  extended by org.jboss.dashboard.users.RoleImpl
All Implemented Interfaces:
Role

public class RoleImpl
extends Object
implements Role


Field Summary
protected  String description
           
protected  String name
           
 
Fields inherited from interface org.jboss.dashboard.users.Role
ADMIN, ANONYMOUS
 
Constructor Summary
RoleImpl()
           
RoleImpl(String name, String description)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription(Locale locale)
           
 String getName()
           
 int hashCode()
           
 void setDescription(String description)
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

description

protected String description
Constructor Detail

RoleImpl

public RoleImpl()

RoleImpl

public RoleImpl(String name,
                String description)
Method Detail

getName

public String getName()
Specified by:
getName in interface Role

setName

public void setName(String name)

getDescription

public String getDescription(Locale locale)
Specified by:
getDescription in interface Role

setDescription

public void setDescription(String description)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

Dashboard Builder Security 6.2.0.Beta3

Copyright © 2012-2014 JBoss by Red Hat. All Rights Reserved.