org.apache.slide.security
Class NodePermissions

java.lang.Object
  |
  +--org.apache.slide.security.NodePermissions
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class NodePermissions
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

Node permissions class

Version:
$Revision: 1.2 $
Author:
Remy Maucherat
See Also:
Serialized Form

Constructor Summary
NodePermissions()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Equals.
 java.lang.String getUri()
          Uri accessor
 int hashCode()
          Hash Code.
 java.lang.String toString()
          String representation of the permission.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodePermissions

public NodePermissions()
Method Detail

getUri

public java.lang.String getUri()
Uri accessor
Returns:
String uri

hashCode

public int hashCode()
Hash Code.
Overrides:
hashCode in class java.lang.Object
Returns:
int Hash code value

toString

public java.lang.String toString()
String representation of the permission.
Overrides:
toString in class java.lang.Object
Returns:
String String representation

equals

public boolean equals(java.lang.Object obj)
Equals.
Overrides:
equals in class java.lang.Object
Parameters:
obj - Object to test
Returns:
boolean True if the two object are equal :
  • obj is of type SlidePermission and is not null
  • All three Uris are equal