org.mentawai.authorization
Class Permission

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

public class Permission
extends java.lang.Object
implements java.io.Serializable

Author:
Sergio Oliveira
See Also:
Serialized Form

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

Constructor Detail

Permission

public Permission(java.lang.String name)

Permission

public Permission(int id,
                  java.lang.String name)
Method Detail

getName

public java.lang.String getName()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getId

public int getId()

setId

public void setId(int id)

setName

public void setName(java.lang.String name)


Copyright © 2005 Mentawai Team. All Rights Reserved.