Interface IXmlConfigurationObject

  • All Known Implementing Classes:
    XmlConfigurationObject

    public interface IXmlConfigurationObject
    Author:
    Jeff Riggle
    • Method Detail

      • name

        String name()
        Returns:
        The name of the Xml Configuration object.
      • name

        void name​(String name)
        Parameters:
        name - The new name for the Xml Configuration object.
      • configurationProperties

        List<ConfigurationProperty> configurationProperties()
        Returns:
        A list of @see ConfigurationProperty associated with this Xml Configuration object.
      • addConfigurationProperties

        void addConfigurationProperties​(List<ConfigurationProperty> properties)
        Parameters:
        properties - List of @see ConfigurationProperty to add to this Xml Configuration object.
      • removeConfigurationProperties

        void removeConfigurationProperties​(List<ConfigurationProperty> properties)
        Parameters:
        properties - List of @see ConfigurationProperty to remove from this Xml Configuration object.
      • clearConfigurationProperties

        void clearConfigurationProperties()
        Remove all @see ConfigurationProperty from this Xml Configuration object.
      • children

        List<PersistXml> children()
        Returns:
        List of @see PersistXml associated with this Xml Configuration object.
      • addChildren

        void addChildren​(List<PersistXml> children)
        Parameters:
        children - List of @see PersistXml to add to this Xml Configuration object.
      • removeChildren

        void removeChildren​(List<PersistXml> children)
        Parameters:
        children - List of @see PersistXml to remove from this Xml Configuration object.
      • clearChildren

        void clearChildren()
        Removes all @see PersistXml children from this Xml Configuration object.
      • value

        <T> T value()
        Returns:
        The value associated with this Xml Configuration object.
      • value

        <T> void value​(T value)
        Parameters:
        value - The new value to associated with this Xml Configuration object.
      • getChildObject

        XmlConfigurationObject getChildObject​(String name)
        Parameters:
        name - The String name associated with the Configuration object.
        Returns:
        The child @see XmlConfigurationObject.
      • getChildValue

        <T> T getChildValue​(String name)
        Parameters:
        name - name The String name associated with the Configuration object.
        Returns:
        name The value associated with the Configuration object.