![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.vim25.DvsScopeViolated Maven / Gradle / Ivy
package com.vmware.vim25;
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 DvsScopeViolated complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DvsScopeViolated">
* <complexContent>
* <extension base="{urn:vim25}DvsFault">
* <sequence>
* <element name="scope" type="{urn:vim25}ManagedObjectReference" maxOccurs="unbounded"/>
* <element name="entity" type="{urn:vim25}ManagedObjectReference"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DvsScopeViolated", propOrder = {
"scope",
"entity"
})
public class DvsScopeViolated
extends DvsFault
{
@XmlElement(required = true)
protected List scope;
@XmlElement(required = true)
protected ManagedObjectReference entity;
/**
* Gets the value of the scope 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 scope property.
*
*
* For example, to add a new item, do as follows:
*
* getScope().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ManagedObjectReference }
*
*
*/
public List getScope() {
if (scope == null) {
scope = new ArrayList();
}
return this.scope;
}
/**
* Gets the value of the entity property.
*
* @return
* possible object is
* {@link ManagedObjectReference }
*
*/
public ManagedObjectReference getEntity() {
return entity;
}
/**
* Sets the value of the entity property.
*
* @param value
* allowed object is
* {@link ManagedObjectReference }
*
*/
public void setEntity(ManagedObjectReference value) {
this.entity = value;
}
}