|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pf.util.MapWrapper
org.pf.osf.ExtendedMap
public class ExtendedMap
Provides map wrapper that additionally implements the interface AttributeReadWriteAccess to enable OSF generif search functionality on the inner (wrapped) map.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
java.util.Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
ExtendedMap()
Initialize the new instance with default values. |
|
ExtendedMap(java.util.Map map)
Initialize the new instance with an inner map. |
|
| Method Summary | |
|---|---|
java.lang.String[] |
getAttributeNames()
Returns the names of all attributes that can be accessed by the method getAttributeValue(). |
java.lang.Object |
getAttributeValue(java.lang.String name)
Returns the current value of the attribute with the given name. |
void |
setAttributeValue(java.lang.String name,
java.lang.Object value)
Sets the current value of the attribute with the given name. |
| Methods inherited from class org.pf.util.MapWrapper |
|---|
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public ExtendedMap()
public ExtendedMap(java.util.Map map)
map - The map this map wrapper is based on| Method Detail |
|---|
public void setAttributeValue(java.lang.String name,
java.lang.Object value)
throws java.lang.NoSuchFieldException
AttributeReadWriteAccess
setAttributeValue in interface AttributeReadWriteAccessname - The attribute's name ( case sensitive )value - The value to be put into the attributes 'slot'
java.lang.NoSuchFieldException - If there is no attribute with the given nameAttributeReadWriteAccess.setAttributeValue(java.lang.String, java.lang.Object)public java.lang.String[] getAttributeNames()
AttributeReadAccess
getAttributeNames in interface AttributeReadAccessAttributeReadAccess.getAttributeNames()
public java.lang.Object getAttributeValue(java.lang.String name)
throws java.lang.NoSuchFieldException
AttributeReadAccess
getAttributeValue in interface AttributeReadAccessname - The attribute's name ( case sensitive )
java.lang.NoSuchFieldException - If there is no attribute with the given nameAttributeReadAccess.getAttributeValue(java.lang.String)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||