package org.apache.cayenne.testdo.relationships_collection_to_many.auto;
import org.apache.cayenne.CayenneDataObject;
import org.apache.cayenne.exp.Property;
import org.apache.cayenne.testdo.relationships_collection_to_many.CollectionToMany;
/**
* Class _CollectionToManyTarget 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 _CollectionToManyTarget extends CayenneDataObject {
private static final long serialVersionUID = 1L;
public static final String ID_PK_COLUMN = "ID";
public static final Property<CollectionToMany> COLLECTION_TO_MANY = Property.create("collectionToMany", CollectionToMany.class);
public void setCollectionToMany(CollectionToMany collectionToMany) {
setToOneTarget("collectionToMany", collectionToMany, true);
}
public CollectionToMany getCollectionToMany() {
return (CollectionToMany)readProperty("collectionToMany");
}
}