in sdmx30-infomodel/src/main/java/com/epam/jsdmx/infomodel/sdmx30/RepresentationMapImpl.java [27:40]
public RepresentationMapImpl(RepresentationMap from) {
super(Objects.requireNonNull(from));
this.source = StreamUtils.streamOfNullable(from.getSource())
.map(sourceItem -> (ValueRepresentation) sourceItem.clone())
.collect(toList());
this.target = StreamUtils.streamOfNullable(from.getTarget())
.map(targetItem -> (ValueRepresentation) targetItem.clone())
.collect(toList());
this.representationMappings = StreamUtils.streamOfNullable(from.getRepresentationMappings())
.map(RepresentationMappingImpl::new)
.collect(toList());
}