package org.apache.cayenne.testdo.relationships_delete_rules.auto; import java.util.List; import org.apache.cayenne.CayenneDataObject; import org.apache.cayenne.exp.Property; import org.apache.cayenne.testdo.relationships_delete_rules.DeleteRuleFlatA; /** * Class _DeleteRuleFlatB 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 _DeleteRuleFlatB extends CayenneDataObject { private static final long serialVersionUID = 1L; public static final String FLATB_ID_PK_COLUMN = "FLATB_ID"; public static final Property<List<DeleteRuleFlatA>> UNTITLED_REL = Property.create("untitledRel", List.class); public void addToUntitledRel(DeleteRuleFlatA obj) { addToManyTarget("untitledRel", obj, true); } public void removeFromUntitledRel(DeleteRuleFlatA obj) { removeToManyTarget("untitledRel", obj, true); } @SuppressWarnings("unchecked") public List<DeleteRuleFlatA> getUntitledRel() { return (List<DeleteRuleFlatA>)readProperty("untitledRel"); } }