package org.apache.cayenne.testdo.quotemap.auto;
import org.apache.cayenne.CayenneDataObject;
import org.apache.cayenne.exp.Property;
import org.apache.cayenne.testdo.quotemap.Quote_Person;
/**
* Class _QuoteAdress 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 _QuoteAdress extends CayenneDataObject {
private static final long serialVersionUID = 1L;
public static final String ADDRESS_ID_PK_COLUMN = "ADDRESS ID";
public static final Property<String> CITY = Property.create("city", String.class);
public static final Property<String> GROUP = Property.create("group", String.class);
public static final Property<Quote_Person> PERSON_REL = Property.create("person_Rel", Quote_Person.class);
public void setCity(String city) {
writeProperty("city", city);
}
public String getCity() {
return (String)readProperty("city");
}
public void setGroup(String group) {
writeProperty("group", group);
}
public String getGroup() {
return (String)readProperty("group");
}
public void setPerson_Rel(Quote_Person person_Rel) {
setToOneTarget("person_Rel", person_Rel, true);
}
public Quote_Person getPerson_Rel() {
return (Quote_Person)readProperty("person_Rel");
}
}