package org.apache.cayenne.testdo.things.auto; import org.apache.cayenne.CayenneDataObject; import org.apache.cayenne.exp.Property; import org.apache.cayenne.testdo.things.Box; /** * Class _BoxInfo 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 _BoxInfo extends CayenneDataObject { private static final long serialVersionUID = 1L; public static final String ID_PK_COLUMN = "ID"; public static final Property<String> COLOR = Property.create("color", String.class); public static final Property<Box> BOX = Property.create("box", Box.class); public void setColor(String color) { writeProperty("color", color); } public String getColor() { return (String)readProperty("color"); } public void setBox(Box box) { setToOneTarget("box", box, true); } public Box getBox() { return (Box)readProperty("box"); } }