|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openpermis.editor.policy.configuration.TypeKey
public final class TypeKey
Creates a key for a type in a given scope.
For instance a type key can be used to create an object that uniquely identify an editor or a presenter for a domain object. In either case the type is the same, but the scope is different.
Constructor Summary | |
---|---|
TypeKey(Class<?> scope,
Class<?> type)
Creates a new type key for the specified scope and type. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
int |
hashCode()
|
String |
toString()
|
static TypeKey |
typekey(Class<?> scope,
Class<?> type)
Creates a type key for the specified scope and type. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TypeKey(Class<?> scope, Class<?> type)
scope
- the scope for which to create the key.type
- the type for which to create a key.Method Detail |
---|
public static final TypeKey typekey(Class<?> scope, Class<?> type)
Convenience method for static imports.
scope
- the scope for which to create the key.type
- the type for which to create a key.public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
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:17:21
Copyright (c) 2002-2007 Ergon Informatik AG