Class SchemaItemConfigImpl

    • Constructor Detail

      • SchemaItemConfigImpl

        public SchemaItemConfigImpl()
      • SchemaItemConfigImpl

        public SchemaItemConfigImpl​(java.lang.Object config)
    • Method Detail

      • getAttributeName

        public java.lang.String getAttributeName()
        Gets the attributeName attribute of the SchemaItemConfig object
        Specified by:
        getAttributeName in interface SchemaItemConfig
        Returns:
        The name of the attribute item
      • setAttributeName

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

        public java.lang.String getJavaClass()
        Gets the java class used internally for the value
        Specified by:
        getJavaClass in interface SchemaItemConfig
        Returns:
        The java class name
      • setJavaClass

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

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

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

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

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

        public java.lang.Object getSample()
        Returns the sample value
        Specified by:
        getSample in interface SchemaItemConfig
      • setSample

        public void setSample​(java.lang.Object sample)
        Sets the sample value
        Specified by:
        setSample in interface SchemaItemConfig
      • getClone

        public java.lang.Object getClone()
                                  throws java.lang.Exception
        Return self clone
        Specified by:
        getClone in interface BaseConfiguration
        Overrides:
        getClone in class BaseConfigurationImpl
        Returns:
        a cloned version of this object.
        Throws:
        java.lang.Exception
      • detachFromParent

        public boolean detachFromParent()
        Description copied from class: BaseConfigurationImpl
        This method removes this objects from its parent container. If this cannot be removed from the parent the contents should be cleared (default implementation) and true be returned as if it were removed. If the object cannot be cleared or removed it should return false.
        Specified by:
        detachFromParent in interface BaseConfiguration
        Overrides:
        detachFromParent in class BaseConfigurationImpl
        Returns:
        true if this object was removed; false if it could not be removed.
      • isRequired

        public boolean isRequired()
        Description copied from interface: SchemaItemConfig
        Returns the required setting for this schema item
        Specified by:
        isRequired in interface SchemaItemConfig
        Returns:
        true if this item is required
      • isProperty

        public boolean isProperty()
        Description copied from interface: SchemaItemConfig
        Returns true if this item is a property (e.g XML Element attribute)
        Specified by:
        isProperty in interface SchemaItemConfig