Annotation Type RelationshipLinks


  • @Target(FIELD)
    @Retention(RUNTIME)
    public @interface RelationshipLinks
    Relationship links annotation. This annotation is used in conjunction with @Relationship annotation, attribute annotated with this annotation is considered to be Links related to named relationship object.
     
         @Type("my-type")
         public class MyType {
               @Id
             private String id;
    
             @Relationship("relationship")
             private MyRelationship myRelationship;
    
             @RelationshipLinks("relationship")
             private com.github.jasminb.jsonapi.Links links;
    
         }
     
     
    Author:
    jbegic
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String value