package org.apache.cayenne.lifecycle.db.auto; import java.util.List; import org.apache.cayenne.CayenneDataObject; import org.apache.cayenne.exp.Property; import org.apache.cayenne.lifecycle.db.SortDep; /** * Class _SortRoot 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 _SortRoot extends CayenneDataObject { private static final long serialVersionUID = 1L; public static final String ID_PK_COLUMN = "ID"; public static final Property<List<SortDep>> DEPS = Property.create("deps", List.class); public void addToDeps(SortDep obj) { addToManyTarget("deps", obj, true); } public void removeFromDeps(SortDep obj) { removeToManyTarget("deps", obj, true); } @SuppressWarnings("unchecked") public List<SortDep> getDeps() { return (List<SortDep>)readProperty("deps"); } }