com.bstek.dorado.data.entity
public class EntitySet<E> extends EntityCollection<E> implements java.util.Set<E>
Set
型返回结果的代理。Constructor and Description |
---|
EntitySet(java.util.Set<E> target,
AggregationDataType dataType) |
Modifier and Type | Method and Description |
---|---|
protected void |
replaceAllElementWithProxyIfNecessary(java.util.Collection<? extends E> collection)
判断集合中的每一个对象是否需要动态代理,如果需要将该集合元素替换为新创建的动态代理。
|
add, addAll, clear, contains, containsAll, equals, getDataType, getElementType, getTarget, hashCode, isEmpty, iterator, proxyElementIfNecessary, remove, removeAll, replaceAllElementIfNecessary, retainAll, setDataType, size, toArray, toArray
public EntitySet(java.util.Set<E> target, AggregationDataType dataType) throws java.lang.Exception
target
- 被代理的Set
对象dataType
- 相应的数据类型java.lang.Exception
protected void replaceAllElementWithProxyIfNecessary(java.util.Collection<? extends E> collection)
EntityCollection
replaceAllElementWithProxyIfNecessary
in class EntityCollection<E>
Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.