public class ManagedList<E> extends ArrayList<E> implements Mergeable, BeanMetadataElement
modCount| 构造器和说明 |
|---|
ManagedList() |
ManagedList(int initialCapacity) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getElementTypeName()
Return the default element type name (class name) to be used for this list.
|
Object |
getSource()
获取源对象,可能返回null
Return the configuration source
Object for this metadata element
(may be null). |
boolean |
isMergeEnabled()
Is merging enabled for this particular instance?
|
List<E> |
merge(Object parent)
Merge the current value set with that of the supplied object.
|
void |
setElementTypeName(String elementTypeName)
Set the default element type name (class name) to be used for this list.
|
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. |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringcontainsAll, equals, hashCodeparallelStream, streampublic void setSource(@Nullable
Object source)
Object for this metadata element.
The exact type of the object will depend on the configuration mechanism used.
@Nullable public Object getSource()
BeanMetadataElementObject for this metadata element
(may be null).getSource 在接口中 BeanMetadataElementpublic void setElementTypeName(String elementTypeName)
@Nullable public String getElementTypeName()
public void setMergeEnabled(boolean mergeEnabled)
public boolean isMergeEnabled()
MergeableisMergeEnabled 在接口中 Mergeable