All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.oneandone.neberus.annotation.ApiUsecaseResponseValue Maven / Gradle / Ivy

There is a newer version: 4.2.1
Show newest version
package net.oneandone.neberus.annotation;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * ResponseValue returned by a REST method in a usecase.
 */
@Target({})
@Retention(RetentionPolicy.RUNTIME)
public @interface ApiUsecaseResponseValue {

    /**
     * Name of the response value. If the method is linked to an actual REST method, the name must exist in the linked method.
     *
     * @return the name
     */
    String name();

    /**
     * Exact returned value.
     *
     * @return the value
     */
    String value() default "";

    /**
     * Hint about the returned value.
     *
     * @return the value hint
     */
    String valueHint() default "";

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy