Class Specification

  • All Implemented Interfaces:
    IHierarchyParent

    public class Specification
    extends Configuration
    This class represents a specification, which is a generalized hierarchy of nodes that can be interpreted by an appropriate connector in an appropriate way.
    • Constructor Detail

      • Specification

        public Specification()
        Constructor.
    • Method Detail

      • createNew

        protected Configuration createNew()
        Create a new object of the appropriate class.
        Overrides:
        createNew in class Configuration
        Returns:
        the newly-created configuration object.
      • createNewNode

        protected ConfigurationNode createNewNode​(java.lang.String type)
        Create a new child node of the appropriate type and class.
        Overrides:
        createNewNode in class Configuration
        Returns:
        the newly-created node.
      • getChild

        public SpecificationNode getChild​(int index)
        Get child n.
        Parameters:
        index - is the child number.
        Returns:
        the child node.
      • duplicate

        public Specification duplicate​(boolean readOnly)
        Duplicate.
        Returns:
        an exact duplicate