6408 |
31 Jan 14 |
nicklas |
1 |
/* |
6408 |
31 Jan 14 |
nicklas |
$Id: About.java 5607 2011-04-15 07:52:28Z nicklas $ |
6408 |
31 Jan 14 |
nicklas |
3 |
|
6408 |
31 Jan 14 |
nicklas |
Copyright (C) 2005 Samuel Andersson, Johan Enell |
6408 |
31 Jan 14 |
nicklas |
Copyright (C) 2006 Jari Häkkinen |
6408 |
31 Jan 14 |
nicklas |
6 |
|
6408 |
31 Jan 14 |
nicklas |
This file is part of BASE - BioArray Software Environment. |
6408 |
31 Jan 14 |
nicklas |
Available at http://base.thep.lu.se/ |
6408 |
31 Jan 14 |
nicklas |
9 |
|
6408 |
31 Jan 14 |
nicklas |
BASE is free software; you can redistribute it and/or |
6408 |
31 Jan 14 |
nicklas |
modify it under the terms of the GNU General Public License |
6408 |
31 Jan 14 |
nicklas |
as published by the Free Software Foundation; either version 3 |
6408 |
31 Jan 14 |
nicklas |
of the License, or (at your option) any later version. |
6408 |
31 Jan 14 |
nicklas |
14 |
|
6408 |
31 Jan 14 |
nicklas |
BASE is distributed in the hope that it will be useful, |
6408 |
31 Jan 14 |
nicklas |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
6408 |
31 Jan 14 |
nicklas |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
6408 |
31 Jan 14 |
nicklas |
GNU General Public License for more details. |
6408 |
31 Jan 14 |
nicklas |
19 |
|
6408 |
31 Jan 14 |
nicklas |
You should have received a copy of the GNU General Public License |
6408 |
31 Jan 14 |
nicklas |
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 |
Adds extra information to the About interface. |
6408 |
31 Jan 14 |
nicklas |
31 |
|
6408 |
31 Jan 14 |
nicklas |
@author Nicklas |
6408 |
31 Jan 14 |
nicklas |
@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 |
Get extra information |
6408 |
31 Jan 14 |
nicklas |
@param name The name of the extra information |
6408 |
31 Jan 14 |
nicklas |
@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 |
Get all extra attribute names. |
6408 |
31 Jan 14 |
nicklas |
@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 |
} |