Class DefinitionBuilderFactory.AbstractNodeDefinitionBuilder<T>

    • Constructor Detail

      • AbstractNodeDefinitionBuilder

        public AbstractNodeDefinitionBuilder()
    • Method Detail

      • setDefaultPrimaryType

        public abstract void setDefaultPrimaryType​(java.lang.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​(java.lang.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