Class QItemDefinitionBuilder

    • Constructor Detail

      • QItemDefinitionBuilder

        public QItemDefinitionBuilder()
    • Method Detail

      • setName

        public void setName​(Name name)
        Parameters:
        name - the name of the child item definition being build
        See Also:
        ItemDefinition.getName()
      • setAutoCreated

        public void setAutoCreated​(boolean autocreate)
        Parameters:
        autocreate - true if building a 'autocreate' child item definition, false otherwise.
        See Also:
        ItemDefinition.isAutoCreated()
      • getAutoCreated

        public boolean getAutoCreated()
        Returns:
        true if building a 'autocreate' child item definition, false otherwise.
        See Also:
        ItemDefinition.isAutoCreated()
      • setOnParentVersion

        public void setOnParentVersion​(int onParent)
        Parameters:
        onParent - the 'onParentVersion' attribute of the child item definition being built
        See Also:
        ItemDefinition.getOnParentVersion()
      • getOnParentVersion

        public int getOnParentVersion()
        Returns:
        the 'onParentVersion' attribute of the child item definition being built
        See Also:
        ItemDefinition.getOnParentVersion()
      • setProtected

        public void setProtected​(boolean isProtected)
        Parameters:
        isProtected - true if building a 'protected' child item definition, false otherwise.
        See Also:
        ItemDefinition.isProtected()
      • getProtected

        public boolean getProtected()
        Returns:
        true if building a 'protected' child item definition, false otherwise.
        See Also:
        ItemDefinition.isProtected()
      • setMandatory

        public void setMandatory​(boolean isMandatory)
        Parameters:
        isMandatory - true if building a 'mandatory' child item definition, false otherwise.
        See Also:
        ItemDefinition.isMandatory()
      • getMandatory

        public boolean getMandatory()
        Returns:
        true if building a 'mandatory' child item definition, false otherwise.
        See Also:
        ItemDefinition.isMandatory()