![JAR search and dependency download from the Maven repository](/logo.png)
com.vmware.pbm.PbmCapabilityMetadata 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 PbmCapabilityMetadata complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PbmCapabilityMetadata">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="id" type="{urn:pbm}PbmCapabilityMetadataUniqueId"/>
* <element name="summary" type="{urn:pbm}PbmExtendedElementDescription"/>
* <element name="mandatory" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="hint" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="keyId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="allowMultipleConstraints" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="propertyMetadata" type="{urn:pbm}PbmCapabilityPropertyMetadata" maxOccurs="unbounded"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PbmCapabilityMetadata", propOrder = {
"id",
"summary",
"mandatory",
"hint",
"keyId",
"allowMultipleConstraints",
"propertyMetadata"
})
public class PbmCapabilityMetadata
extends DynamicData
{
@XmlElement(required = true)
protected PbmCapabilityMetadataUniqueId id;
@XmlElement(required = true)
protected PbmExtendedElementDescription summary;
protected Boolean mandatory;
protected Boolean hint;
protected String keyId;
protected Boolean allowMultipleConstraints;
@XmlElement(required = true)
protected List propertyMetadata;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link PbmCapabilityMetadataUniqueId }
*
*/
public PbmCapabilityMetadataUniqueId getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link PbmCapabilityMetadataUniqueId }
*
*/
public void setId(PbmCapabilityMetadataUniqueId value) {
this.id = value;
}
/**
* Gets the value of the summary property.
*
* @return
* possible object is
* {@link PbmExtendedElementDescription }
*
*/
public PbmExtendedElementDescription getSummary() {
return summary;
}
/**
* Sets the value of the summary property.
*
* @param value
* allowed object is
* {@link PbmExtendedElementDescription }
*
*/
public void setSummary(PbmExtendedElementDescription value) {
this.summary = value;
}
/**
* Gets the value of the mandatory property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isMandatory() {
return mandatory;
}
/**
* Sets the value of the mandatory property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setMandatory(Boolean value) {
this.mandatory = value;
}
/**
* Gets the value of the hint property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isHint() {
return hint;
}
/**
* Sets the value of the hint property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setHint(Boolean value) {
this.hint = value;
}
/**
* Gets the value of the keyId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getKeyId() {
return keyId;
}
/**
* Sets the value of the keyId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setKeyId(String value) {
this.keyId = value;
}
/**
* Gets the value of the allowMultipleConstraints property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isAllowMultipleConstraints() {
return allowMultipleConstraints;
}
/**
* Sets the value of the allowMultipleConstraints property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setAllowMultipleConstraints(Boolean value) {
this.allowMultipleConstraints = value;
}
/**
* Gets the value of the propertyMetadata 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 propertyMetadata property.
*
*
* For example, to add a new item, do as follows:
*
* getPropertyMetadata().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PbmCapabilityPropertyMetadata }
*
*
*/
public List getPropertyMetadata() {
if (propertyMetadata == null) {
propertyMetadata = new ArrayList();
}
return this.propertyMetadata;
}
}