com.vmware.pbm.PbmCapabilityMetadataPerCategory Maven / Gradle / Ivy
package com.vmware.pbm;
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;
import com.vmware.vim25.DynamicData;
/**
* Java class for PbmCapabilityMetadataPerCategory complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PbmCapabilityMetadataPerCategory">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="subCategory" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="capabilityMetadata" type="{urn:pbm}PbmCapabilityMetadata" maxOccurs="unbounded"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PbmCapabilityMetadataPerCategory", propOrder = {
"subCategory",
"capabilityMetadata"
})
public class PbmCapabilityMetadataPerCategory
extends DynamicData
{
@XmlElement(required = true)
protected String subCategory;
@XmlElement(required = true)
protected List capabilityMetadata;
/**
* Gets the value of the subCategory property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSubCategory() {
return subCategory;
}
/**
* Sets the value of the subCategory property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSubCategory(String value) {
this.subCategory = value;
}
/**
* Gets the value of the capabilityMetadata 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 capabilityMetadata property.
*
*
* For example, to add a new item, do as follows:
*
* getCapabilityMetadata().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PbmCapabilityMetadata }
*
*
*/
public List getCapabilityMetadata() {
if (capabilityMetadata == null) {
capabilityMetadata = new ArrayList();
}
return this.capabilityMetadata;
}
}