BeanIO 2.0.4

org.beanio.internal.util
Interface Replicateable

All Superinterfaces:
Cloneable
All Known Implementing Classes:
Aggregation, ArrayParser, Bean, CollectionBean, CollectionParser, Component, ComponentConfig, Constant, ConstantConfig, DelegatingParser, Field, FieldConfig, Group, GroupConfig, JsonWrapper, MapParser, ParserComponent, PropertyComponent, PropertyConfig, Record, RecordAggregation, RecordArray, RecordCollection, RecordConfig, RecordMap, Segment, SegmentConfig, SimplePropertyConfig, StreamConfig, TreeNode, XmlSelectorWrapper, XmlWrapper

public interface Replicateable
extends Cloneable

Graph nodes that use a Replicator for cloning itself must implement this interface.

Since:
2.0
Author:
Kevin Seim
See Also:
Replicator

Method Summary
 Object clone()
          Clones this node.
 void updateReferences(Map<Object,Object> map)
          Updates a node's references to other nodes.
 

Method Detail

updateReferences

void updateReferences(Map<Object,Object> map)
Updates a node's references to other nodes.

Parameters:
map - the (identity) map of clones by prior object reference

clone

Object clone()
Clones this node.

Returns:
the clone

BeanIO 2.0.4

Copyright © 2010-2013 Kevin Seim