package org.apache.cayenne.testdo.mt.auto;
import java.util.List;
import org.apache.cayenne.CayenneDataObject;
import org.apache.cayenne.exp.Property;
import org.apache.cayenne.testdo.mt.MtTable4;
/**
* Class _MtTable5 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 _MtTable5 extends CayenneDataObject {
private static final long serialVersionUID = 1L;
public static final String ID_PK_COLUMN = "ID";
public static final Property<List<MtTable4>> TABLE4S = Property.create("table4s", List.class);
public void addToTable4s(MtTable4 obj) {
addToManyTarget("table4s", obj, true);
}
public void removeFromTable4s(MtTable4 obj) {
removeToManyTarget("table4s", obj, true);
}
@SuppressWarnings("unchecked")
public List<MtTable4> getTable4s() {
return (List<MtTable4>)readProperty("table4s");
}
}