1 /*
2 * CSVeed (https://github.com/42BV/CSVeed)
3 *
4 * Copyright 2013-2023 CSVeed.
5 *
6 * All rights reserved. This program and the accompanying materials
7 * are made available under the terms of The Apache Software License,
8 * Version 2.0 which accompanies this distribution, and is available at
9 * https://www.apache.org/licenses/LICENSE-2.0.txt
10 */
11 package org.csveed.annotations;
12
13 import java.lang.annotation.ElementType;
14 import java.lang.annotation.Retention;
15 import java.lang.annotation.RetentionPolicy;
16 import java.lang.annotation.Target;
17
18 /**
19 * When this annotation is set on a field, it will be skipped during deserialization even if a matching column name is
20 * found. On serialization, it will not be part of the new CSV file.
21 */
22 @Target(ElementType.FIELD)
23 @Retention(RetentionPolicy.RUNTIME)
24 public @interface CsvIgnore {
25 }