src/core/net/sf/basedb/util/overview/validator/ExperimentalFactorValidator.java

Code
Comments
Other
Rev Date Author Line
4764 16 Feb 09 nicklas 1 /**
4764 16 Feb 09 nicklas 2   $Id: ProtocolParameterValidator.java 4749 2009-02-11 08:49:39Z nicklas $
4764 16 Feb 09 nicklas 3
4764 16 Feb 09 nicklas 4   Copyright (C) 2008 Nicklas Nordborg
4764 16 Feb 09 nicklas 5
4764 16 Feb 09 nicklas 6   This file is part of BASE - BioArray Software Environment.
4764 16 Feb 09 nicklas 7   Available at http://base.thep.lu.se/
4764 16 Feb 09 nicklas 8
4764 16 Feb 09 nicklas 9   BASE is free software; you can redistribute it and/or
4764 16 Feb 09 nicklas 10   modify it under the terms of the GNU General Public License
4764 16 Feb 09 nicklas 11   as published by the Free Software Foundation; either version 3
4764 16 Feb 09 nicklas 12   of the License, or (at your option) any later version.
4764 16 Feb 09 nicklas 13
4764 16 Feb 09 nicklas 14   BASE is distributed in the hope that it will be useful,
4764 16 Feb 09 nicklas 15   but WITHOUT ANY WARRANTY; without even the implied warranty of
4764 16 Feb 09 nicklas 16   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
4764 16 Feb 09 nicklas 17   GNU General Public License for more details.
4764 16 Feb 09 nicklas 18
4764 16 Feb 09 nicklas 19   You should have received a copy of the GNU General Public License
4764 16 Feb 09 nicklas 20   along with BASE. If not, see <http://www.gnu.org/licenses/>.
4764 16 Feb 09 nicklas 21 */
4764 16 Feb 09 nicklas 22 package net.sf.basedb.util.overview.validator;
4764 16 Feb 09 nicklas 23
4764 16 Feb 09 nicklas 24 import net.sf.basedb.core.AnnotationType;
5651 08 Jun 11 nicklas 25 import net.sf.basedb.core.DbControl;
4764 16 Feb 09 nicklas 26 import net.sf.basedb.util.overview.Fix;
4764 16 Feb 09 nicklas 27 import net.sf.basedb.util.overview.Node;
4764 16 Feb 09 nicklas 28
4764 16 Feb 09 nicklas 29 /**
4764 16 Feb 09 nicklas 30   Validator implementation for experimental factors. 
4764 16 Feb 09 nicklas 31   Currently, we are only interested in checking for duplicate 
4764 16 Feb 09 nicklas 32   names.
4764 16 Feb 09 nicklas 33   
4764 16 Feb 09 nicklas 34   @author Nicklas
4764 16 Feb 09 nicklas 35   @version 2.10
4764 16 Feb 09 nicklas 36   @base.modified $Date: 2009-02-11 09:49:39 +0100 (on, 11 feb 2009) $
4764 16 Feb 09 nicklas 37 */
4764 16 Feb 09 nicklas 38 public class ExperimentalFactorValidator
4764 16 Feb 09 nicklas 39   extends NameableNodeValidator<AnnotationType>
4764 16 Feb 09 nicklas 40 {
4764 16 Feb 09 nicklas 41   
4764 16 Feb 09 nicklas 42   public ExperimentalFactorValidator()
4764 16 Feb 09 nicklas 43   {
4764 16 Feb 09 nicklas 44     super(null, null);
4764 16 Feb 09 nicklas 45   }
4764 16 Feb 09 nicklas 46
4764 16 Feb 09 nicklas 47   @Override
5651 08 Jun 11 nicklas 48   protected Fix getMissingItemFix(DbControl dc, Node parentNode) 
4764 16 Feb 09 nicklas 49   {
4764 16 Feb 09 nicklas 50     return null;
4764 16 Feb 09 nicklas 51   }
4764 16 Feb 09 nicklas 52 }