4170 |
07 Mar 08 |
nicklas |
1 |
/** |
4479 |
05 Sep 08 |
jari |
$Id$ |
4170 |
07 Mar 08 |
nicklas |
3 |
|
4170 |
07 Mar 08 |
nicklas |
Copyright (C) Authors contributing to this file. |
4170 |
07 Mar 08 |
nicklas |
5 |
|
4170 |
07 Mar 08 |
nicklas |
This file is part of BASE - BioArray Software Environment. |
4170 |
07 Mar 08 |
nicklas |
Available at http://base.thep.lu.se/ |
4170 |
07 Mar 08 |
nicklas |
8 |
|
4170 |
07 Mar 08 |
nicklas |
BASE is free software; you can redistribute it and/or |
4170 |
07 Mar 08 |
nicklas |
modify it under the terms of the GNU General Public License |
4479 |
05 Sep 08 |
jari |
as published by the Free Software Foundation; either version 3 |
4170 |
07 Mar 08 |
nicklas |
of the License, or (at your option) any later version. |
4170 |
07 Mar 08 |
nicklas |
13 |
|
4170 |
07 Mar 08 |
nicklas |
BASE is distributed in the hope that it will be useful, |
4170 |
07 Mar 08 |
nicklas |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
4170 |
07 Mar 08 |
nicklas |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
4170 |
07 Mar 08 |
nicklas |
GNU General Public License for more details. |
4170 |
07 Mar 08 |
nicklas |
18 |
|
4170 |
07 Mar 08 |
nicklas |
You should have received a copy of the GNU General Public License |
4515 |
11 Sep 08 |
jari |
along with BASE. If not, see <http://www.gnu.org/licenses/>. |
4170 |
07 Mar 08 |
nicklas |
21 |
*/ |
4170 |
07 Mar 08 |
nicklas |
22 |
package net.sf.basedb.util.extensions.xml; |
4170 |
07 Mar 08 |
nicklas |
23 |
|
4170 |
07 Mar 08 |
nicklas |
24 |
import java.lang.annotation.Documented; |
4170 |
07 Mar 08 |
nicklas |
25 |
import java.lang.annotation.ElementType; |
4170 |
07 Mar 08 |
nicklas |
26 |
import java.lang.annotation.Retention; |
4170 |
07 Mar 08 |
nicklas |
27 |
import java.lang.annotation.RetentionPolicy; |
4170 |
07 Mar 08 |
nicklas |
28 |
import java.lang.annotation.Target; |
4170 |
07 Mar 08 |
nicklas |
29 |
|
4170 |
07 Mar 08 |
nicklas |
30 |
/** |
4170 |
07 Mar 08 |
nicklas |
Indicates that a factory setter method which takes a string as |
4170 |
07 Mar 08 |
nicklas |
it's input will have the value scanned by a {@link PathConverter} |
4170 |
07 Mar 08 |
nicklas |
before the setter method is invoked. |
4170 |
07 Mar 08 |
nicklas |
34 |
|
4170 |
07 Mar 08 |
nicklas |
@author nicklas |
4170 |
07 Mar 08 |
nicklas |
@version 2.7 |
4170 |
07 Mar 08 |
nicklas |
@see VariableSetter |
4170 |
07 Mar 08 |
nicklas |
@see PathConverter |
4170 |
07 Mar 08 |
nicklas |
@base.modified $Date$ |
4170 |
07 Mar 08 |
nicklas |
40 |
*/ |
4170 |
07 Mar 08 |
nicklas |
41 |
@Documented |
4170 |
07 Mar 08 |
nicklas |
42 |
@Target(ElementType.METHOD) |
4170 |
07 Mar 08 |
nicklas |
43 |
@Retention(RetentionPolicy.RUNTIME) |
4170 |
07 Mar 08 |
nicklas |
44 |
public @interface PathSetter |
5482 |
10 Nov 10 |
nicklas |
45 |
{ |
5482 |
10 Nov 10 |
nicklas |
46 |
/** |
5482 |
10 Nov 10 |
nicklas |
The type of path that should be generated. The default is |
5482 |
10 Nov 10 |
nicklas |
to generate absolute paths. |
5482 |
10 Nov 10 |
nicklas |
@since 2.17 |
5482 |
10 Nov 10 |
nicklas |
50 |
*/ |
5482 |
10 Nov 10 |
nicklas |
51 |
public PathType pathType() default PathType.ABSOLUTE; |
5482 |
10 Nov 10 |
nicklas |
52 |
} |