@XmlElementWrapper(name="schemas") @XmlElement(name="schema") public Collection<MonitoringSchema> getSchemas() { return Collections2.transform(schemas.getSchema(), new Function<Schema, MonitoringSchema>() { @Nullable @Override public MonitoringSchema apply(@Nullable final Schema input) { return new MonitoringSchema(input); } }); }
if (!Objects.equals(_schema, other.getSchema())) { return false; if (!e.getValue().equals(other.getAugmentation(e.getKey()))) { return false;
if (other.getSchema() != null) { return false; } else if(!_schema.equals(other.getSchema())) { return false; if (!e.getValue().equals(other.getAugmentation(e.getKey()))) { return false;
public SchemasBuilder(Schemas base) { this._schema = base.getSchema(); if (base instanceof SchemasImpl) { SchemasImpl impl = (SchemasImpl) 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.ietf.params.xml.ns.yang.ietf.netconf.monitoring.rev101004.netconf.state.Schemas> casted =(AugmentationHolder<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.monitoring.rev101004.netconf.state.Schemas>) base; if (!casted.augmentations().isEmpty()) { this.augmentation = new HashMap<>(casted.augmentations()); } } }
public SchemasBuilder(Schemas base) { this._schema = base.getSchema(); if (base instanceof SchemasImpl) { SchemasImpl impl = (SchemasImpl) 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.ietf.params.xml.ns.yang.ietf.netconf.monitoring.rev101004.netconf.state.Schemas> casted =(AugmentationHolder<org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.netconf.monitoring.rev101004.netconf.state.Schemas>) base; if (!casted.augmentations().isEmpty()) { this.augmentation = new HashMap<>(casted.augmentations()); } } }
for (final Schema schema : monitor.getSchemas().getSchema()) { keyValues.put(identifier, schema.getIdentifier()); keyValues.put(version, schema.getVersion());