Errai 3.0.1-SNAPSHOT

org.jboss.errai.security.shared.api
Class RoleImpl

java.lang.Object
  extended by org.jboss.errai.security.shared.api.RoleImpl
All Implemented Interfaces:
Serializable, Role

@Portable
public class RoleImpl
extends Object
implements Role

Role represents the role a user belongs to. Also commonly known as a "group."

Author:
edewit@redhat.com
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.jboss.errai.security.shared.api.Role
NOBODY
 
Constructor Summary
RoleImpl(String name)
           
 
Method Summary
 boolean equals(Object o)
           
 String getName()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RoleImpl

public RoleImpl(String name)
Method Detail

getName

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

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.