package org.apache.cayenne.testdo.map_to_many.auto; import org.apache.cayenne.CayenneDataObject; import org.apache.cayenne.exp.Property; import org.apache.cayenne.testdo.map_to_many.IdMapToMany; /** * Class _IdMapToManyTarget 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 _IdMapToManyTarget extends CayenneDataObject { private static final long serialVersionUID = 1L; public static final String ID_PK_COLUMN = "ID"; public static final Property<IdMapToMany> MAP_TO_MANY = Property.create("mapToMany", IdMapToMany.class); public void setMapToMany(IdMapToMany mapToMany) { setToOneTarget("mapToMany", mapToMany, true); } public IdMapToMany getMapToMany() { return (IdMapToMany)readProperty("mapToMany"); } }