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, toArraypublic EntitySet(java.util.Set<E> target, AggregationDataType dataType) throws java.lang.Exception
target - 被代理的Set对象dataType - 相应的数据类型java.lang.Exceptionprotected void replaceAllElementWithProxyIfNecessary(java.util.Collection<? extends E> collection)
EntityCollectionreplaceAllElementWithProxyIfNecessary in class EntityCollection<E>Copyright © 2001-2011 www.BSTEK.com All Rights Reserved.