org.mentawai.authorization
Class Permission

java.lang.Object
  extended by org.mentawai.authorization.Permission
All Implemented Interfaces:
Serializable

public class Permission
extends Object
implements Serializable

Author:
Sergio Oliveira
See Also:
Serialized Form

Constructor Summary
Permission(int id, String name)
           
Permission(String name)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getId()
           
 String getName()
           
 int hashCode()
           
 void setId(int id)
           
 void setName(String name)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Permission

public Permission(String name)

Permission

public Permission(int id,
                  String name)
Method Detail

getName

public String getName()

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

getId

public int getId()

setId

public void setId(int id)

setName

public void setName(String name)


Copyright © 2013. All Rights Reserved.