if (!Objects.equals(_condition, other.getCondition())) { 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()); } } }
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;
Daily condition = null; for (Conditions c : conditions) { if (c.getCondition() instanceof Daily) { condition = (Daily) c.getCondition();