|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openpermis.RoleDefinition
public final class RoleDefinition
Tuple consisting of a hierarchy and a name that describes a role.
Constructor Summary | |
---|---|
RoleDefinition(String hierarchy,
String name)
Creates a role definition. |
|
RoleDefinition(URI hierarchy,
String name)
Convenience constructor to create a role definition. |
Method Summary | |
---|---|
boolean |
equals(Object object)
|
String |
getHierarchy()
Returns the hierarchy String . |
String |
getName()
Returns the name String . |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RoleDefinition(URI hierarchy, String name)
hierarchy
- the URI of the hierarchy of the role definition, the string representation
of the URI (URI.toString()
) is chosen as hierarchy name, must not be null
.name
- the role name, must not be null
.public RoleDefinition(String hierarchy, String name)
hierarchy
- the hierarchy name, must not be null
.name
- the role name, must not be null
.Method Detail |
---|
public String getName()
String
.
String
.public String getHierarchy()
String
.
String
.public String toString()
toString
in class Object
public boolean equals(Object object)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:16:59
Copyright (c) 2002-2007 Ergon Informatik AG