1 /*
2 * Copyright 2013 Olivier Godineau
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 * use this file except in compliance with the License. You may obtain a copy of
6 * the License at http://www.apache.org/licenses/LICENSE-2.0
7 *
8 * Unless required by applicable law or agreed to in writing, software
9 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
10 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
11 * License for the specific language governing permissions and limitations under
12 * the License.
13 */
14 package olg.csv.bean.annotations;
15
16 import java.lang.annotation.Documented;
17 import java.lang.annotation.Retention;
18 import java.lang.annotation.RetentionPolicy;
19
20 /**
21 * annotation to set annotation properties.
22 *
23 * @see RowBean
24 * @see Formatter
25 * @see Parser
26 * @author Olivier Godineau
27 *
28 */
29 @Documented
30 @Retention(RetentionPolicy.RUNTIME)
31 public @interface Param {
32 /**
33 * Param name. The name of the property.
34 */
35 String name();
36 /**
37 * Param value. the value should be parsed to be setted to the property.
38 */
39 String value();
40
41 }