com.sforce.soap.tooling.metadata.ComponentInstance Maven / Gradle / Ivy
Show all versions of sforce-tooling-api Show documentation
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.XmlType;
/**
* Java class for ComponentInstance complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ComponentInstance">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="componentInstanceProperties" type="{urn:metadata.tooling.soap.sforce.com}ComponentInstanceProperty" maxOccurs="unbounded" minOccurs="0"/>
* <element name="componentName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ComponentInstance", propOrder = {
"componentInstanceProperties",
"componentName"
})
public class ComponentInstance {
protected List componentInstanceProperties;
@XmlElement(required = true)
protected String componentName;
/**
* Gets the value of the componentInstanceProperties 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 componentInstanceProperties property.
*
*
* For example, to add a new item, do as follows:
*
* getComponentInstanceProperties().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ComponentInstanceProperty }
*
*
*/
public List getComponentInstanceProperties() {
if (componentInstanceProperties == null) {
componentInstanceProperties = new ArrayList();
}
return this.componentInstanceProperties;
}
/**
* Gets the value of the componentName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getComponentName() {
return componentName;
}
/**
* Sets the value of the componentName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setComponentName(String value) {
this.componentName = value;
}
}