public class CodeCoverageResult extends Object
Java class for CodeCoverageResult complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CodeCoverageResult">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="id" type="{urn:tooling.soap.sforce.com}ID"/>
<element name="locationsNotCovered" type="{urn:tooling.soap.sforce.com}CodeLocation" maxOccurs="unbounded" minOccurs="0"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="namespace" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="numLocations" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="numLocationsNotCovered" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
id |
protected List<CodeLocation> |
locationsNotCovered |
protected String |
name |
protected String |
namespace |
protected int |
numLocations |
protected int |
numLocationsNotCovered |
protected String |
type |
| Constructor and Description |
|---|
CodeCoverageResult() |
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Gets the value of the id property.
|
List<CodeLocation> |
getLocationsNotCovered()
Gets the value of the locationsNotCovered property.
|
String |
getName()
Gets the value of the name property.
|
String |
getNamespace()
Gets the value of the namespace property.
|
int |
getNumLocations()
Gets the value of the numLocations property.
|
int |
getNumLocationsNotCovered()
Gets the value of the numLocationsNotCovered property.
|
String |
getType()
Gets the value of the type property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setNamespace(String value)
Sets the value of the namespace property.
|
void |
setNumLocations(int value)
Sets the value of the numLocations property.
|
void |
setNumLocationsNotCovered(int value)
Sets the value of the numLocationsNotCovered property.
|
void |
setType(String value)
Sets the value of the type property.
|
protected String id
protected List<CodeLocation> locationsNotCovered
protected String name
protected String namespace
protected int numLocations
protected int numLocationsNotCovered
protected String type
public void setId(String value)
value - allowed object is
Stringpublic List<CodeLocation> getLocationsNotCovered()
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 locationsNotCovered property.
For example, to add a new item, do as follows:
getLocationsNotCovered().add(newItem);
Objects of the following type(s) are allowed in the list
CodeLocation
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getNamespace()
Stringpublic void setNamespace(String value)
value - allowed object is
Stringpublic int getNumLocations()
public void setNumLocations(int value)
public int getNumLocationsNotCovered()
public void setNumLocationsNotCovered(int value)
public String getType()
StringCopyright © 2016. All rights reserved.