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

import java.util.List;

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

    public static final String CHOICE_ITEM_NUM_PROPERTY = "choiceItemNum";
    public static final String CHOICE_ITEM_NUM_STATUS_PROPERTY = "choiceItemNumStatus";
    public static final String ENQUETE_ID_PROPERTY = "enqueteId";
    public static final String ITEM_NUMBER_PROPERTY = "itemNumber";
    public static final String ITEM_TITLE_PROPERTY = "itemTitle";
    public static final String STATUS_PROPERTY = "status";
    public static final String AVZ_TENQUETE_PROPERTY = "avzTEnquete";
    public static final String AVZ_TENQUETE_CHOICE_ITEM_PROPERTY = "avzTEnqueteChoiceItem";

    public static final String ITEM_ID_PK_COLUMN = "item_id";

    public void setChoiceItemNum(Integer choiceItemNum) {
        writeProperty("choiceItemNum", choiceItemNum);
    }
    public Integer getChoiceItemNum() {
        return (Integer)readProperty("choiceItemNum");
    }
    
    
    public void setChoiceItemNumStatus(String choiceItemNumStatus) {
        writeProperty("choiceItemNumStatus", choiceItemNumStatus);
    }
    public String getChoiceItemNumStatus() {
        return (String)readProperty("choiceItemNumStatus");
    }
    
    
    public void setEnqueteId(Integer enqueteId) {
        writeProperty("enqueteId", enqueteId);
    }
    public Integer getEnqueteId() {
        return (Integer)readProperty("enqueteId");
    }
    
    
    public void setItemNumber(Integer itemNumber) {
        writeProperty("itemNumber", itemNumber);
    }
    public Integer getItemNumber() {
        return (Integer)readProperty("itemNumber");
    }
    
    
    public void setItemTitle(String itemTitle) {
        writeProperty("itemTitle", itemTitle);
    }
    public String getItemTitle() {
        return (String)readProperty("itemTitle");
    }
    
    
    public void setStatus(String status) {
        writeProperty("status", status);
    }
    public String getStatus() {
        return (String)readProperty("status");
    }
    
    
    public void setAvzTEnquete(com.aimluck.eip.cayenne.om.portlet.AvzTEnquete avzTEnquete) {
        setToOneTarget("avzTEnquete", avzTEnquete, true);
    }

    public com.aimluck.eip.cayenne.om.portlet.AvzTEnquete getAvzTEnquete() {
        return (com.aimluck.eip.cayenne.om.portlet.AvzTEnquete)readProperty("avzTEnquete");
    } 
    
    
    public void addToAvzTEnqueteChoiceItem(com.aimluck.eip.cayenne.om.portlet.AvzTEnqueteChoiceItem obj) {
        addToManyTarget("avzTEnqueteChoiceItem", obj, true);
    }
    public void removeFromAvzTEnqueteChoiceItem(com.aimluck.eip.cayenne.om.portlet.AvzTEnqueteChoiceItem obj) {
        removeToManyTarget("avzTEnqueteChoiceItem", obj, true);
    }
    public List getAvzTEnqueteChoiceItem() {
        return (List)readProperty("avzTEnqueteChoiceItem");
    }
    
    
}
