// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2013.08.02 at 12:16:58 PM BST // package net.sf.mpxj.primavera.schema; import java.util.ArrayList; import java.util.Date; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; /** * <p>Java class for ActivityExpenseType complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="ActivityExpenseType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="AccrualType" minOccurs="0"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="Start of Activity"/> * <enumeration value="End of Activity"/> * <enumeration value="Uniform Over Activity"/> * </restriction> * </simpleType> * </element> * <element name="ActivityId" minOccurs="0"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <maxLength value="20"/> * </restriction> * </simpleType> * </element> * <element name="ActivityName" minOccurs="0"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <maxLength value="120"/> * </restriction> * </simpleType> * </element> * <element name="ActivityObjectId" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> * <element name="ActualCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/> * <element name="ActualUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/> * <element name="AtCompletionCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/> * <element name="AtCompletionUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/> * <element name="AutoComputeActuals" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> * <element name="CostAccountId" minOccurs="0"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <maxLength value="20"/> * </restriction> * </simpleType> * </element> * <element name="CostAccountName" minOccurs="0"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <maxLength value="100"/> * </restriction> * </simpleType> * </element> * <element name="CostAccountObjectId" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> * <element name="CreateDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> * <element name="CreateUser" minOccurs="0"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <maxLength value="255"/> * </restriction> * </simpleType> * </element> * <element name="DocumentNumber" minOccurs="0"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <maxLength value="32"/> * </restriction> * </simpleType> * </element> * <element name="ExpenseCategoryName" minOccurs="0"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <maxLength value="36"/> * </restriction> * </simpleType> * </element> * <element name="ExpenseCategoryObjectId" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> * <element name="ExpenseDescription" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="ExpenseItem" minOccurs="0"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <maxLength value="120"/> * </restriction> * </simpleType> * </element> * <element name="ExpensePercentComplete" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/> * <element name="IsBaseline" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> * <element name="IsTemplate" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> * <element name="LastUpdateDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> * <element name="LastUpdateUser" minOccurs="0"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <maxLength value="255"/> * </restriction> * </simpleType> * </element> * <element name="ObjectId" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> * <element name="OverBudget" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> * <element name="PlannedCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/> * <element name="PlannedUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/> * <element name="PricePerUnit" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/> * <element name="ProjectId" minOccurs="0"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <maxLength value="20"/> * </restriction> * </simpleType> * </element> * <element name="ProjectObjectId" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> * <element name="RemainingCost" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/> * <element name="RemainingUnits" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/> * <element name="UnitOfMeasure" minOccurs="0"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <maxLength value="30"/> * </restriction> * </simpleType> * </element> * <element name="Vendor" minOccurs="0"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <maxLength value="100"/> * </restriction> * </simpleType> * </element> * <element name="WBSObjectId" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> * <element name="UDF" type="{http://xmlns.oracle.com/Primavera/P6/V8.3/API/BusinessObjects}UDFAssignmentType" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ActivityExpenseType", propOrder = { "accrualType", "activityId", "activityName", "activityObjectId", "actualCost", "actualUnits", "atCompletionCost", "atCompletionUnits", "autoComputeActuals", "costAccountId", "costAccountName", "costAccountObjectId", "createDate", "createUser", "documentNumber", "expenseCategoryName", "expenseCategoryObjectId", "expenseDescription", "expenseItem", "expensePercentComplete", "isBaseline", "isTemplate", "lastUpdateDate", "lastUpdateUser", "objectId", "overBudget", "plannedCost", "plannedUnits", "pricePerUnit", "projectId", "projectObjectId", "remainingCost", "remainingUnits", "unitOfMeasure", "vendor", "wbsObjectId", "udf" }) public class ActivityExpenseType { @XmlElement(name = "AccrualType") protected String accrualType; @XmlElement(name = "ActivityId") protected String activityId; @XmlElement(name = "ActivityName") protected String activityName; @XmlElement(name = "ActivityObjectId") protected Integer activityObjectId; @XmlElement(name = "ActualCost", nillable = true) protected Double actualCost; @XmlElement(name = "ActualUnits", nillable = true) protected Double actualUnits; @XmlElement(name = "AtCompletionCost", nillable = true) protected Double atCompletionCost; @XmlElement(name = "AtCompletionUnits", nillable = true) protected Double atCompletionUnits; @XmlElement(name = "AutoComputeActuals") protected Boolean autoComputeActuals; @XmlElement(name = "CostAccountId") protected String costAccountId; @XmlElement(name = "CostAccountName") protected String costAccountName; @XmlElement(name = "CostAccountObjectId", nillable = true) protected Integer costAccountObjectId; @XmlElement(name = "CreateDate", type = String.class, nillable = true) @XmlJavaTypeAdapter(Adapter1.class) @XmlSchemaType(name = "dateTime") protected Date createDate; @XmlElement(name = "CreateUser") protected String createUser; @XmlElement(name = "DocumentNumber") protected String documentNumber; @XmlElement(name = "ExpenseCategoryName") protected String expenseCategoryName; @XmlElement(name = "ExpenseCategoryObjectId", nillable = true) protected Integer expenseCategoryObjectId; @XmlElement(name = "ExpenseDescription") protected String expenseDescription; @XmlElement(name = "ExpenseItem") protected String expenseItem; @XmlElement(name = "ExpensePercentComplete", nillable = true) protected Double expensePercentComplete; @XmlElement(name = "IsBaseline") protected Boolean isBaseline; @XmlElement(name = "IsTemplate") protected Boolean isTemplate; @XmlElement(name = "LastUpdateDate", type = String.class, nillable = true) @XmlJavaTypeAdapter(Adapter1.class) @XmlSchemaType(name = "dateTime") protected Date lastUpdateDate; @XmlElement(name = "LastUpdateUser") protected String lastUpdateUser; @XmlElement(name = "ObjectId") protected Integer objectId; @XmlElement(name = "OverBudget", nillable = true) protected Boolean overBudget; @XmlElement(name = "PlannedCost", nillable = true) protected Double plannedCost; @XmlElement(name = "PlannedUnits") protected Double plannedUnits; @XmlElement(name = "PricePerUnit") protected Double pricePerUnit; @XmlElement(name = "ProjectId") protected String projectId; @XmlElement(name = "ProjectObjectId") protected Integer projectObjectId; @XmlElement(name = "RemainingCost", nillable = true) protected Double remainingCost; @XmlElement(name = "RemainingUnits") protected Double remainingUnits; @XmlElement(name = "UnitOfMeasure") protected String unitOfMeasure; @XmlElement(name = "Vendor") protected String vendor; @XmlElement(name = "WBSObjectId", nillable = true) protected Integer wbsObjectId; @XmlElement(name = "UDF") protected List<UDFAssignmentType> udf; /** * Gets the value of the accrualType property. * * @return * possible object is * {@link String } * */ public String getAccrualType() { return accrualType; } /** * Sets the value of the accrualType property. * * @param value * allowed object is * {@link String } * */ public void setAccrualType(String value) { this.accrualType = value; } /** * Gets the value of the activityId property. * * @return * possible object is * {@link String } * */ public String getActivityId() { return activityId; } /** * Sets the value of the activityId property. * * @param value * allowed object is * {@link String } * */ public void setActivityId(String value) { this.activityId = value; } /** * Gets the value of the activityName property. * * @return * possible object is * {@link String } * */ public String getActivityName() { return activityName; } /** * Sets the value of the activityName property. * * @param value * allowed object is * {@link String } * */ public void setActivityName(String value) { this.activityName = value; } /** * Gets the value of the activityObjectId property. * * @return * possible object is * {@link Integer } * */ public Integer getActivityObjectId() { return activityObjectId; } /** * Sets the value of the activityObjectId property. * * @param value * allowed object is * {@link Integer } * */ public void setActivityObjectId(Integer value) { this.activityObjectId = value; } /** * Gets the value of the actualCost property. * * @return * possible object is * {@link Double } * */ public Double getActualCost() { return actualCost; } /** * Sets the value of the actualCost property. * * @param value * allowed object is * {@link Double } * */ public void setActualCost(Double value) { this.actualCost = value; } /** * Gets the value of the actualUnits property. * * @return * possible object is * {@link Double } * */ public Double getActualUnits() { return actualUnits; } /** * Sets the value of the actualUnits property. * * @param value * allowed object is * {@link Double } * */ public void setActualUnits(Double value) { this.actualUnits = value; } /** * Gets the value of the atCompletionCost property. * * @return * possible object is * {@link Double } * */ public Double getAtCompletionCost() { return atCompletionCost; } /** * Sets the value of the atCompletionCost property. * * @param value * allowed object is * {@link Double } * */ public void setAtCompletionCost(Double value) { this.atCompletionCost = value; } /** * Gets the value of the atCompletionUnits property. * * @return * possible object is * {@link Double } * */ public Double getAtCompletionUnits() { return atCompletionUnits; } /** * Sets the value of the atCompletionUnits property. * * @param value * allowed object is * {@link Double } * */ public void setAtCompletionUnits(Double value) { this.atCompletionUnits = value; } /** * Gets the value of the autoComputeActuals property. * * @return * possible object is * {@link Boolean } * */ public Boolean isAutoComputeActuals() { return autoComputeActuals; } /** * Sets the value of the autoComputeActuals property. * * @param value * allowed object is * {@link Boolean } * */ public void setAutoComputeActuals(Boolean value) { this.autoComputeActuals = value; } /** * Gets the value of the costAccountId property. * * @return * possible object is * {@link String } * */ public String getCostAccountId() { return costAccountId; } /** * Sets the value of the costAccountId property. * * @param value * allowed object is * {@link String } * */ public void setCostAccountId(String value) { this.costAccountId = value; } /** * Gets the value of the costAccountName property. * * @return * possible object is * {@link String } * */ public String getCostAccountName() { return costAccountName; } /** * Sets the value of the costAccountName property. * * @param value * allowed object is * {@link String } * */ public void setCostAccountName(String value) { this.costAccountName = value; } /** * Gets the value of the costAccountObjectId property. * * @return * possible object is * {@link Integer } * */ public Integer getCostAccountObjectId() { return costAccountObjectId; } /** * Sets the value of the costAccountObjectId property. * * @param value * allowed object is * {@link Integer } * */ public void setCostAccountObjectId(Integer value) { this.costAccountObjectId = value; } /** * Gets the value of the createDate property. * * @return * possible object is * {@link String } * */ public Date getCreateDate() { return createDate; } /** * Sets the value of the createDate property. * * @param value * allowed object is * {@link String } * */ public void setCreateDate(Date value) { this.createDate = value; } /** * Gets the value of the createUser property. * * @return * possible object is * {@link String } * */ public String getCreateUser() { return createUser; } /** * Sets the value of the createUser property. * * @param value * allowed object is * {@link String } * */ public void setCreateUser(String value) { this.createUser = value; } /** * Gets the value of the documentNumber property. * * @return * possible object is * {@link String } * */ public String getDocumentNumber() { return documentNumber; } /** * Sets the value of the documentNumber property. * * @param value * allowed object is * {@link String } * */ public void setDocumentNumber(String value) { this.documentNumber = value; } /** * Gets the value of the expenseCategoryName property. * * @return * possible object is * {@link String } * */ public String getExpenseCategoryName() { return expenseCategoryName; } /** * Sets the value of the expenseCategoryName property. * * @param value * allowed object is * {@link String } * */ public void setExpenseCategoryName(String value) { this.expenseCategoryName = value; } /** * Gets the value of the expenseCategoryObjectId property. * * @return * possible object is * {@link Integer } * */ public Integer getExpenseCategoryObjectId() { return expenseCategoryObjectId; } /** * Sets the value of the expenseCategoryObjectId property. * * @param value * allowed object is * {@link Integer } * */ public void setExpenseCategoryObjectId(Integer value) { this.expenseCategoryObjectId = value; } /** * Gets the value of the expenseDescription property. * * @return * possible object is * {@link String } * */ public String getExpenseDescription() { return expenseDescription; } /** * Sets the value of the expenseDescription property. * * @param value * allowed object is * {@link String } * */ public void setExpenseDescription(String value) { this.expenseDescription = value; } /** * Gets the value of the expenseItem property. * * @return * possible object is * {@link String } * */ public String getExpenseItem() { return expenseItem; } /** * Sets the value of the expenseItem property. * * @param value * allowed object is * {@link String } * */ public void setExpenseItem(String value) { this.expenseItem = value; } /** * Gets the value of the expensePercentComplete property. * * @return * possible object is * {@link Double } * */ public Double getExpensePercentComplete() { return expensePercentComplete; } /** * Sets the value of the expensePercentComplete property. * * @param value * allowed object is * {@link Double } * */ public void setExpensePercentComplete(Double value) { this.expensePercentComplete = value; } /** * Gets the value of the isBaseline property. * * @return * possible object is * {@link Boolean } * */ public Boolean isIsBaseline() { return isBaseline; } /** * Sets the value of the isBaseline property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsBaseline(Boolean value) { this.isBaseline = value; } /** * Gets the value of the isTemplate property. * * @return * possible object is * {@link Boolean } * */ public Boolean isIsTemplate() { return isTemplate; } /** * Sets the value of the isTemplate property. * * @param value * allowed object is * {@link Boolean } * */ public void setIsTemplate(Boolean value) { this.isTemplate = value; } /** * Gets the value of the lastUpdateDate property. * * @return * possible object is * {@link String } * */ public Date getLastUpdateDate() { return lastUpdateDate; } /** * Sets the value of the lastUpdateDate property. * * @param value * allowed object is * {@link String } * */ public void setLastUpdateDate(Date value) { this.lastUpdateDate = value; } /** * Gets the value of the lastUpdateUser property. * * @return * possible object is * {@link String } * */ public String getLastUpdateUser() { return lastUpdateUser; } /** * Sets the value of the lastUpdateUser property. * * @param value * allowed object is * {@link String } * */ public void setLastUpdateUser(String value) { this.lastUpdateUser = value; } /** * Gets the value of the objectId property. * * @return * possible object is * {@link Integer } * */ public Integer getObjectId() { return objectId; } /** * Sets the value of the objectId property. * * @param value * allowed object is * {@link Integer } * */ public void setObjectId(Integer value) { this.objectId = value; } /** * Gets the value of the overBudget property. * * @return * possible object is * {@link Boolean } * */ public Boolean isOverBudget() { return overBudget; } /** * Sets the value of the overBudget property. * * @param value * allowed object is * {@link Boolean } * */ public void setOverBudget(Boolean value) { this.overBudget = value; } /** * Gets the value of the plannedCost property. * * @return * possible object is * {@link Double } * */ public Double getPlannedCost() { return plannedCost; } /** * Sets the value of the plannedCost property. * * @param value * allowed object is * {@link Double } * */ public void setPlannedCost(Double value) { this.plannedCost = value; } /** * Gets the value of the plannedUnits property. * * @return * possible object is * {@link Double } * */ public Double getPlannedUnits() { return plannedUnits; } /** * Sets the value of the plannedUnits property. * * @param value * allowed object is * {@link Double } * */ public void setPlannedUnits(Double value) { this.plannedUnits = value; } /** * Gets the value of the pricePerUnit property. * * @return * possible object is * {@link Double } * */ public Double getPricePerUnit() { return pricePerUnit; } /** * Sets the value of the pricePerUnit property. * * @param value * allowed object is * {@link Double } * */ public void setPricePerUnit(Double value) { this.pricePerUnit = value; } /** * Gets the value of the projectId property. * * @return * possible object is * {@link String } * */ public String getProjectId() { return projectId; } /** * Sets the value of the projectId property. * * @param value * allowed object is * {@link String } * */ public void setProjectId(String value) { this.projectId = value; } /** * Gets the value of the projectObjectId property. * * @return * possible object is * {@link Integer } * */ public Integer getProjectObjectId() { return projectObjectId; } /** * Sets the value of the projectObjectId property. * * @param value * allowed object is * {@link Integer } * */ public void setProjectObjectId(Integer value) { this.projectObjectId = value; } /** * Gets the value of the remainingCost property. * * @return * possible object is * {@link Double } * */ public Double getRemainingCost() { return remainingCost; } /** * Sets the value of the remainingCost property. * * @param value * allowed object is * {@link Double } * */ public void setRemainingCost(Double value) { this.remainingCost = value; } /** * Gets the value of the remainingUnits property. * * @return * possible object is * {@link Double } * */ public Double getRemainingUnits() { return remainingUnits; } /** * Sets the value of the remainingUnits property. * * @param value * allowed object is * {@link Double } * */ public void setRemainingUnits(Double value) { this.remainingUnits = value; } /** * Gets the value of the unitOfMeasure property. * * @return * possible object is * {@link String } * */ public String getUnitOfMeasure() { return unitOfMeasure; } /** * Sets the value of the unitOfMeasure property. * * @param value * allowed object is * {@link String } * */ public void setUnitOfMeasure(String value) { this.unitOfMeasure = value; } /** * Gets the value of the vendor property. * * @return * possible object is * {@link String } * */ public String getVendor() { return vendor; } /** * Sets the value of the vendor property. * * @param value * allowed object is * {@link String } * */ public void setVendor(String value) { this.vendor = value; } /** * Gets the value of the wbsObjectId property. * * @return * possible object is * {@link Integer } * */ public Integer getWBSObjectId() { return wbsObjectId; } /** * Sets the value of the wbsObjectId property. * * @param value * allowed object is * {@link Integer } * */ public void setWBSObjectId(Integer value) { this.wbsObjectId = value; } /** * Gets the value of the udf 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 udf property. * * <p> * For example, to add a new item, do as follows: * <pre> * getUDF().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link UDFAssignmentType } * * */ public List<UDFAssignmentType> getUDF() { if (udf == null) { udf = new ArrayList<UDFAssignmentType>(); } return this.udf; } }