public class ApexComponent extends Metadata
Java class for ApexComponent complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ApexComponent">
<complexContent>
<extension base="{urn:metadata.tooling.soap.sforce.com}Metadata">
<sequence>
<element name="apiVersion" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="label" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="packageVersions" type="{urn:metadata.tooling.soap.sforce.com}PackageVersion" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Double |
apiVersion |
protected String |
description |
protected String |
label |
protected List<PackageVersion> |
packageVersions |
| Constructor and Description |
|---|
ApexComponent() |
| Modifier and Type | Method and Description |
|---|---|
Double |
getApiVersion()
Gets the value of the apiVersion property.
|
String |
getDescription()
Gets the value of the description property.
|
String |
getLabel()
Gets the value of the label property.
|
List<PackageVersion> |
getPackageVersions()
Gets the value of the packageVersions property.
|
void |
setApiVersion(Double value)
Sets the value of the apiVersion property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setLabel(String value)
Sets the value of the label property.
|
protected Double apiVersion
protected String description
protected String label
protected List<PackageVersion> packageVersions
public Double getApiVersion()
Doublepublic void setApiVersion(Double value)
value - allowed object is
Doublepublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic String getLabel()
Stringpublic void setLabel(String value)
value - allowed object is
Stringpublic 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
Copyright © 2016. All rights reserved.