本文整理了Java中org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology.getUnderlayTopology()
方法的一些代码示例,展示了Topology.getUnderlayTopology()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Topology.getUnderlayTopology()
方法的具体详情如下:
包路径:org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology
类名称:Topology
方法名:getUnderlayTopology
[英]Identifies the topology, or topologies, that this topologyis dependent on.
[中]标识此拓扑所依赖的一个或多个拓扑。
代码示例来源:origin: org.opendaylight.mdsal.model/ietf-topology
/**
* @return <code>java.util.List</code> <code>underlayTopology</code>, or an empty list if it is not present
*/
default @NonNull List<UnderlayTopology> nonnullUnderlayTopology() {
return CodeHelpers.nonnull(getUnderlayTopology());
}
代码示例来源:origin: org.opendaylight.mdsal.model/ietf-topology
return false;
if (!Objects.equals(_underlayTopology, other.getUnderlayTopology())) {
return false;
代码示例来源:origin: org.opendaylight.mdsal.model/ietf-topology
public TopologyBuilder(Topology base) {
this.key = base.key();
this._topologyId = base.getTopologyId();
this._link = base.getLink();
this._node = base.getNode();
this._topologyTypes = base.getTopologyTypes();
this._underlayTopology = base.getUnderlayTopology();
this._serverProvided = base.isServerProvided();
if (base instanceof TopologyImpl) {
TopologyImpl impl = (TopologyImpl) base;
if (!impl.augmentation.isEmpty()) {
this.augmentation = new HashMap<>(impl.augmentation);
}
} else if (base instanceof AugmentationHolder) {
@SuppressWarnings("unchecked")
Map<Class<? extends Augmentation<Topology>>, Augmentation<Topology>> aug =((AugmentationHolder<Topology>) base).augmentations();
if (!aug.isEmpty()) {
this.augmentation = new HashMap<>(aug);
}
}
}
代码示例来源:origin: org.opendaylight.yangtools.model/ietf-topology
public TopologyBuilder(Topology base) {
if (base.getKey() == null) {
this._key = new TopologyKey(
base.getTopologyId()
);
this._topologyId = base.getTopologyId();
} else {
this._key = base.getKey();
this._topologyId = _key.getTopologyId();
}
this._link = base.getLink();
this._node = base.getNode();
this._topologyTypes = base.getTopologyTypes();
this._underlayTopology = base.getUnderlayTopology();
this._serverProvided = base.isServerProvided();
if (base instanceof TopologyImpl) {
TopologyImpl impl = (TopologyImpl) 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.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology> casted =(AugmentationHolder<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology>) base;
if (!casted.augmentations().isEmpty()) {
this.augmentation = new HashMap<>(casted.augmentations());
}
}
}
代码示例来源:origin: org.opendaylight.yangtools.model/ietf-topology
if (other.getUnderlayTopology() != null) {
return false;
} else if(!_underlayTopology.equals(other.getUnderlayTopology())) {
return false;
内容来源于网络,如有侵权,请联系作者删除!