|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractCollection<E> java.util.AbstractList<E> java.util.ArrayList org.springframework.beans.factory.support.ManagedList
public class ManagedList
Tag collection class used to hold managed List elements, which may include runtime bean references (to be resolved into bean objects).
Field Summary |
---|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
ManagedList()
|
|
ManagedList(int initialCapacity)
|
Method Summary | |
---|---|
Object |
getSource()
Return the configuration source Object for this metadata element
(may be null ). |
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 |
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. |
Methods inherited from class java.util.ArrayList |
---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
Constructor Detail |
---|
public ManagedList()
public ManagedList(int initialCapacity)
Method Detail |
---|
public void setSource(Object source)
Object
for this metadata element.
The exact type of the object will depend on the configuration mechanism used.
public Object getSource()
BeanMetadataElement
Object
for this metadata element
(may be null
).
getSource
in interface BeanMetadataElement
public void setMergeEnabled(boolean mergeEnabled)
public boolean isMergeEnabled()
Mergeable
isMergeEnabled
in interface Mergeable
public Object merge(Object parent)
Mergeable
The supplied object is considered the parent, and values in the callee's value set must override those of the supplied object.
parent
- the object to merge with
|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |