/* * (c) Copyright Reserved EVRYTHNG Limited 2016. All rights reserved. * Use of this material is subject to license. * Copying and unauthorised use of this material strictly prohibited. */ package com.evrythng.commons.annotations.csv; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; /** * Used by the Csv MapperProvider. * Marks the class to be rendered as a value in the CSV output, * using the given method name. If omitted, toString is used. **/ @Target(value = ElementType.TYPE) @Retention(value = RetentionPolicy.RUNTIME) public @interface CsvSerializer { public String value() default "toString"; }