package org.apache.cayenne.testdo.generated.auto; import org.apache.cayenne.CayenneDataObject; import org.apache.cayenne.exp.Property; import org.apache.cayenne.testdo.generated.GeneratedColumnCompMaster; /** * Class _GeneratedColumnCompKey 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 _GeneratedColumnCompKey extends CayenneDataObject { private static final long serialVersionUID = 1L; public static final String AUTO_PK_PK_COLUMN = "AUTO_PK"; public static final String GENERATED_COLUMN_PK_COLUMN = "GENERATED_COLUMN"; public static final String PROPAGATED_PK_PK_COLUMN = "PROPAGATED_PK"; public static final Property<String> NAME = Property.create("name", String.class); public static final Property<GeneratedColumnCompMaster> TO_MASTER = Property.create("toMaster", GeneratedColumnCompMaster.class); public void setName(String name) { writeProperty("name", name); } public String getName() { return (String)readProperty("name"); } public void setToMaster(GeneratedColumnCompMaster toMaster) { setToOneTarget("toMaster", toMaster, true); } public GeneratedColumnCompMaster getToMaster() { return (GeneratedColumnCompMaster)readProperty("toMaster"); } }