eu.emi.dsr.security
Class Role

java.lang.Object
  extended by eu.emi.dsr.security.Role
All Implemented Interfaces:
Serializable

public class Role
extends Object
implements Serializable

A Role defines the rights a Client has

Author:
schuller
See Also:
Serialized Form

Constructor Summary
Role()
           
Role(String n, String d)
           
 
Method Summary
 String getDescription()
           
 String getName()
           
 void setDescription(String description)
           
 void setName(String name)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Role

public Role()

Role

public Role(String n,
            String d)
Method Detail

getName

public String getName()

toString

public String toString()
Overrides:
toString in class Object

getDescription

public String getDescription()
Returns:
Returns the description.

setDescription

public void setDescription(String description)
Parameters:
description - The description to set.

setName

public void setName(String name)
Parameters:
name - The name to set.


Copyright © 2012. All Rights Reserved.