|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openpermis.editor.policy.configuration.ClassSettings
public class ClassSettings
Key/value pair settings for several classes.
Constructor Summary | |
---|---|
ClassSettings()
Creates an empty new class settings object. |
Method Summary | |
---|---|
Object |
get(Object type,
String key)
Returns the value for the specified type and key. |
protected Map<String,Object> |
getClassSettingsMap(Object type,
boolean create)
Returns the class based settings map. |
void |
put(Object type,
String key,
Object value)
Sets the value for a type and key combination. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassSettings()
Method Detail |
---|
protected Map<String,Object> getClassSettingsMap(Object type, boolean create)
type
- the class to retrieve the map for.create
- true
to insert a map for inexistent types.
null
.public Object get(Object type, String key)
type
- the class for which to retrieve the value of key.key
- the key for which to retrieve the value.
null
if undefined.public void put(Object type, String key, Object value)
type
- the type for which to set the key/value pair.key
- the key to store.value
- the value to store.
|
![]() |
||||||||
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