org.jtransfo.MapOnlies Maven / Gradle / Ivy
/*
* This file is part of jTransfo, a library for converting to and from transfer objects.
* Copyright (c) PROGS bvba, Belgium
*
* The program is available in open source according to the Apache License, Version 2.0.
* For full licensing details, see LICENSE.txt in the project root.
*/
package org.jtransfo;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Annotation which allows you to put many {@link MapOnly} annotations on a field.
*
* Note that it is not determined which annotation is used when several annotations contain the same tag.
*
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
@Documented
public @interface MapOnlies {
/**
* Tags for which this annotation applies.
*/
MapOnly[] value();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy