com.nhl.link.rest.annotation.ClientWritable 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.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* Defines a set of properties for a given entity that can be modified by the
* client.
*
* @since 1.5
*/
@Target({ TYPE })
@Retention(RUNTIME)
public @interface ClientWritable {
String[] value();
boolean id() default false;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy