本文整理汇总了Java中org.opendaylight.controller.md.cluster.datastore.model.CompositeModel类的典型用法代码示例。如果您正苦于以下问题:Java CompositeModel类的具体用法?Java CompositeModel怎么用?Java CompositeModel使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
CompositeModel类属于org.opendaylight.controller.md.cluster.datastore.model包,在下文中一共展示了CompositeModel类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getCreatedData
import org.opendaylight.controller.md.cluster.datastore.model.CompositeModel; //导入依赖的package包/类
@Override
public Map<YangInstanceIdentifier, NormalizedNode<?, ?>> getCreatedData() {
createdData.put(YangInstanceIdentifier.EMPTY, CompositeModel.createDocumentOne(
CompositeModel.createTestContext()));
return createdData;
}
示例2: getUpdatedData
import org.opendaylight.controller.md.cluster.datastore.model.CompositeModel; //导入依赖的package包/类
@Override
public Map<YangInstanceIdentifier, NormalizedNode<?, ?>> getUpdatedData() {
updatedData.put(YangInstanceIdentifier.EMPTY, CompositeModel.createTestContainer());
return updatedData;
}
示例3: getRemovedPaths
import org.opendaylight.controller.md.cluster.datastore.model.CompositeModel; //导入依赖的package包/类
@Override
public Set<YangInstanceIdentifier> getRemovedPaths() {
Set<YangInstanceIdentifier> ids = new HashSet<>();
ids.add(CompositeModel.TEST_PATH);
return ids;
}
示例4: getOriginalData
import org.opendaylight.controller.md.cluster.datastore.model.CompositeModel; //导入依赖的package包/类
@Override
public Map<YangInstanceIdentifier, NormalizedNode<?, ?>> getOriginalData() {
originalData.put(YangInstanceIdentifier.EMPTY, CompositeModel.createFamily());
return originalData;
}
示例5: getOriginalSubtree
import org.opendaylight.controller.md.cluster.datastore.model.CompositeModel; //导入依赖的package包/类
@Override public NormalizedNode<?, ?> getOriginalSubtree() {
return CompositeModel.createFamily() ;
}
示例6: getUpdatedSubtree
import org.opendaylight.controller.md.cluster.datastore.model.CompositeModel; //导入依赖的package包/类
@Override public NormalizedNode<?, ?> getUpdatedSubtree() {
return CompositeModel.createTestContainer();
}