package org.apache.cayenne.testdo.relationships.auto;
import org.apache.cayenne.CayenneDataObject;
import org.apache.cayenne.exp.Property;
import org.apache.cayenne.testdo.relationships.RelationshipHelper;
/**
* Class _MeaningfulFK 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 _MeaningfulFK extends CayenneDataObject {
private static final long serialVersionUID = 1L;
public static final String MEANIGNFUL_FK_ID_PK_COLUMN = "MEANIGNFUL_FK_ID";
public static final Property<Integer> RELATIONSHIP_HELPER_ID = Property.create("relationshipHelperID", Integer.class);
public static final Property<RelationshipHelper> TO_RELATIONSHIP_HELPER = Property.create("toRelationshipHelper", RelationshipHelper.class);
public void setRelationshipHelperID(Integer relationshipHelperID) {
writeProperty("relationshipHelperID", relationshipHelperID);
}
public Integer getRelationshipHelperID() {
return (Integer)readProperty("relationshipHelperID");
}
public void setToRelationshipHelper(RelationshipHelper toRelationshipHelper) {
setToOneTarget("toRelationshipHelper", toRelationshipHelper, true);
}
public RelationshipHelper getToRelationshipHelper() {
return (RelationshipHelper)readProperty("toRelationshipHelper");
}
}