// Path: src/main/java/com/github/jasminb/jsonapi/RelType.java
// public enum RelType {
// 
//     SELF (JSONAPISpecConstants.SELF),
// 
//     RELATED (JSONAPISpecConstants.RELATED);
// 
//     private String relName;
// 
//     RelType(String relName) {
//         this.relName = relName;
//     }
// 
//     /**
//      * Obtains the name of the relationship, suitable for use in serialized JSON.
//      *
//      * @return the relationship name
//      */
//     public String getRelName() {
//         return relName;
//     }
// }


import com.github.jasminb.jsonapi.RelType;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
package com.github.jasminb.jsonapi.annotations;



/**
 * Annotation used to configure relationship field in JSON API resources.
 *
 * @author jbegic
 */

@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Relationship {
	String value();
	boolean resolve() default false;
	boolean serialise() default true;
	boolean serialiseData() default true;
// Path: src/main/java/com/github/jasminb/jsonapi/RelType.java
// public enum RelType {
// 
//     SELF (JSONAPISpecConstants.SELF),
// 
//     RELATED (JSONAPISpecConstants.RELATED);
// 
//     private String relName;
// 
//     RelType(String relName) {
//         this.relName = relName;
//     }
// 
//     /**
//      * Obtains the name of the relationship, suitable for use in serialized JSON.
//      *
//      * @return the relationship name
//      */
//     public String getRelName() {
//         return relName;
//     }
// }


// Path: src/main/java/com/github/jasminb/jsonapi/annotations/Relationship.java
import com.github.jasminb.jsonapi.RelType;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

package com.github.jasminb.jsonapi.annotations;



/**
 * Annotation used to configure relationship field in JSON API resources.
 *
 * @author jbegic
 */

@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Relationship {
	String value();
	boolean resolve() default false;
	boolean serialise() default true;
	boolean serialiseData() default true;
	RelType relType() default RelType.SELF;