
com.vmware.vim25.VmWwnAssignedEvent 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 VmWwnAssignedEvent complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="VmWwnAssignedEvent">
* <complexContent>
* <extension base="{urn:vim25}VmEvent">
* <sequence>
* <element name="nodeWwns" type="{http://www.w3.org/2001/XMLSchema}long" maxOccurs="unbounded"/>
* <element name="portWwns" type="{http://www.w3.org/2001/XMLSchema}long" maxOccurs="unbounded"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "VmWwnAssignedEvent", propOrder = {
"nodeWwns",
"portWwns"
})
public class VmWwnAssignedEvent
extends VmEvent
{
@XmlElement(type = Long.class)
protected List nodeWwns;
@XmlElement(type = Long.class)
protected List portWwns;
/**
* Gets the value of the nodeWwns 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 nodeWwns property.
*
*
* For example, to add a new item, do as follows:
*
* getNodeWwns().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Long }
*
*
*/
public List getNodeWwns() {
if (nodeWwns == null) {
nodeWwns = new ArrayList();
}
return this.nodeWwns;
}
/**
* Gets the value of the portWwns 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 portWwns property.
*
*
* For example, to add a new item, do as follows:
*
* getPortWwns().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Long }
*
*
*/
public List getPortWwns() {
if (portWwns == null) {
portWwns = new ArrayList();
}
return this.portWwns;
}
}