public class DistributedEntityConverter
extends java.lang.Object
Constructor and Description |
---|
DistributedEntityConverter(Peer peer)
Distributed Entity converter
|
Modifier and Type | Method and Description |
---|---|
<T extends IEntity> |
enrichWithPeerUID(java.util.List<T> list)
Enrich list with peer UID
|
<T extends IEntity> |
enrichWithPeerUID(T entity)
Enrich element with peer UID
|
public DistributedEntityConverter(Peer peer)
peer
- Peerpublic <T extends IEntity> java.util.List<T> enrichWithPeerUID(java.util.List<T> list)
T
- IEntity extended entitylist
- List of entities with peer UIDpublic <T extends IEntity> T enrichWithPeerUID(T entity)
T
- IEntity extended entityentity
- Entity to enrich