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.MtTable2; /** * Class _MtTable3 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 _MtTable3 extends CayenneDataObject { private static final long serialVersionUID = 1L; public static final String TABLE3_ID_PK_COLUMN = "TABLE3_ID"; public static final Property<byte[]> BINARY_COLUMN = Property.create("binaryColumn", byte[].class); public static final Property<String> CHAR_COLUMN = Property.create("charColumn", String.class); public static final Property<Integer> INT_COLUMN = Property.create("intColumn", Integer.class); public static final Property<List<MtTable2>> TABLE2ARRAY = Property.create("table2Array", List.class); public void setBinaryColumn(byte[] binaryColumn) { writeProperty("binaryColumn", binaryColumn); } public byte[] getBinaryColumn() { return (byte[])readProperty("binaryColumn"); } public void setCharColumn(String charColumn) { writeProperty("charColumn", charColumn); } public String getCharColumn() { return (String)readProperty("charColumn"); } public void setIntColumn(Integer intColumn) { writeProperty("intColumn", intColumn); } public Integer getIntColumn() { return (Integer)readProperty("intColumn"); } public void addToTable2Array(MtTable2 obj) { addToManyTarget("table2Array", obj, true); } public void removeFromTable2Array(MtTable2 obj) { removeToManyTarget("table2Array", obj, true); } @SuppressWarnings("unchecked") public List<MtTable2> getTable2Array() { return (List<MtTable2>)readProperty("table2Array"); } }