com.vmware.vim25.IscsiMigrationDependency 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.XmlType;
/**
* Java class for IscsiMigrationDependency complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="IscsiMigrationDependency">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="migrationAllowed" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="disallowReason" type="{urn:vim25}IscsiStatus" minOccurs="0"/>
* <element name="dependency" type="{urn:vim25}IscsiDependencyEntity" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "IscsiMigrationDependency", propOrder = {
"migrationAllowed",
"disallowReason",
"dependency"
})
public class IscsiMigrationDependency
extends DynamicData
{
protected boolean migrationAllowed;
protected IscsiStatus disallowReason;
protected List dependency;
/**
* Gets the value of the migrationAllowed property.
*
*/
public boolean isMigrationAllowed() {
return migrationAllowed;
}
/**
* Sets the value of the migrationAllowed property.
*
*/
public void setMigrationAllowed(boolean value) {
this.migrationAllowed = value;
}
/**
* Gets the value of the disallowReason property.
*
* @return
* possible object is
* {@link IscsiStatus }
*
*/
public IscsiStatus getDisallowReason() {
return disallowReason;
}
/**
* Sets the value of the disallowReason property.
*
* @param value
* allowed object is
* {@link IscsiStatus }
*
*/
public void setDisallowReason(IscsiStatus value) {
this.disallowReason = value;
}
/**
* Gets the value of the dependency 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 dependency property.
*
*
* For example, to add a new item, do as follows:
*
* getDependency().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link IscsiDependencyEntity }
*
*
*/
public List getDependency() {
if (dependency == null) {
dependency = new ArrayList();
}
return this.dependency;
}
}