
package com.oracle.xmlns.apps.crmcommon.activities.activitymanagementservice;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import com.oracle.xmlns.apps.crmcommon.notes.noteservice.Note;


/**
 * <p>Java class for Activity complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="Activity">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="ActivityId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         &lt;element name="ActivityNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="AccountId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         &lt;element name="ActivityDescription" type="{http://xmlns.oracle.com/adf/svc/types/}base64Binary-DataHandler" minOccurs="0"/>
 *         &lt;element name="ActivityEndDate" type="{http://xmlns.oracle.com/adf/svc/types/}dateTime-Timestamp" minOccurs="0"/>
 *         &lt;element name="ActivityFunctionCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="ActivityStartDate" type="{http://xmlns.oracle.com/adf/svc/types/}dateTime-Timestamp" minOccurs="0"/>
 *         &lt;element name="ActivityTypeCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="AllDayFlag" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         &lt;element name="AssessmentId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         &lt;element name="AutoLogSource" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="CampaignId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         &lt;element name="CreatedBy" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="CreationDate" type="{http://xmlns.oracle.com/adf/svc/types/}dateTime-Timestamp" minOccurs="0"/>
 *         &lt;element name="CustomerAccountId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         &lt;element name="DirectionCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="DueDate" type="{http://xmlns.oracle.com/adf/svc/types/}date-Date" minOccurs="0"/>
 *         &lt;element name="Duration" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
 *         &lt;element name="LastUpdateDate" type="{http://xmlns.oracle.com/adf/svc/types/}dateTime-Timestamp" minOccurs="0"/>
 *         &lt;element name="LastUpdateLogin" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="LastUpdatedBy" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="LeadId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         &lt;element name="Location" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="MobileActivityCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="ObjectVersionNumber" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
 *         &lt;element name="OpportunityId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         &lt;element name="OtherPartyPhoneNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="OutcomeCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="OutlookFlag" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         &lt;element name="OutlookIdentifier" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="OwnerId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         &lt;element name="ParentActivityId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         &lt;element name="PartnerUsageFlag" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         &lt;element name="PercentageComplete" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
 *         &lt;element name="PrimaryContactId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         &lt;element name="PriorityCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="RecurDay" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         &lt;element name="RecurEndDate" type="{http://xmlns.oracle.com/adf/svc/types/}dateTime-Timestamp" minOccurs="0"/>
 *         &lt;element name="RecurEveryOptionFlag" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         &lt;element name="RecurExceptionFlag" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         &lt;element name="RecurFrequency" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
 *         &lt;element name="RecurFriFlag" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         &lt;element name="RecurMonFlag" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         &lt;element name="RecurMonth" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="RecurNumberOfInstances" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
 *         &lt;element name="RecurOrigInstDate" type="{http://xmlns.oracle.com/adf/svc/types/}dateTime-Timestamp" minOccurs="0"/>
 *         &lt;element name="RecurPattern" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="RecurRecType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="RecurSatFlag" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         &lt;element name="RecurSeriesId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         &lt;element name="RecurSunFlag" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         &lt;element name="RecurThuFlag" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         &lt;element name="RecurTueFlag" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         &lt;element name="RecurTypeCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="RecurWedFlag" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         &lt;element name="RecurWeekday" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="ReferenceCustomerActTypeCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="ReferenceCustomerId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         &lt;element name="StatusCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="Subject" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="SwitchCallId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="TemplateDuration" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
 *         &lt;element name="TemplateLeadTime" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
 *         &lt;element name="UserLastUpdateDate" type="{http://xmlns.oracle.com/adf/svc/types/}dateTime-Timestamp" minOccurs="0"/>
 *         &lt;element name="CurcyConvRateType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="CurrencyCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="CorpCurrencyCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="PartnerProgramId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         &lt;element name="PartnerEnrollmentId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         &lt;element name="SourceObjectCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="SourceObjectId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
 *         &lt;element name="CustomFKAttribute" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="ActivityContact" type="{http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/}ActivityContact" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="ActivityAssignee" type="{http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/}ActivityAssignee" maxOccurs="unbounded" minOccurs="0"/>
 *         &lt;element name="Note" type="{http://xmlns.oracle.com/apps/crmCommon/notes/noteService}Note" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Activity", propOrder = {
    "activityId",
    "activityNumber",
    "accountId",
    "activityDescription",
    "activityEndDate",
    "activityFunctionCode",
    "activityStartDate",
    "activityTypeCode",
    "allDayFlag",
    "assessmentId",
    "autoLogSource",
    "campaignId",
    "createdBy",
    "creationDate",
    "customerAccountId",
    "directionCode",
    "dueDate",
    "duration",
    "lastUpdateDate",
    "lastUpdateLogin",
    "lastUpdatedBy",
    "leadId",
    "location",
    "mobileActivityCode",
    "objectVersionNumber",
    "opportunityId",
    "otherPartyPhoneNumber",
    "outcomeCode",
    "outlookFlag",
    "outlookIdentifier",
    "ownerId",
    "parentActivityId",
    "partnerUsageFlag",
    "percentageComplete",
    "primaryContactId",
    "priorityCode",
    "recurDay",
    "recurEndDate",
    "recurEveryOptionFlag",
    "recurExceptionFlag",
    "recurFrequency",
    "recurFriFlag",
    "recurMonFlag",
    "recurMonth",
    "recurNumberOfInstances",
    "recurOrigInstDate",
    "recurPattern",
    "recurRecType",
    "recurSatFlag",
    "recurSeriesId",
    "recurSunFlag",
    "recurThuFlag",
    "recurTueFlag",
    "recurTypeCode",
    "recurWedFlag",
    "recurWeekday",
    "referenceCustomerActTypeCode",
    "referenceCustomerId",
    "statusCode",
    "subject",
    "switchCallId",
    "templateDuration",
    "templateLeadTime",
    "userLastUpdateDate",
    "curcyConvRateType",
    "currencyCode",
    "corpCurrencyCode",
    "partnerProgramId",
    "partnerEnrollmentId",
    "sourceObjectCode",
    "sourceObjectId",
    "customFKAttribute",
    "activityContact",
    "activityAssignee",
    "note"
})
public class Activity {

    @XmlElement(name = "ActivityId")
    protected Long activityId;
    @XmlElement(name = "ActivityNumber")
    protected String activityNumber;
    @XmlElementRef(name = "AccountId", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<Long> accountId;
    @XmlElementRef(name = "ActivityDescription", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<byte[]> activityDescription;
    @XmlElementRef(name = "ActivityEndDate", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<XMLGregorianCalendar> activityEndDate;
    @XmlElement(name = "ActivityFunctionCode")
    protected String activityFunctionCode;
    @XmlElementRef(name = "ActivityStartDate", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<XMLGregorianCalendar> activityStartDate;
    @XmlElementRef(name = "ActivityTypeCode", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<String> activityTypeCode;
    @XmlElementRef(name = "AllDayFlag", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<Boolean> allDayFlag;
    @XmlElementRef(name = "AssessmentId", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<Long> assessmentId;
    @XmlElementRef(name = "AutoLogSource", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<String> autoLogSource;
    @XmlElementRef(name = "CampaignId", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<Long> campaignId;
    @XmlElement(name = "CreatedBy")
    protected String createdBy;
    @XmlElement(name = "CreationDate")
    protected XMLGregorianCalendar creationDate;
    @XmlElementRef(name = "CustomerAccountId", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<Long> customerAccountId;
    @XmlElementRef(name = "DirectionCode", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<String> directionCode;
    @XmlElementRef(name = "DueDate", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<XMLGregorianCalendar> dueDate;
    @XmlElementRef(name = "Duration", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<BigDecimal> duration;
    @XmlElement(name = "LastUpdateDate")
    protected XMLGregorianCalendar lastUpdateDate;
    @XmlElementRef(name = "LastUpdateLogin", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<String> lastUpdateLogin;
    @XmlElement(name = "LastUpdatedBy")
    protected String lastUpdatedBy;
    @XmlElementRef(name = "LeadId", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<Long> leadId;
    @XmlElementRef(name = "Location", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<String> location;
    @XmlElementRef(name = "MobileActivityCode", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<String> mobileActivityCode;
    @XmlElement(name = "ObjectVersionNumber")
    protected Integer objectVersionNumber;
    @XmlElementRef(name = "OpportunityId", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<Long> opportunityId;
    @XmlElementRef(name = "OtherPartyPhoneNumber", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<String> otherPartyPhoneNumber;
    @XmlElementRef(name = "OutcomeCode", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<String> outcomeCode;
    @XmlElementRef(name = "OutlookFlag", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<Boolean> outlookFlag;
    @XmlElementRef(name = "OutlookIdentifier", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<String> outlookIdentifier;
    @XmlElement(name = "OwnerId")
    protected Long ownerId;
    @XmlElementRef(name = "ParentActivityId", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<Long> parentActivityId;
    @XmlElementRef(name = "PartnerUsageFlag", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<Boolean> partnerUsageFlag;
    @XmlElementRef(name = "PercentageComplete", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<BigDecimal> percentageComplete;
    @XmlElementRef(name = "PrimaryContactId", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<Long> primaryContactId;
    @XmlElementRef(name = "PriorityCode", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<String> priorityCode;
    @XmlElementRef(name = "RecurDay", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<Long> recurDay;
    @XmlElementRef(name = "RecurEndDate", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<XMLGregorianCalendar> recurEndDate;
    @XmlElementRef(name = "RecurEveryOptionFlag", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<Boolean> recurEveryOptionFlag;
    @XmlElementRef(name = "RecurExceptionFlag", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<Boolean> recurExceptionFlag;
    @XmlElementRef(name = "RecurFrequency", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<BigDecimal> recurFrequency;
    @XmlElementRef(name = "RecurFriFlag", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<Boolean> recurFriFlag;
    @XmlElementRef(name = "RecurMonFlag", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<Boolean> recurMonFlag;
    @XmlElementRef(name = "RecurMonth", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<String> recurMonth;
    @XmlElementRef(name = "RecurNumberOfInstances", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<BigDecimal> recurNumberOfInstances;
    @XmlElementRef(name = "RecurOrigInstDate", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<XMLGregorianCalendar> recurOrigInstDate;
    @XmlElementRef(name = "RecurPattern", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<String> recurPattern;
    @XmlElementRef(name = "RecurRecType", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<String> recurRecType;
    @XmlElementRef(name = "RecurSatFlag", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<Boolean> recurSatFlag;
    @XmlElementRef(name = "RecurSeriesId", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<Long> recurSeriesId;
    @XmlElementRef(name = "RecurSunFlag", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<Boolean> recurSunFlag;
    @XmlElementRef(name = "RecurThuFlag", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<Boolean> recurThuFlag;
    @XmlElementRef(name = "RecurTueFlag", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<Boolean> recurTueFlag;
    @XmlElementRef(name = "RecurTypeCode", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<String> recurTypeCode;
    @XmlElementRef(name = "RecurWedFlag", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<Boolean> recurWedFlag;
    @XmlElementRef(name = "RecurWeekday", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<String> recurWeekday;
    @XmlElementRef(name = "ReferenceCustomerActTypeCode", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<String> referenceCustomerActTypeCode;
    @XmlElementRef(name = "ReferenceCustomerId", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<Long> referenceCustomerId;
    @XmlElementRef(name = "StatusCode", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<String> statusCode;
    @XmlElementRef(name = "Subject", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<String> subject;
    @XmlElementRef(name = "SwitchCallId", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<String> switchCallId;
    @XmlElementRef(name = "TemplateDuration", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<BigDecimal> templateDuration;
    @XmlElementRef(name = "TemplateLeadTime", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<BigDecimal> templateLeadTime;
    @XmlElementRef(name = "UserLastUpdateDate", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<XMLGregorianCalendar> userLastUpdateDate;
    @XmlElementRef(name = "CurcyConvRateType", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<String> curcyConvRateType;
    @XmlElementRef(name = "CurrencyCode", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<String> currencyCode;
    @XmlElementRef(name = "CorpCurrencyCode", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<String> corpCurrencyCode;
    @XmlElementRef(name = "PartnerProgramId", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<Long> partnerProgramId;
    @XmlElementRef(name = "PartnerEnrollmentId", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<Long> partnerEnrollmentId;
    @XmlElementRef(name = "SourceObjectCode", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<String> sourceObjectCode;
    @XmlElementRef(name = "SourceObjectId", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<Long> sourceObjectId;
    @XmlElementRef(name = "CustomFKAttribute", namespace = "http://xmlns.oracle.com/apps/crmCommon/activities/activityManagementService/", type = JAXBElement.class)
    protected JAXBElement<String> customFKAttribute;
    @XmlElement(name = "ActivityContact")
    protected List<ActivityContact> activityContact;
    @XmlElement(name = "ActivityAssignee")
    protected List<ActivityAssignee> activityAssignee;
    @XmlElement(name = "Note")
    protected List<Note> note;

    /**
     * Gets the value of the activityId property.
     * 
     * @return
     *     possible object is
     *     {@link Long }
     *     
     */
    public Long getActivityId() {
        return activityId;
    }

    /**
     * Sets the value of the activityId property.
     * 
     * @param value
     *     allowed object is
     *     {@link Long }
     *     
     */
    public void setActivityId(Long value) {
        this.activityId = value;
    }

    /**
     * Gets the value of the activityNumber property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getActivityNumber() {
        return activityNumber;
    }

    /**
     * Sets the value of the activityNumber property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setActivityNumber(String value) {
        this.activityNumber = value;
    }

    /**
     * Gets the value of the accountId property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public JAXBElement<Long> getAccountId() {
        return accountId;
    }

    /**
     * Sets the value of the accountId property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public void setAccountId(JAXBElement<Long> value) {
        this.accountId = ((JAXBElement<Long> ) value);
    }

    /**
     * Gets the value of the activityDescription property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link byte[]}{@code >}
     *     
     */
    public JAXBElement<byte[]> getActivityDescription() {
        return activityDescription;
    }

    /**
     * Sets the value of the activityDescription property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link byte[]}{@code >}
     *     
     */
    public void setActivityDescription(JAXBElement<byte[]> value) {
        this.activityDescription = ((JAXBElement<byte[]> ) value);
    }

    /**
     * Gets the value of the activityEndDate property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}
     *     
     */
    public JAXBElement<XMLGregorianCalendar> getActivityEndDate() {
        return activityEndDate;
    }

    /**
     * Sets the value of the activityEndDate property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}
     *     
     */
    public void setActivityEndDate(JAXBElement<XMLGregorianCalendar> value) {
        this.activityEndDate = ((JAXBElement<XMLGregorianCalendar> ) value);
    }

    /**
     * Gets the value of the activityFunctionCode property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getActivityFunctionCode() {
        return activityFunctionCode;
    }

    /**
     * Sets the value of the activityFunctionCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setActivityFunctionCode(String value) {
        this.activityFunctionCode = value;
    }

    /**
     * Gets the value of the activityStartDate property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}
     *     
     */
    public JAXBElement<XMLGregorianCalendar> getActivityStartDate() {
        return activityStartDate;
    }

    /**
     * Sets the value of the activityStartDate property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}
     *     
     */
    public void setActivityStartDate(JAXBElement<XMLGregorianCalendar> value) {
        this.activityStartDate = ((JAXBElement<XMLGregorianCalendar> ) value);
    }

    /**
     * Gets the value of the activityTypeCode property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getActivityTypeCode() {
        return activityTypeCode;
    }

    /**
     * Sets the value of the activityTypeCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setActivityTypeCode(JAXBElement<String> value) {
        this.activityTypeCode = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the allDayFlag property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
     *     
     */
    public JAXBElement<Boolean> getAllDayFlag() {
        return allDayFlag;
    }

    /**
     * Sets the value of the allDayFlag property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
     *     
     */
    public void setAllDayFlag(JAXBElement<Boolean> value) {
        this.allDayFlag = ((JAXBElement<Boolean> ) value);
    }

    /**
     * Gets the value of the assessmentId property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public JAXBElement<Long> getAssessmentId() {
        return assessmentId;
    }

    /**
     * Sets the value of the assessmentId property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public void setAssessmentId(JAXBElement<Long> value) {
        this.assessmentId = ((JAXBElement<Long> ) value);
    }

    /**
     * Gets the value of the autoLogSource property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getAutoLogSource() {
        return autoLogSource;
    }

    /**
     * Sets the value of the autoLogSource property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setAutoLogSource(JAXBElement<String> value) {
        this.autoLogSource = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the campaignId property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public JAXBElement<Long> getCampaignId() {
        return campaignId;
    }

    /**
     * Sets the value of the campaignId property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public void setCampaignId(JAXBElement<Long> value) {
        this.campaignId = ((JAXBElement<Long> ) value);
    }

    /**
     * Gets the value of the createdBy property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getCreatedBy() {
        return createdBy;
    }

    /**
     * Sets the value of the createdBy property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setCreatedBy(String value) {
        this.createdBy = value;
    }

    /**
     * Gets the value of the creationDate property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public XMLGregorianCalendar getCreationDate() {
        return creationDate;
    }

    /**
     * Sets the value of the creationDate property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public void setCreationDate(XMLGregorianCalendar value) {
        this.creationDate = value;
    }

    /**
     * Gets the value of the customerAccountId property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public JAXBElement<Long> getCustomerAccountId() {
        return customerAccountId;
    }

    /**
     * Sets the value of the customerAccountId property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public void setCustomerAccountId(JAXBElement<Long> value) {
        this.customerAccountId = ((JAXBElement<Long> ) value);
    }

    /**
     * Gets the value of the directionCode property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getDirectionCode() {
        return directionCode;
    }

    /**
     * Sets the value of the directionCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setDirectionCode(JAXBElement<String> value) {
        this.directionCode = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the dueDate property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}
     *     
     */
    public JAXBElement<XMLGregorianCalendar> getDueDate() {
        return dueDate;
    }

    /**
     * Sets the value of the dueDate property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}
     *     
     */
    public void setDueDate(JAXBElement<XMLGregorianCalendar> value) {
        this.dueDate = ((JAXBElement<XMLGregorianCalendar> ) value);
    }

    /**
     * Gets the value of the duration property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link BigDecimal }{@code >}
     *     
     */
    public JAXBElement<BigDecimal> getDuration() {
        return duration;
    }

    /**
     * Sets the value of the duration property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link BigDecimal }{@code >}
     *     
     */
    public void setDuration(JAXBElement<BigDecimal> value) {
        this.duration = ((JAXBElement<BigDecimal> ) value);
    }

    /**
     * Gets the value of the lastUpdateDate property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public XMLGregorianCalendar getLastUpdateDate() {
        return lastUpdateDate;
    }

    /**
     * Sets the value of the lastUpdateDate property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public void setLastUpdateDate(XMLGregorianCalendar value) {
        this.lastUpdateDate = value;
    }

    /**
     * Gets the value of the lastUpdateLogin property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getLastUpdateLogin() {
        return lastUpdateLogin;
    }

    /**
     * Sets the value of the lastUpdateLogin property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setLastUpdateLogin(JAXBElement<String> value) {
        this.lastUpdateLogin = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the lastUpdatedBy property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    /**
     * Sets the value of the lastUpdatedBy property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setLastUpdatedBy(String value) {
        this.lastUpdatedBy = value;
    }

    /**
     * Gets the value of the leadId property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public JAXBElement<Long> getLeadId() {
        return leadId;
    }

    /**
     * Sets the value of the leadId property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public void setLeadId(JAXBElement<Long> value) {
        this.leadId = ((JAXBElement<Long> ) value);
    }

    /**
     * Gets the value of the location property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getLocation() {
        return location;
    }

    /**
     * Sets the value of the location property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setLocation(JAXBElement<String> value) {
        this.location = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the mobileActivityCode property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getMobileActivityCode() {
        return mobileActivityCode;
    }

    /**
     * Sets the value of the mobileActivityCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setMobileActivityCode(JAXBElement<String> value) {
        this.mobileActivityCode = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the objectVersionNumber property.
     * 
     * @return
     *     possible object is
     *     {@link Integer }
     *     
     */
    public Integer getObjectVersionNumber() {
        return objectVersionNumber;
    }

    /**
     * Sets the value of the objectVersionNumber property.
     * 
     * @param value
     *     allowed object is
     *     {@link Integer }
     *     
     */
    public void setObjectVersionNumber(Integer value) {
        this.objectVersionNumber = value;
    }

    /**
     * Gets the value of the opportunityId property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public JAXBElement<Long> getOpportunityId() {
        return opportunityId;
    }

    /**
     * Sets the value of the opportunityId property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public void setOpportunityId(JAXBElement<Long> value) {
        this.opportunityId = ((JAXBElement<Long> ) value);
    }

    /**
     * Gets the value of the otherPartyPhoneNumber property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getOtherPartyPhoneNumber() {
        return otherPartyPhoneNumber;
    }

    /**
     * Sets the value of the otherPartyPhoneNumber property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setOtherPartyPhoneNumber(JAXBElement<String> value) {
        this.otherPartyPhoneNumber = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the outcomeCode property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getOutcomeCode() {
        return outcomeCode;
    }

    /**
     * Sets the value of the outcomeCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setOutcomeCode(JAXBElement<String> value) {
        this.outcomeCode = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the outlookFlag property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
     *     
     */
    public JAXBElement<Boolean> getOutlookFlag() {
        return outlookFlag;
    }

    /**
     * Sets the value of the outlookFlag property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
     *     
     */
    public void setOutlookFlag(JAXBElement<Boolean> value) {
        this.outlookFlag = ((JAXBElement<Boolean> ) value);
    }

    /**
     * Gets the value of the outlookIdentifier property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getOutlookIdentifier() {
        return outlookIdentifier;
    }

    /**
     * Sets the value of the outlookIdentifier property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setOutlookIdentifier(JAXBElement<String> value) {
        this.outlookIdentifier = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the ownerId property.
     * 
     * @return
     *     possible object is
     *     {@link Long }
     *     
     */
    public Long getOwnerId() {
        return ownerId;
    }

    /**
     * Sets the value of the ownerId property.
     * 
     * @param value
     *     allowed object is
     *     {@link Long }
     *     
     */
    public void setOwnerId(Long value) {
        this.ownerId = value;
    }

    /**
     * Gets the value of the parentActivityId property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public JAXBElement<Long> getParentActivityId() {
        return parentActivityId;
    }

    /**
     * Sets the value of the parentActivityId property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public void setParentActivityId(JAXBElement<Long> value) {
        this.parentActivityId = ((JAXBElement<Long> ) value);
    }

    /**
     * Gets the value of the partnerUsageFlag property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
     *     
     */
    public JAXBElement<Boolean> getPartnerUsageFlag() {
        return partnerUsageFlag;
    }

    /**
     * Sets the value of the partnerUsageFlag property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
     *     
     */
    public void setPartnerUsageFlag(JAXBElement<Boolean> value) {
        this.partnerUsageFlag = ((JAXBElement<Boolean> ) value);
    }

    /**
     * Gets the value of the percentageComplete property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link BigDecimal }{@code >}
     *     
     */
    public JAXBElement<BigDecimal> getPercentageComplete() {
        return percentageComplete;
    }

    /**
     * Sets the value of the percentageComplete property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link BigDecimal }{@code >}
     *     
     */
    public void setPercentageComplete(JAXBElement<BigDecimal> value) {
        this.percentageComplete = ((JAXBElement<BigDecimal> ) value);
    }

    /**
     * Gets the value of the primaryContactId property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public JAXBElement<Long> getPrimaryContactId() {
        return primaryContactId;
    }

    /**
     * Sets the value of the primaryContactId property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public void setPrimaryContactId(JAXBElement<Long> value) {
        this.primaryContactId = ((JAXBElement<Long> ) value);
    }

    /**
     * Gets the value of the priorityCode property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getPriorityCode() {
        return priorityCode;
    }

    /**
     * Sets the value of the priorityCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setPriorityCode(JAXBElement<String> value) {
        this.priorityCode = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the recurDay property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public JAXBElement<Long> getRecurDay() {
        return recurDay;
    }

    /**
     * Sets the value of the recurDay property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public void setRecurDay(JAXBElement<Long> value) {
        this.recurDay = ((JAXBElement<Long> ) value);
    }

    /**
     * Gets the value of the recurEndDate property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}
     *     
     */
    public JAXBElement<XMLGregorianCalendar> getRecurEndDate() {
        return recurEndDate;
    }

    /**
     * Sets the value of the recurEndDate property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}
     *     
     */
    public void setRecurEndDate(JAXBElement<XMLGregorianCalendar> value) {
        this.recurEndDate = ((JAXBElement<XMLGregorianCalendar> ) value);
    }

    /**
     * Gets the value of the recurEveryOptionFlag property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
     *     
     */
    public JAXBElement<Boolean> getRecurEveryOptionFlag() {
        return recurEveryOptionFlag;
    }

    /**
     * Sets the value of the recurEveryOptionFlag property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
     *     
     */
    public void setRecurEveryOptionFlag(JAXBElement<Boolean> value) {
        this.recurEveryOptionFlag = ((JAXBElement<Boolean> ) value);
    }

    /**
     * Gets the value of the recurExceptionFlag property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
     *     
     */
    public JAXBElement<Boolean> getRecurExceptionFlag() {
        return recurExceptionFlag;
    }

    /**
     * Sets the value of the recurExceptionFlag property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
     *     
     */
    public void setRecurExceptionFlag(JAXBElement<Boolean> value) {
        this.recurExceptionFlag = ((JAXBElement<Boolean> ) value);
    }

    /**
     * Gets the value of the recurFrequency property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link BigDecimal }{@code >}
     *     
     */
    public JAXBElement<BigDecimal> getRecurFrequency() {
        return recurFrequency;
    }

    /**
     * Sets the value of the recurFrequency property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link BigDecimal }{@code >}
     *     
     */
    public void setRecurFrequency(JAXBElement<BigDecimal> value) {
        this.recurFrequency = ((JAXBElement<BigDecimal> ) value);
    }

    /**
     * Gets the value of the recurFriFlag property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
     *     
     */
    public JAXBElement<Boolean> getRecurFriFlag() {
        return recurFriFlag;
    }

    /**
     * Sets the value of the recurFriFlag property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
     *     
     */
    public void setRecurFriFlag(JAXBElement<Boolean> value) {
        this.recurFriFlag = ((JAXBElement<Boolean> ) value);
    }

    /**
     * Gets the value of the recurMonFlag property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
     *     
     */
    public JAXBElement<Boolean> getRecurMonFlag() {
        return recurMonFlag;
    }

    /**
     * Sets the value of the recurMonFlag property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
     *     
     */
    public void setRecurMonFlag(JAXBElement<Boolean> value) {
        this.recurMonFlag = ((JAXBElement<Boolean> ) value);
    }

    /**
     * Gets the value of the recurMonth property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getRecurMonth() {
        return recurMonth;
    }

    /**
     * Sets the value of the recurMonth property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setRecurMonth(JAXBElement<String> value) {
        this.recurMonth = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the recurNumberOfInstances property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link BigDecimal }{@code >}
     *     
     */
    public JAXBElement<BigDecimal> getRecurNumberOfInstances() {
        return recurNumberOfInstances;
    }

    /**
     * Sets the value of the recurNumberOfInstances property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link BigDecimal }{@code >}
     *     
     */
    public void setRecurNumberOfInstances(JAXBElement<BigDecimal> value) {
        this.recurNumberOfInstances = ((JAXBElement<BigDecimal> ) value);
    }

    /**
     * Gets the value of the recurOrigInstDate property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}
     *     
     */
    public JAXBElement<XMLGregorianCalendar> getRecurOrigInstDate() {
        return recurOrigInstDate;
    }

    /**
     * Sets the value of the recurOrigInstDate property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}
     *     
     */
    public void setRecurOrigInstDate(JAXBElement<XMLGregorianCalendar> value) {
        this.recurOrigInstDate = ((JAXBElement<XMLGregorianCalendar> ) value);
    }

    /**
     * Gets the value of the recurPattern property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getRecurPattern() {
        return recurPattern;
    }

    /**
     * Sets the value of the recurPattern property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setRecurPattern(JAXBElement<String> value) {
        this.recurPattern = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the recurRecType property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getRecurRecType() {
        return recurRecType;
    }

    /**
     * Sets the value of the recurRecType property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setRecurRecType(JAXBElement<String> value) {
        this.recurRecType = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the recurSatFlag property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
     *     
     */
    public JAXBElement<Boolean> getRecurSatFlag() {
        return recurSatFlag;
    }

    /**
     * Sets the value of the recurSatFlag property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
     *     
     */
    public void setRecurSatFlag(JAXBElement<Boolean> value) {
        this.recurSatFlag = ((JAXBElement<Boolean> ) value);
    }

    /**
     * Gets the value of the recurSeriesId property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public JAXBElement<Long> getRecurSeriesId() {
        return recurSeriesId;
    }

    /**
     * Sets the value of the recurSeriesId property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public void setRecurSeriesId(JAXBElement<Long> value) {
        this.recurSeriesId = ((JAXBElement<Long> ) value);
    }

    /**
     * Gets the value of the recurSunFlag property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
     *     
     */
    public JAXBElement<Boolean> getRecurSunFlag() {
        return recurSunFlag;
    }

    /**
     * Sets the value of the recurSunFlag property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
     *     
     */
    public void setRecurSunFlag(JAXBElement<Boolean> value) {
        this.recurSunFlag = ((JAXBElement<Boolean> ) value);
    }

    /**
     * Gets the value of the recurThuFlag property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
     *     
     */
    public JAXBElement<Boolean> getRecurThuFlag() {
        return recurThuFlag;
    }

    /**
     * Sets the value of the recurThuFlag property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
     *     
     */
    public void setRecurThuFlag(JAXBElement<Boolean> value) {
        this.recurThuFlag = ((JAXBElement<Boolean> ) value);
    }

    /**
     * Gets the value of the recurTueFlag property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
     *     
     */
    public JAXBElement<Boolean> getRecurTueFlag() {
        return recurTueFlag;
    }

    /**
     * Sets the value of the recurTueFlag property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
     *     
     */
    public void setRecurTueFlag(JAXBElement<Boolean> value) {
        this.recurTueFlag = ((JAXBElement<Boolean> ) value);
    }

    /**
     * Gets the value of the recurTypeCode property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getRecurTypeCode() {
        return recurTypeCode;
    }

    /**
     * Sets the value of the recurTypeCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setRecurTypeCode(JAXBElement<String> value) {
        this.recurTypeCode = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the recurWedFlag property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
     *     
     */
    public JAXBElement<Boolean> getRecurWedFlag() {
        return recurWedFlag;
    }

    /**
     * Sets the value of the recurWedFlag property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Boolean }{@code >}
     *     
     */
    public void setRecurWedFlag(JAXBElement<Boolean> value) {
        this.recurWedFlag = ((JAXBElement<Boolean> ) value);
    }

    /**
     * Gets the value of the recurWeekday property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getRecurWeekday() {
        return recurWeekday;
    }

    /**
     * Sets the value of the recurWeekday property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setRecurWeekday(JAXBElement<String> value) {
        this.recurWeekday = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the referenceCustomerActTypeCode property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getReferenceCustomerActTypeCode() {
        return referenceCustomerActTypeCode;
    }

    /**
     * Sets the value of the referenceCustomerActTypeCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setReferenceCustomerActTypeCode(JAXBElement<String> value) {
        this.referenceCustomerActTypeCode = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the referenceCustomerId property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public JAXBElement<Long> getReferenceCustomerId() {
        return referenceCustomerId;
    }

    /**
     * Sets the value of the referenceCustomerId property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public void setReferenceCustomerId(JAXBElement<Long> value) {
        this.referenceCustomerId = ((JAXBElement<Long> ) value);
    }

    /**
     * Gets the value of the statusCode property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getStatusCode() {
        return statusCode;
    }

    /**
     * Sets the value of the statusCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setStatusCode(JAXBElement<String> value) {
        this.statusCode = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the subject property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getSubject() {
        return subject;
    }

    /**
     * Sets the value of the subject property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setSubject(JAXBElement<String> value) {
        this.subject = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the switchCallId property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getSwitchCallId() {
        return switchCallId;
    }

    /**
     * Sets the value of the switchCallId property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setSwitchCallId(JAXBElement<String> value) {
        this.switchCallId = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the templateDuration property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link BigDecimal }{@code >}
     *     
     */
    public JAXBElement<BigDecimal> getTemplateDuration() {
        return templateDuration;
    }

    /**
     * Sets the value of the templateDuration property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link BigDecimal }{@code >}
     *     
     */
    public void setTemplateDuration(JAXBElement<BigDecimal> value) {
        this.templateDuration = ((JAXBElement<BigDecimal> ) value);
    }

    /**
     * Gets the value of the templateLeadTime property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link BigDecimal }{@code >}
     *     
     */
    public JAXBElement<BigDecimal> getTemplateLeadTime() {
        return templateLeadTime;
    }

    /**
     * Sets the value of the templateLeadTime property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link BigDecimal }{@code >}
     *     
     */
    public void setTemplateLeadTime(JAXBElement<BigDecimal> value) {
        this.templateLeadTime = ((JAXBElement<BigDecimal> ) value);
    }

    /**
     * Gets the value of the userLastUpdateDate property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}
     *     
     */
    public JAXBElement<XMLGregorianCalendar> getUserLastUpdateDate() {
        return userLastUpdateDate;
    }

    /**
     * Sets the value of the userLastUpdateDate property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link XMLGregorianCalendar }{@code >}
     *     
     */
    public void setUserLastUpdateDate(JAXBElement<XMLGregorianCalendar> value) {
        this.userLastUpdateDate = ((JAXBElement<XMLGregorianCalendar> ) value);
    }

    /**
     * Gets the value of the curcyConvRateType property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getCurcyConvRateType() {
        return curcyConvRateType;
    }

    /**
     * Sets the value of the curcyConvRateType property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setCurcyConvRateType(JAXBElement<String> value) {
        this.curcyConvRateType = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the currencyCode property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getCurrencyCode() {
        return currencyCode;
    }

    /**
     * Sets the value of the currencyCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setCurrencyCode(JAXBElement<String> value) {
        this.currencyCode = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the corpCurrencyCode property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getCorpCurrencyCode() {
        return corpCurrencyCode;
    }

    /**
     * Sets the value of the corpCurrencyCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setCorpCurrencyCode(JAXBElement<String> value) {
        this.corpCurrencyCode = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the partnerProgramId property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public JAXBElement<Long> getPartnerProgramId() {
        return partnerProgramId;
    }

    /**
     * Sets the value of the partnerProgramId property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public void setPartnerProgramId(JAXBElement<Long> value) {
        this.partnerProgramId = ((JAXBElement<Long> ) value);
    }

    /**
     * Gets the value of the partnerEnrollmentId property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public JAXBElement<Long> getPartnerEnrollmentId() {
        return partnerEnrollmentId;
    }

    /**
     * Sets the value of the partnerEnrollmentId property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public void setPartnerEnrollmentId(JAXBElement<Long> value) {
        this.partnerEnrollmentId = ((JAXBElement<Long> ) value);
    }

    /**
     * Gets the value of the sourceObjectCode property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getSourceObjectCode() {
        return sourceObjectCode;
    }

    /**
     * Sets the value of the sourceObjectCode property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setSourceObjectCode(JAXBElement<String> value) {
        this.sourceObjectCode = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the sourceObjectId property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public JAXBElement<Long> getSourceObjectId() {
        return sourceObjectId;
    }

    /**
     * Sets the value of the sourceObjectId property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link Long }{@code >}
     *     
     */
    public void setSourceObjectId(JAXBElement<Long> value) {
        this.sourceObjectId = ((JAXBElement<Long> ) value);
    }

    /**
     * Gets the value of the customFKAttribute property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getCustomFKAttribute() {
        return customFKAttribute;
    }

    /**
     * Sets the value of the customFKAttribute property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setCustomFKAttribute(JAXBElement<String> value) {
        this.customFKAttribute = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the activityContact property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the activityContact property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getActivityContact().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link ActivityContact }
     * 
     * 
     */
    public List<ActivityContact> getActivityContact() {
        if (activityContact == null) {
            activityContact = new ArrayList<ActivityContact>();
        }
        return this.activityContact;
    }

    /**
     * Gets the value of the activityAssignee property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the activityAssignee property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getActivityAssignee().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link ActivityAssignee }
     * 
     * 
     */
    public List<ActivityAssignee> getActivityAssignee() {
        if (activityAssignee == null) {
            activityAssignee = new ArrayList<ActivityAssignee>();
        }
        return this.activityAssignee;
    }

    /**
     * Gets the value of the note property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the note property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getNote().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link Note }
     * 
     * 
     */
    public List<Note> getNote() {
        if (note == null) {
            note = new ArrayList<Note>();
        }
        return this.note;
    }

}
