package com.aimluck.eip.cayenne.om.security.auto;

import java.util.List;

/**
 * Class _TurbineUserGroupRole 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 class _TurbineUserGroupRole extends org.apache.cayenne.CayenneDataObject {

  public static final String EIP_TSCHEDULE_MAP_PROPERTY = "eipTScheduleMap";

  public static final String TURBINE_GROUP_PROPERTY = "turbineGroup";

  public static final String TURBINE_ROLE_PROPERTY = "turbineRole";

  public static final String TURBINE_USER_PROPERTY = "turbineUser";

  public static final String EIP_MPOSITION_PROPERTY = "eipMPosition";

  public static final String ID_PK_COLUMN = "ID";

  public void addToEipTScheduleMap(
      com.aimluck.eip.cayenne.om.portlet.EipTScheduleMap obj) {
    addToManyTarget("eipTScheduleMap", obj, true);
  }

  public void removeFromEipTScheduleMap(
      com.aimluck.eip.cayenne.om.portlet.EipTScheduleMap obj) {
    removeToManyTarget("eipTScheduleMap", obj, true);
  }

  public List getEipTScheduleMap() {
    return (List) readProperty("eipTScheduleMap");
  }

  public void setTurbineGroup(
      com.aimluck.eip.cayenne.om.security.TurbineGroup turbineGroup) {
    setToOneTarget("turbineGroup", turbineGroup, true);
  }

  public com.aimluck.eip.cayenne.om.security.TurbineGroup getTurbineGroup() {
    return (com.aimluck.eip.cayenne.om.security.TurbineGroup) readProperty("turbineGroup");
  }

  public void setTurbineRole(
      com.aimluck.eip.cayenne.om.security.TurbineRole turbineRole) {
    setToOneTarget("turbineRole", turbineRole, true);
  }

  public com.aimluck.eip.cayenne.om.security.TurbineRole getTurbineRole() {
    return (com.aimluck.eip.cayenne.om.security.TurbineRole) readProperty("turbineRole");
  }

  public void setTurbineUser(
      com.aimluck.eip.cayenne.om.security.TurbineUser turbineUser) {
    setToOneTarget("turbineUser", turbineUser, true);
  }

  public com.aimluck.eip.cayenne.om.security.TurbineUser getTurbineUser() {
    return (com.aimluck.eip.cayenne.om.security.TurbineUser) readProperty("turbineUser");
  }

  public com.aimluck.eip.cayenne.om.account.EipMPosition getEipMPosition() {
    return (com.aimluck.eip.cayenne.om.account.EipMPosition) readProperty("eipMPosition");
  }

  public void setEipMPosition(
      com.aimluck.eip.cayenne.om.account.EipMPosition eipMPosition) {
    setToOneTarget("eipMPosition", eipMPosition, true);
  }

}
