Interface SchemaItemConfig

    • Method Detail

      • getAttributeName

        java.lang.String getAttributeName()
        Gets the attributeName attribute of the SchemaItemConfig object
        Returns:
        The attributeName value
      • setAttributeName

        void setAttributeName​(java.lang.String name)
        Sets the attributeName attribute of the SchemaItemConfig object
        Parameters:
        name - The new attributeName value
      • getJavaClass

        java.lang.String getJavaClass()
        Gets the java class used internally for the value
        Returns:
        The java class name
      • setJavaClass

        void setJavaClass​(java.lang.String className)
        Sets the java class name of the SchemaItemConfig object
        Parameters:
        className - The new java class value
      • getExternalSyntax

        java.lang.String getExternalSyntax()
        Gets the externalSyntax attribute of the SchemaItemConfig object
        Returns:
        The externalSyntax value
      • setExternalSyntax

        void setExternalSyntax​(java.lang.String syntax)
        Sets the externalSyntax attribute of the SchemaItemConfig object
        Parameters:
        syntax - The new externalSyntax value
      • getPresenceFlag

        java.lang.String getPresenceFlag()
        Gets the presence flag of the SchemaItemConfig object. The presence flag indicates to the user whether it is required, optional.
        Returns:
        The presence value
      • setPresenceFlag

        void setPresenceFlag​(java.lang.String presence)
        Sets the presence flag of the SchemaItemConfig object
        Parameters:
        presence - The new presence value
      • getSample

        java.lang.Object getSample()
        Returns the sample value
      • setSample

        void setSample​(java.lang.Object sample)
        Sets the sample value
      • isRequired

        boolean isRequired()
        Returns the required setting for this schema item
        Returns:
        true if this item is required
      • getChildSchemaList

        ContainerConfig getChildSchemaList()
        Returns the child schema
        Since:
        7.0
      • getMinOccurrences

        int getMinOccurrences()
        Returns the minimum occurrences for this item.
        Since:
        7.0
      • setMinOccurrences

        void setMinOccurrences​(int min)
        Sets the minimum occurrence for this item.
        Parameters:
        min -
        Since:
        7.0
      • getMaxOccurrences

        int getMaxOccurrences()
        Returns the minimum occurrences for this item.
        Since:
        7.0
      • setMaxOccurrences

        void setMaxOccurrences​(int max)
        Sets the max occurence for this schema item. -1 is unbound.
        Parameters:
        max -
        Since:
        7.0
      • isProperty

        boolean isProperty()
        Returns true if this item is a property (e.g XML Element attribute)
        Since:
        7.0
      • setProperty

        void setProperty​(boolean property)
        Sets the property flag for this item.
        Since:
        7.0
      • isRepeatable

        boolean isRepeatable()
        Returns true if this item is repeatable (e.g. max > 1)
        Since:
        7.0
      • isLeaf

        boolean isLeaf()
        Returns true if this item is a leaf node
        Since:
        7.0