Class ProtocolParameterValidator

    • Field Detail

      • lastProtocolNode

        private Node lastProtocolNode
      • parentItemNode

        private Node parentItemNode
    • Constructor Detail

      • ProtocolParameterValidator

        public ProtocolParameterValidator()
    • Method Detail

      • getMissingItemFix

        protected Fix getMissingItemFix​(DbControl dc,
                                        Node parentNode)
        Description copied from class: BasicNodeValidator
        Subclasses should override this method if they have a suggessted fix for a missing item problem. The default implementation does nothing, but the following template may be usable by most subclasses:
                        new Fix("Add item to parent", parentNode.getItem())
                        
        Specified by:
        getMissingItemFix in class BasicNodeValidator<AnnotationType>
        Returns:
        Always "null"
      • getParentInformation

        private void getParentInformation​(DbControl dc,
                                          Node protocolNode)
        Load parent item information from the current protocol node. We expect: protocolNode -> annotatableNode