{
if (content.isRestrictChildren() != null) {
if (!node.isNodeType(NodesTypes.PREFIX + ContentDao.NAME)) {
this.addContentMixin(node);
}
Value restrictChildrenValue = valueFactory.createValue(content.isRestrictChildren().booleanValue());
node.setProperty(NodesTypes.PREFIX + RESTRICT_CHILDREN_PROPERTY, restrictChildrenValue);
}
}
}