package com.opencsv.bean;

import org.apache.commons.collections4.MultiValuedMap;

import java.lang.annotation.*;

Instructs opencsv to ignore a field and any annotations present.

It is for the mapping strategy in use as if the field were simply not a part of the bean class. This affects only the functioning of the mapping strategy, but not the selection of the mapping strategy if this is done automatically by opencsv.

Author:Andrew Rucker Jones
See Also:
Since:5.0
/** * Instructs opencsv to ignore a field and any annotations present. * <p>It is for the <em>mapping strategy</em> in use as if the field were * simply not a part of the bean class. This affects only the functioning of * the mapping strategy, but not the <em>selection</em> of the mapping strategy * if this is done automatically by opencsv.</p> * * @author Andrew Rucker Jones * @since 5.0 * @see MappingStrategy#ignoreFields(MultiValuedMap) */
@Documented @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.FIELD) public @interface CsvIgnore { }