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

org.jboss.resteasy.links.ParentResource Maven / Gradle / Ivy

The newest version!
package org.jboss.resteasy.links;

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;

/**
 * 

* Marks an entity's parent which will be used to resolve any parent ID used in path parameters. *

*

* For example, if an entity needs its parent ID and its ID in the path of a resource method, we * will use this entity's {@link jakarta.xml.bind.annotation.XmlID @XmlID} id, and its parent's, in * reverse order, to form the path parameter list (from the furthest parent, to this entity). *

* * @author Stéphane Épardaud */ @Target({ ElementType.METHOD, ElementType.FIELD }) @Retention(RetentionPolicy.RUNTIME) @Documented public @interface ParentResource { }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy