src/core/net/sf/basedb/util/extensions/ExtendedAbout.java

Code
Comments
Other
Rev Date Author Line
6408 31 Jan 14 nicklas 1 /*
6408 31 Jan 14 nicklas 2   $Id: About.java 5607 2011-04-15 07:52:28Z nicklas $
6408 31 Jan 14 nicklas 3
6408 31 Jan 14 nicklas 4   Copyright (C) 2005 Samuel Andersson, Johan Enell
6408 31 Jan 14 nicklas 5   Copyright (C) 2006 Jari Häkkinen
6408 31 Jan 14 nicklas 6
6408 31 Jan 14 nicklas 7   This file is part of BASE - BioArray Software Environment.
6408 31 Jan 14 nicklas 8   Available at http://base.thep.lu.se/
6408 31 Jan 14 nicklas 9
6408 31 Jan 14 nicklas 10   BASE is free software; you can redistribute it and/or
6408 31 Jan 14 nicklas 11   modify it under the terms of the GNU General Public License
6408 31 Jan 14 nicklas 12   as published by the Free Software Foundation; either version 3
6408 31 Jan 14 nicklas 13   of the License, or (at your option) any later version.
6408 31 Jan 14 nicklas 14
6408 31 Jan 14 nicklas 15   BASE is distributed in the hope that it will be useful,
6408 31 Jan 14 nicklas 16   but WITHOUT ANY WARRANTY; without even the implied warranty of
6408 31 Jan 14 nicklas 17   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
6408 31 Jan 14 nicklas 18   GNU General Public License for more details.
6408 31 Jan 14 nicklas 19
6408 31 Jan 14 nicklas 20   You should have received a copy of the GNU General Public License
6408 31 Jan 14 nicklas 21   along with BASE. If not, see <http://www.gnu.org/licenses/>.
6408 31 Jan 14 nicklas 22 */
6408 31 Jan 14 nicklas 23 package net.sf.basedb.util.extensions;
6408 31 Jan 14 nicklas 24
6408 31 Jan 14 nicklas 25 import java.util.Collection;
6408 31 Jan 14 nicklas 26
6408 31 Jan 14 nicklas 27 import net.sf.basedb.core.plugin.About;
6408 31 Jan 14 nicklas 28
6408 31 Jan 14 nicklas 29 /**
6408 31 Jan 14 nicklas 30   Adds extra information to the About interface.
6408 31 Jan 14 nicklas 31
6408 31 Jan 14 nicklas 32   @author Nicklas
6408 31 Jan 14 nicklas 33   @since 3.3
6408 31 Jan 14 nicklas 34 */
6408 31 Jan 14 nicklas 35 public interface ExtendedAbout
6408 31 Jan 14 nicklas 36   extends About
6408 31 Jan 14 nicklas 37 {
6408 31 Jan 14 nicklas 38
6408 31 Jan 14 nicklas 39   /**
6408 31 Jan 14 nicklas 40     Get extra information
6408 31 Jan 14 nicklas 41     @param name The name of the extra information
6408 31 Jan 14 nicklas 42     @return A value or null if no information is present
6408 31 Jan 14 nicklas 43   */
6408 31 Jan 14 nicklas 44   public String getAttribute(String name);
6408 31 Jan 14 nicklas 45   
6408 31 Jan 14 nicklas 46   /**
6408 31 Jan 14 nicklas 47     Get all extra attribute names.
6408 31 Jan 14 nicklas 48     @return A collection which may be null or empty
6408 31 Jan 14 nicklas 49   */
6408 31 Jan 14 nicklas 50   public Collection<String> getAttributeNames();
6408 31 Jan 14 nicklas 51   
6408 31 Jan 14 nicklas 52 }