deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.tools.security
Class SecDBCleaner.Role

java.lang.Object
  extended by org.deegree.tools.security.SecDBCleaner.Role
Enclosing class:
SecDBCleaner

static class SecDBCleaner.Role
extends java.lang.Object


Field Summary
(package private)  int id
           
(package private)  java.lang.String name
           
(package private)  java.util.HashSet<SecDBCleaner.Privilege> privileges
           
(package private)  java.util.HashSet<SecDBCleaner.Right> rights
           
(package private)  java.lang.String title
           
 
Constructor Summary
SecDBCleaner.Role()
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
          Implementation as proposed by Joshua Block in Effective Java (Addison-Wesley 2001), which supplies an even distribution and is relatively fast.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

id

int id

name

java.lang.String name

title

java.lang.String title

privileges

java.util.HashSet<SecDBCleaner.Privilege> privileges

rights

java.util.HashSet<SecDBCleaner.Right> rights
Constructor Detail

SecDBCleaner.Role

SecDBCleaner.Role()
Method Detail

equals

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

hashCode

public int hashCode()
Implementation as proposed by Joshua Block in Effective Java (Addison-Wesley 2001), which supplies an even distribution and is relatively fast. It is created from field f as follows:

Combining the hash code(s) computed above: result = 37 * result + code;

Overrides:
hashCode in class java.lang.Object
Returns:
(int) ( result >>> 32 ) ^ (int) result;
See Also:
Object.hashCode()

toString

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

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org