if (!Objects.equals(_condition, other.getCondition())) { return false; if (!Objects.equals(_key, other.getKey())) { return false; if (!Objects.equals(_order, other.getOrder())) { return false; if (!e.getValue().equals(other.getAugmentation(e.getKey()))) { return false;
public ConditionsBuilder(Conditions base) { if (base.getKey() == null) { this._key = new ConditionsKey( base.getOrder() ); this._order = base.getOrder(); } else { this._key = base.getKey(); this._order = _key.getOrder(); } this._condition = base.getCondition(); if (base instanceof ConditionsImpl) { ConditionsImpl impl = (ConditionsImpl) 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.intent.rev150122.intent.Conditions> casted =(AugmentationHolder<org.opendaylight.yang.gen.v1.urn.opendaylight.intent.rev150122.intent.Conditions>) base; if (!casted.augmentations().isEmpty()) { this.augmentation = new HashMap<>(casted.augmentations()); } } }
Daily condition = null; for (Conditions c : conditions) { if (c.getCondition() instanceof Daily) { condition = (Daily) c.getCondition();
public ConditionsBuilder(Conditions base) { if (base.getKey() == null) { this._key = new ConditionsKey( base.getOrder() ); this._order = base.getOrder(); } else { this._key = base.getKey(); this._order = _key.getOrder(); } this._condition = base.getCondition(); if (base instanceof ConditionsImpl) { ConditionsImpl impl = (ConditionsImpl) 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.intent.rev150122.intent.Conditions> casted =(AugmentationHolder<org.opendaylight.yang.gen.v1.urn.opendaylight.intent.rev150122.intent.Conditions>) base; if (!casted.augmentations().isEmpty()) { this.augmentation = new HashMap<>(casted.augmentations()); } } }
if (other.getCondition() != null) { return false; } else if(!_condition.equals(other.getCondition())) { return false; if (other.getKey() != null) { return false; } else if(!_key.equals(other.getKey())) { return false; if (other.getOrder() != null) { return false; } else if(!_order.equals(other.getOrder())) { return false; if (!e.getValue().equals(other.getAugmentation(e.getKey()))) { return false;