public class ApexTrigger extends Metadata
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>
| Modifier and Type | Field and Description |
|---|---|
protected double |
apiVersion |
protected List<PackageVersion> |
packageVersions |
protected ApexCodeUnitStatus |
status |
| Constructor and Description |
|---|
ApexTrigger() |
| Modifier and Type | Method and Description |
|---|---|
double |
getApiVersion()
Gets the value of the apiVersion property.
|
List<PackageVersion> |
getPackageVersions()
Gets the value of the packageVersions property.
|
ApexCodeUnitStatus |
getStatus()
Gets the value of the status property.
|
void |
setApiVersion(double value)
Sets the value of the apiVersion property.
|
void |
setStatus(ApexCodeUnitStatus value)
Sets the value of the status property.
|
protected double apiVersion
protected List<PackageVersion> packageVersions
protected ApexCodeUnitStatus status
public double getApiVersion()
public void setApiVersion(double value)
public List<PackageVersion> getPackageVersions()
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
PackageVersion
public ApexCodeUnitStatus getStatus()
ApexCodeUnitStatuspublic void setStatus(ApexCodeUnitStatus value)
value - allowed object is
ApexCodeUnitStatusCopyright © 2016. All rights reserved.