public VpnBuilder(Vpn base) { if (base.getKey() == null) { this._key = new VpnKey( base.getVrfId() ); this._vrfId = base.getVrfId(); } else { this._key = base.getKey(); this._vrfId = _key.getVrfId(); } this._extraroute = base.getExtraroute(); if (base instanceof VpnImpl) { VpnImpl impl = (VpnImpl) base; if (!impl.augmentation.isEmpty()) { this.augmentation = new HashMap<>(impl.augmentation); } } else if (base instanceof AugmentationHolder) { @SuppressWarnings("unchecked") AugmentationHolder<org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.l3vpn.rev130911.vpn.to.extraroute.Vpn> casted =(AugmentationHolder<org.opendaylight.yang.gen.v1.urn.opendaylight.netvirt.l3vpn.rev130911.vpn.to.extraroute.Vpn>) base; if (!casted.augmentations().isEmpty()) { this.augmentation = new HashMap<>(casted.augmentations()); } } }
return false; if (!Objects.equals(_vrfId, other.getVrfId())) { return false;