5713 |
02 Sep 11 |
nicklas |
1 |
/** |
5713 |
02 Sep 11 |
nicklas |
$Id$ |
5713 |
02 Sep 11 |
nicklas |
3 |
|
5713 |
02 Sep 11 |
nicklas |
Copyright (C) 2011 Nicklas Nordborg |
5713 |
02 Sep 11 |
nicklas |
5 |
|
5713 |
02 Sep 11 |
nicklas |
This file is part of BASE - BioArray Software Environment. |
5713 |
02 Sep 11 |
nicklas |
Available at http://base.thep.lu.se/ |
5713 |
02 Sep 11 |
nicklas |
8 |
|
5713 |
02 Sep 11 |
nicklas |
BASE is free software; you can redistribute it and/or |
5713 |
02 Sep 11 |
nicklas |
modify it under the terms of the GNU General Public License |
5713 |
02 Sep 11 |
nicklas |
as published by the Free Software Foundation; either version 3 |
5713 |
02 Sep 11 |
nicklas |
of the License, or (at your option) any later version. |
5713 |
02 Sep 11 |
nicklas |
13 |
|
5713 |
02 Sep 11 |
nicklas |
BASE is distributed in the hope that it will be useful, |
5713 |
02 Sep 11 |
nicklas |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
5713 |
02 Sep 11 |
nicklas |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
5713 |
02 Sep 11 |
nicklas |
GNU General Public License for more details. |
5713 |
02 Sep 11 |
nicklas |
18 |
|
5713 |
02 Sep 11 |
nicklas |
You should have received a copy of the GNU General Public License |
5713 |
02 Sep 11 |
nicklas |
along with BASE. If not, see <http://www.gnu.org/licenses/>. |
5713 |
02 Sep 11 |
nicklas |
21 |
*/ |
5713 |
02 Sep 11 |
nicklas |
22 |
package net.sf.basedb.core; |
5713 |
02 Sep 11 |
nicklas |
23 |
|
5713 |
02 Sep 11 |
nicklas |
24 |
/** |
5713 |
02 Sep 11 |
nicklas |
Utility interface for collecting information about |
5713 |
02 Sep 11 |
nicklas |
data file requirements when used on a certain platform/variant |
5713 |
02 Sep 11 |
nicklas |
or item subtype. |
5713 |
02 Sep 11 |
nicklas |
28 |
|
5713 |
02 Sep 11 |
nicklas |
@author nicklas |
5713 |
02 Sep 11 |
nicklas |
@since 3.0 |
5713 |
02 Sep 11 |
nicklas |
@see PlatformFileType |
5713 |
02 Sep 11 |
nicklas |
@see ItemSubtypeFileType |
5713 |
02 Sep 11 |
nicklas |
33 |
*/ |
5713 |
02 Sep 11 |
nicklas |
34 |
public interface UsableDataFileType |
5713 |
02 Sep 11 |
nicklas |
35 |
{ |
5713 |
02 Sep 11 |
nicklas |
36 |
|
5713 |
02 Sep 11 |
nicklas |
37 |
/** |
5713 |
02 Sep 11 |
nicklas |
Get the data file type the information applies to. |
5713 |
02 Sep 11 |
nicklas |
39 |
*/ |
5713 |
02 Sep 11 |
nicklas |
40 |
public DataFileType getDataFileType(); |
5713 |
02 Sep 11 |
nicklas |
41 |
|
5713 |
02 Sep 11 |
nicklas |
42 |
/** |
5713 |
02 Sep 11 |
nicklas |
A flag indicating if a file should be required or not. |
5713 |
02 Sep 11 |
nicklas |
44 |
*/ |
5713 |
02 Sep 11 |
nicklas |
45 |
public boolean isRequired(); |
5713 |
02 Sep 11 |
nicklas |
46 |
|
5713 |
02 Sep 11 |
nicklas |
47 |
/** |
5713 |
02 Sep 11 |
nicklas |
A flag indicating if it is allowed to attach multiple files |
5713 |
02 Sep 11 |
nicklas |
or only a single one of the given type. |
5713 |
02 Sep 11 |
nicklas |
50 |
*/ |
5713 |
02 Sep 11 |
nicklas |
51 |
public boolean getAllowMultiple(); |
5713 |
02 Sep 11 |
nicklas |
52 |
|
5713 |
02 Sep 11 |
nicklas |
53 |
} |