|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.util.JBossObject
org.jboss.beans.metadata.plugins.AbstractValueMetaData
org.jboss.beans.metadata.plugins.AbstractTypeMetaData
org.jboss.beans.metadata.plugins.AbstractMapMetaData
Map metadata.
| Nested Class Summary |
| Nested classes inherited from class java.util.Map |
Map.Entry |
| Field Summary | |
protected String |
keyType
The key type |
protected String |
valueType
The value type |
| Fields inherited from class org.jboss.beans.metadata.plugins.AbstractTypeMetaData |
configurator, type |
| Fields inherited from class org.jboss.beans.metadata.plugins.AbstractValueMetaData |
value |
| Fields inherited from class org.jboss.util.JBossObject |
hashCode, log, toString |
| Constructor Summary | |
AbstractMapMetaData()
Create a new map value |
|
| Method Summary | |
void |
clear()
|
boolean |
containsKey(Object key)
|
boolean |
containsValue(Object value)
|
Set |
entrySet()
|
Object |
get(Object key)
|
Iterator |
getChildren()
Return the child nodes |
protected Object |
getDefaultMapInstance()
Create the default map instance |
protected org.jboss.reflect.spi.ClassInfo |
getKeyClassInfo()
Get the class info for the key type todo FIXME classloader |
String |
getKeyType()
Get the key type |
protected Object |
getMapInstance(org.jboss.reflect.spi.TypeInfo info,
Class expected)
Create the map instance |
Object |
getValue(org.jboss.reflect.spi.TypeInfo info)
Get the value. |
protected org.jboss.reflect.spi.ClassInfo |
getValueClassInfo()
Get the class info for the value type todo FIXME classloader |
String |
getValueType()
Get the value type |
boolean |
isEmpty()
|
Set |
keySet()
|
Object |
put(Object key,
Object value)
|
void |
putAll(Map t)
|
Object |
remove(Object key)
|
void |
setKeyType(String keyType)
Set the key type |
void |
setValueType(String valueType)
Set the value type |
int |
size()
|
void |
toString(org.jboss.util.JBossStringBuilder buffer)
|
Collection |
values()
|
| Methods inherited from class org.jboss.beans.metadata.plugins.AbstractTypeMetaData |
getClassInfo, getType, setConfigurator, setType, visit |
| Methods inherited from class org.jboss.beans.metadata.plugins.AbstractValueMetaData |
getUnderlyingValue, getValue, setValue, toShortString |
| Methods inherited from class org.jboss.util.JBossObject |
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toString, toStringImplementation |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
equals, hashCode |
| Methods inherited from interface org.jboss.util.JBossInterface |
clone, toShortString |
| Field Detail |
protected String keyType
protected String valueType
| Constructor Detail |
public AbstractMapMetaData()
| Method Detail |
public String getKeyType()
public void setKeyType(String keyType)
keyType - the key typepublic String getValueType()
public void setValueType(String valueType)
valueType - the value type
public Object getValue(org.jboss.reflect.spi.TypeInfo info)
throws Throwable
ValueMetaData
getValue in interface ValueMetaDatagetValue in class AbstractValueMetaDataThrowablepublic void clear()
clear in interface Mappublic boolean containsKey(Object key)
containsKey in interface Mappublic boolean containsValue(Object value)
containsValue in interface Mappublic Set entrySet()
entrySet in interface Mappublic Object get(Object key)
get in interface Mappublic boolean isEmpty()
isEmpty in interface Mappublic Set keySet()
keySet in interface Map
public Object put(Object key,
Object value)
put in interface Mappublic void putAll(Map t)
putAll in interface Mappublic Object remove(Object key)
remove in interface Mappublic int size()
size in interface Mappublic Collection values()
values in interface Mappublic Iterator getChildren()
MetaDataVisitorNode
getChildren in interface MetaDataVisitorNodegetChildren in class AbstractValueMetaDatapublic void toString(org.jboss.util.JBossStringBuilder buffer)
toString in class AbstractTypeMetaData
protected Object getDefaultMapInstance()
throws Throwable
Throwable - for any error
protected Object getMapInstance(org.jboss.reflect.spi.TypeInfo info,
Class expected)
throws Throwable
info - the request typeexpected - the expected class
Throwable - for any error
protected org.jboss.reflect.spi.ClassInfo getKeyClassInfo()
throws Throwable
Throwable - for any error
protected org.jboss.reflect.spi.ClassInfo getValueClassInfo()
throws Throwable
Throwable - for any error
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||