public StructureMapImpl()

in sdmx30-infomodel/src/main/java/com/epam/jsdmx/infomodel/sdmx30/StructureMapImpl.java [29:52]


    public StructureMapImpl(StructureMap from) {
        super(Objects.requireNonNull(from));
        if (from.getSource() != null) {
            this.source = new MaintainableArtefactReference(from.getSource());
        }
        if (from.getTarget() != null) {
            this.target = new MaintainableArtefactReference(from.getTarget());
        }
        this.componentMaps = StreamUtils.streamOfNullable(from.getComponentMaps())
            .map(ComponentMapImpl::new)
            .collect(toList());

        this.fixedComponentMaps = StreamUtils.streamOfNullable(from.getFixedComponentMaps())
            .map(FixedValueMapImpl::new)
            .collect(toList());

        this.epochMaps = StreamUtils.streamOfNullable(from.getEpochMaps())
            .map(EpochMapImpl::new)
            .collect(toList());

        this.datePatternMaps = StreamUtils.streamOfNullable(from.getDatePatternMaps())
            .map(DatePatternMapImpl::new)
            .collect(toList());
    }