// Path: bootique-graphql/src/test/java/org/objectstyle/graphql/it/fixture/cayenne/E2.java
// public class E2 extends _E2 {
// 
//     private static final long serialVersionUID = 1L; 
// 
// }


import java.util.List;
import org.apache.cayenne.CayenneDataObject;
import org.apache.cayenne.exp.Property;
import org.objectstyle.graphql.it.fixture.cayenne.E2;
package org.objectstyle.graphql.it.fixture.cayenne.auto;



/**
 * Class _E1 was generated by Cayenne.
 * It is probably a good idea to avoid changing this class manually,
 * since it may be overwritten next time code is regenerated.
 * If you need to make any customizations, please use subclass.
 */
public abstract class _E1 extends CayenneDataObject {

    private static final long serialVersionUID = 1L; 

    public static final String ID_PK_COLUMN = "id";

    public static final Property<String> NAME = new Property<String>("name");
    public static final Property<List<E2>> E2S = new Property<List<E2>>("e2s");

    public void setName(String name) {
        writeProperty("name", name);
    }
    public String getName() {
        return (String)readProperty("name");
    }

// Path: bootique-graphql/src/test/java/org/objectstyle/graphql/it/fixture/cayenne/E2.java
// public class E2 extends _E2 {
// 
//     private static final long serialVersionUID = 1L; 
// 
// }


// Path: bootique-graphql/src/test/java/org/objectstyle/graphql/it/fixture/cayenne/auto/_E1.java
import java.util.List;
import org.apache.cayenne.CayenneDataObject;
import org.apache.cayenne.exp.Property;
import org.objectstyle.graphql.it.fixture.cayenne.E2;

package org.objectstyle.graphql.it.fixture.cayenne.auto;



/**
 * Class _E1 was generated by Cayenne.
 * It is probably a good idea to avoid changing this class manually,
 * since it may be overwritten next time code is regenerated.
 * If you need to make any customizations, please use subclass.
 */
public abstract class _E1 extends CayenneDataObject {

    private static final long serialVersionUID = 1L; 

    public static final String ID_PK_COLUMN = "id";

    public static final Property<String> NAME = new Property<String>("name");
    public static final Property<List<E2>> E2S = new Property<List<E2>>("e2s");

    public void setName(String name) {
        writeProperty("name", name);
    }
    public String getName() {
        return (String)readProperty("name");
    }

    public void addToE2s(E2 obj) {