@Override public YangInstanceIdentifier getRootPath() { return treeConfig.getRootPath(); }
@Override public YangInstanceIdentifier getRootPath() { return treeConfig.getRootPath(); }
private static DataTree create(final DataTreeConfiguration treeConfig, final SchemaContext initialSchemaContext, final boolean maskMandatory) { final DataSchemaNode rootSchemaNode = getRootSchemaNode(initialSchemaContext, treeConfig.getRootPath()); final NormalizedNode<?, ?> rootDataNode = createRoot((DataNodeContainer)rootSchemaNode, treeConfig.getRootPath()); return new InMemoryDataTree(TreeNodeFactory.createTreeNode(rootDataNode, Version.initial()), treeConfig, initialSchemaContext, rootSchemaNode, maskMandatory); }
private static DataTree create(final DataTreeConfiguration treeConfig, final SchemaContext initialSchemaContext, final boolean maskMandatory) { final DataSchemaNode rootSchemaNode = getRootSchemaNode(initialSchemaContext, treeConfig.getRootPath()); final NormalizedNode<?, ?> rootDataNode = createRoot((DataNodeContainer)rootSchemaNode, treeConfig.getRootPath()); return new InMemoryDataTree(TreeNodeFactory.createTreeNode(rootDataNode, Version.initial()), treeConfig, initialSchemaContext, rootSchemaNode, maskMandatory); }
@Override public DataTree create(final DataTreeConfiguration treeConfig) { return new InMemoryDataTree(TreeNodeFactory.createTreeNode(createRoot(treeConfig.getRootPath()), Version.initial()), treeConfig, null); }
@Override public DataTree create(final DataTreeConfiguration treeConfig) { return new InMemoryDataTree(TreeNodeFactory.createTreeNode(createRoot(treeConfig.getRootPath()), Version.initial()), treeConfig, null); }
public Builder copyBuilder() { return new Builder(treeType) .setMandatoryNodesValidation(isMandatoryNodesValidationEnabled()) .setUniqueIndexes(isUniqueIndexEnabled()) .setRootPath(getRootPath()); }
public Builder copyBuilder() { return new Builder(treeType) .setMandatoryNodesValidation(isMandatoryNodesValidationEnabled()) .setUniqueIndexes(isUniqueIndexEnabled()) .setRootPath(getRootPath()); }