Class Overview
Tag collection class used to hold managed Map values, which may
include runtime bean references (to be resolved into bean objects).
Summary
Public Methods |
String
|
getKeyTypeName()
Return the default key type name (class name) to be used for this map.
|
Object
|
getSource()
Return the configuration source Object for this metadata element
(may be null ).
|
String
|
getValueTypeName()
Return the default value type name (class name) to be used for this map.
|
boolean
|
isMergeEnabled()
Is merging enabled for this particular instance?
|
Object
|
merge(Object parent)
Merge the current value set with that of the supplied object.
|
void
|
setKeyTypeName(String keyTypeName)
Set the default key type name (class name) to be used for this map.
|
void
|
setMergeEnabled(boolean mergeEnabled)
Set whether merging should be enabled for this collection,
in case of a 'parent' collection value being present.
|
void
|
setSource(Object source)
Set the configuration source Object for this metadata element.
|
void
|
setValueTypeName(String valueTypeName)
Set the default value type name (class name) to be used for this map.
|
[Expand]
Inherited Methods |
From class
java.util.LinkedHashMap
void
|
clear()
|
boolean
|
containsValue(Object arg0)
|
V
|
get(Object arg0)
|
boolean
|
removeEldestEntry(Entry<K, V> arg0)
|
|
From class
java.util.HashMap
void
|
clear()
|
Object
|
clone()
|
boolean
|
containsKey(Object arg0)
|
boolean
|
containsValue(Object arg0)
|
Set<Entry<K, V>>
|
entrySet()
|
V
|
get(Object arg0)
|
boolean
|
isEmpty()
|
Set<K>
|
keySet()
|
V
|
put(K arg0, V arg1)
|
void
|
putAll(Map<? extends K, ? extends V> arg0)
|
V
|
remove(Object arg0)
|
int
|
size()
|
Collection<V>
|
values()
|
|
From class
java.util.AbstractMap
void
|
clear()
|
Object
|
clone()
|
boolean
|
containsKey(Object arg0)
|
boolean
|
containsValue(Object arg0)
|
abstract
Set<Entry<K, V>>
|
entrySet()
|
boolean
|
equals(Object arg0)
|
V
|
get(Object arg0)
|
int
|
hashCode()
|
boolean
|
isEmpty()
|
Set<K>
|
keySet()
|
V
|
put(K arg0, V arg1)
|
void
|
putAll(Map<? extends K, ? extends V> arg0)
|
V
|
remove(Object arg0)
|
int
|
size()
|
String
|
toString()
|
Collection<V>
|
values()
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
java.util.Map
abstract
void
|
clear()
|
abstract
boolean
|
containsKey(Object arg0)
|
abstract
boolean
|
containsValue(Object arg0)
|
abstract
Set<Entry<K, V>>
|
entrySet()
|
abstract
boolean
|
equals(Object arg0)
|
abstract
V
|
get(Object arg0)
|
abstract
int
|
hashCode()
|
abstract
boolean
|
isEmpty()
|
abstract
Set<K>
|
keySet()
|
abstract
V
|
put(K arg0, V arg1)
|
abstract
void
|
putAll(Map<? extends K, ? extends V> arg0)
|
abstract
V
|
remove(Object arg0)
|
abstract
int
|
size()
|
abstract
Collection<V>
|
values()
|
|
From interface
org.springframework.beans.BeanMetadataElement
|
From interface
org.springframework.beans.Mergeable
abstract
boolean
|
isMergeEnabled()
Is merging enabled for this particular instance?
|
abstract
Object
|
merge(Object parent)
Merge the current value set with that of the supplied object.
|
|
Public Constructors
public
ManagedMap
(int initialCapacity)
Public Methods
public
String
getKeyTypeName
()
Return the default key type name (class name) to be used for this map.
public
Object
getSource
()
Return the configuration source Object
for this metadata element
(may be null
).
public
String
getValueTypeName
()
Return the default value type name (class name) to be used for this map.
public
boolean
isMergeEnabled
()
Is merging enabled for this particular instance?
Merge the current value set with that of the supplied object.
The supplied object is considered the parent, and values in
the callee's value set must override those of the supplied object.
Parameters
parent
| the object to merge with |
Returns
- the result of the merge operation
public
void
setKeyTypeName
(String keyTypeName)
Set the default key type name (class name) to be used for this map.
public
void
setMergeEnabled
(boolean mergeEnabled)
Set whether merging should be enabled for this collection,
in case of a 'parent' collection value being present.
public
void
setSource
(Object source)
Set the configuration source Object
for this metadata element.
The exact type of the object will depend on the configuration mechanism used.
public
void
setValueTypeName
(String valueTypeName)
Set the default value type name (class name) to be used for this map.