Class DefinitionBuilderFactory.AbstractNodeDefinitionBuilder<T>

    • Field Detail

      • allowSns

        protected boolean allowSns
    • Constructor Detail

      • AbstractNodeDefinitionBuilder

        public AbstractNodeDefinitionBuilder()
    • Method Detail

      • setDefaultPrimaryType

        public abstract void setDefaultPrimaryType​(String name)
                                            throws RepositoryException
        Parameters:
        name - the name of the default primary type of the node definition being built.
        Throws:
        RepositoryException
      • addRequiredPrimaryType

        public abstract void addRequiredPrimaryType​(String name)
                                             throws RepositoryException
        Parameters:
        name - add a required primary type to the list of names of the required primary types of the node definition being built.
        Throws:
        RepositoryException
      • setAllowsSameNameSiblings

        public void setAllowsSameNameSiblings​(boolean allowSns)
                                       throws RepositoryException
        Parameters:
        allowSns - true if building a node definition with same name siblings, false otherwise.
        Throws:
        RepositoryException