1
package net.codescore.dbo.auto;
3
import net.codescore.dbo.CDO;
4
import net.codescore.dbo.Person;
7
* Class _Email was generated by Cayenne.
8
* It is probably a good idea to avoid changing this class manually,
9
* since it may be overwritten next time code is regenerated.
10
* If you need to make any customizations, please use subclass.
12
public abstract class _Email extends CDO {
14
public static final String ADDRESS_PROPERTY = "address";
15
public static final String PERSON_PROPERTY = "person";
17
public static final String EMAILID_PK_COLUMN = "emailid";
18
public static final String PERSONID_PK_COLUMN = "personid";
20
public void setAddress(String address) {
21
writeProperty("address", address);
23
public String getAddress() {
24
return (String)readProperty("address");
27
public void setPerson(Person person) {
28
setToOneTarget("person", person, true);
31
public Person getPerson() {
32
return (Person)readProperty("person");