y.util
Class GraphCopier.EdgeDataProviderCopyFactory
java.lang.Object
y.util.GraphCopier.GraphDataCopyFactory
y.util.GraphCopier.DataProviderCopyFactory
y.util.GraphCopier.EdgeDataProviderCopyFactory
All Implemented Interfaces: GraphCopier.CopyFactory
Enclosing class: GraphCopier
public static class GraphCopier.EdgeDataProviderCopyFactory extends GraphCopier.DataProviderCopyFactory
Helper class implementation of GraphCopier.CopyFactory that can be used to copy the contents of a
DataProvider registered with the source graph onto the target graph storing the values in newly a created Graph.createEdgeMap() edge map}.
See Also: copy(Object,y.base.Edge,y.base.Edge,Object) Your browser does not support SVG content.
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
GraphCopier.EdgeDataProviderCopyFactory
public GraphCopier.EdgeDataProviderCopyFactory (GraphCopier.CopyFactory delegatingFactory,
Object dpKey)
Creates a new instance using the delegate for the given data provider key.
createMap
protected DataMap createMap (Graph dst)
Description copied from class: GraphCopier.DataProviderCopyFactory
Factory callback to create the backing storage.
Specified by: createMap in class GraphCopier.DataProviderCopyFactory
copyData
protected void copyData (Edge src,
Edge dst)
Description copied from class: GraphCopier.GraphDataCopyFactory
Empty stub to be overwritten by subclass implementations.
Overrides: copyData in class GraphCopier.GraphDataCopyFactory
Parameters: src - the old entitydst - the new entity
copy
protected Object copy (Object dpKey,
Edge src,
Edge dst,
Object value)