All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sforce.soap.tooling.metadata.ApexTrigger Maven / Gradle / Ivy

The newest version!

package com.sforce.soap.tooling.metadata;

import java.util.ArrayList;
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 com.sforce.soap.tooling.ApexCodeUnitStatus;


/**
 * 

Java class for ApexTrigger complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="ApexTrigger">
 *   <complexContent>
 *     <extension base="{urn:metadata.tooling.soap.sforce.com}Metadata">
 *       <sequence>
 *         <element name="apiVersion" type="{http://www.w3.org/2001/XMLSchema}double"/>
 *         <element name="packageVersions" type="{urn:metadata.tooling.soap.sforce.com}PackageVersion" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="status" type="{urn:tooling.soap.sforce.com}ApexCodeUnitStatus"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ApexTrigger", propOrder = { "apiVersion", "packageVersions", "status" }) public class ApexTrigger extends Metadata { protected double apiVersion; protected List packageVersions; @XmlElement(required = true) @XmlSchemaType(name = "string") protected ApexCodeUnitStatus status; /** * Gets the value of the apiVersion property. * */ public double getApiVersion() { return apiVersion; } /** * Sets the value of the apiVersion property. * */ public void setApiVersion(double value) { this.apiVersion = value; } /** * Gets the value of the packageVersions property. * *

* 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 set method for the packageVersions property. * *

* For example, to add a new item, do as follows: *

     *    getPackageVersions().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link PackageVersion } * * */ public List getPackageVersions() { if (packageVersions == null) { packageVersions = new ArrayList(); } return this.packageVersions; } /** * Gets the value of the status property. * * @return * possible object is * {@link ApexCodeUnitStatus } * */ public ApexCodeUnitStatus getStatus() { return status; } /** * Sets the value of the status property. * * @param value * allowed object is * {@link ApexCodeUnitStatus } * */ public void setStatus(ApexCodeUnitStatus value) { this.status = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy