// 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 com.github.jasminb.jsonapi.annotations.Id;
import com.github.jasminb.jsonapi.annotations.Relationship;
import com.github.jasminb.jsonapi.annotations.Type;
package com.github.jasminb.jsonapi.models;


/**
 * A test class that has a parent.
 */
@Type("node")
public class RecursingNode {

	@Id
	private String id;

	private String name;

	private String url;

// 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/test/java/com/github/jasminb/jsonapi/models/RecursingNode.java
import com.github.jasminb.jsonapi.RelType;
import com.github.jasminb.jsonapi.annotations.Id;
import com.github.jasminb.jsonapi.annotations.Relationship;
import com.github.jasminb.jsonapi.annotations.Type;

package com.github.jasminb.jsonapi.models;


/**
 * A test class that has a parent.
 */
@Type("node")
public class RecursingNode {

	@Id
	private String id;

	private String name;

	private String url;

	@Relationship(value = "parent", resolve = true, relType = RelType.RELATED)