本文整理匯總了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();
}