com.microsoft.wsman.shell.EnvironmentVariableList Maven / Gradle / Ivy
Show all versions of bedrock-runtime-windows Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2020.07.22 at 02:53:45 PM EET
//
package com.microsoft.wsman.shell;
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 EnvironmentVariableList complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="EnvironmentVariableList">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded">
* <element name="Variable" type="{http://schemas.microsoft.com/wbem/wsman/1/windows/shell}EnvironmentVariable"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "EnvironmentVariableList", propOrder = {
"variable"
})
public class EnvironmentVariableList {
@XmlElement(name = "Variable", required = true)
protected List variable;
/**
* Gets the value of the variable 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 variable property.
*
*
* For example, to add a new item, do as follows:
*
* getVariable().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link EnvironmentVariable }
*
*
*/
public List getVariable() {
if (variable == null) {
variable = new ArrayList();
}
return this.variable;
}
public boolean isSetVariable() {
return ((this.variable!= null)&&(!this.variable.isEmpty()));
}
public void unsetVariable() {
this.variable = null;
}
}