All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vmware.vim25.LicenseUsageInfo Maven / Gradle / Ivy

The newest version!

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 LicenseUsageInfo complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="LicenseUsageInfo">
 *   <complexContent>
 *     <extension base="{urn:vim25}DynamicData">
 *       <sequence>
 *         <element name="source" type="{urn:vim25}LicenseSource"/>
 *         <element name="sourceAvailable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="reservationInfo" type="{urn:vim25}LicenseReservationInfo" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="featureInfo" type="{urn:vim25}LicenseFeatureInfo" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "LicenseUsageInfo", propOrder = { "source", "sourceAvailable", "reservationInfo", "featureInfo" }) public class LicenseUsageInfo extends DynamicData { @XmlElement(required = true) protected LicenseSource source; protected boolean sourceAvailable; protected List reservationInfo; protected List featureInfo; /** * Gets the value of the source property. * * @return * possible object is * {@link LicenseSource } * */ public LicenseSource getSource() { return source; } /** * Sets the value of the source property. * * @param value * allowed object is * {@link LicenseSource } * */ public void setSource(LicenseSource value) { this.source = value; } /** * Gets the value of the sourceAvailable property. * */ public boolean isSourceAvailable() { return sourceAvailable; } /** * Sets the value of the sourceAvailable property. * */ public void setSourceAvailable(boolean value) { this.sourceAvailable = value; } /** * Gets the value of the reservationInfo 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 reservationInfo property. * *

* For example, to add a new item, do as follows: *

     *    getReservationInfo().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link LicenseReservationInfo } * * */ public List getReservationInfo() { if (reservationInfo == null) { reservationInfo = new ArrayList(); } return this.reservationInfo; } /** * Gets the value of the featureInfo 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 featureInfo property. * *

* For example, to add a new item, do as follows: *

     *    getFeatureInfo().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link LicenseFeatureInfo } * * */ public List getFeatureInfo() { if (featureInfo == null) { featureInfo = new ArrayList(); } return this.featureInfo; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy