com.nhl.link.rest.annotation.LrId Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of link-rest-annotations Show documentation
Show all versions of link-rest-annotations Show documentation
A dependency-free collection of LR annotations that allow to annotate model objects without
introducing a dependency on LinkRest runtime.
package com.nhl.link.rest.annotation;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* Annotates a getter of a property in a POJO to indicate that the property is a
* LinkRest-exposed ID attribute.
*
* @since 1.15
*/
@Target({ METHOD })
@Retention(RUNTIME)
public @interface LrId {
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy