com.vmware.pbm.PbmComplianceResult 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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import com.vmware.vim25.DynamicData;
import com.vmware.vim25.LocalizedMethodFault;
/**
* Java class for PbmComplianceResult complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PbmComplianceResult">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="checkTime" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
* <element name="entity" type="{urn:pbm}PbmServerObjectRef"/>
* <element name="profile" type="{urn:pbm}PbmProfileId" minOccurs="0"/>
* <element name="complianceTaskStatus" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="complianceStatus" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="mismatch" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="violatedPolicies" type="{urn:pbm}PbmCompliancePolicyStatus" maxOccurs="unbounded" minOccurs="0"/>
* <element name="errorCause" type="{urn:vim25}LocalizedMethodFault" maxOccurs="unbounded" minOccurs="0"/>
* <element name="operationalStatus" type="{urn:pbm}PbmComplianceOperationalStatus" minOccurs="0"/>
* <element name="info" type="{urn:pbm}PbmExtendedElementDescription" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PbmComplianceResult", propOrder = {
"checkTime",
"entity",
"profile",
"complianceTaskStatus",
"complianceStatus",
"mismatch",
"violatedPolicies",
"errorCause",
"operationalStatus",
"info"
})
public class PbmComplianceResult
extends DynamicData
{
@XmlElement(required = true)
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar checkTime;
@XmlElement(required = true)
protected PbmServerObjectRef entity;
protected PbmProfileId profile;
protected String complianceTaskStatus;
@XmlElement(required = true)
protected String complianceStatus;
protected boolean mismatch;
protected List violatedPolicies;
protected List errorCause;
protected PbmComplianceOperationalStatus operationalStatus;
protected PbmExtendedElementDescription info;
/**
* Gets the value of the checkTime property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getCheckTime() {
return checkTime;
}
/**
* Sets the value of the checkTime property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setCheckTime(XMLGregorianCalendar value) {
this.checkTime = value;
}
/**
* Gets the value of the entity property.
*
* @return
* possible object is
* {@link PbmServerObjectRef }
*
*/
public PbmServerObjectRef getEntity() {
return entity;
}
/**
* Sets the value of the entity property.
*
* @param value
* allowed object is
* {@link PbmServerObjectRef }
*
*/
public void setEntity(PbmServerObjectRef value) {
this.entity = value;
}
/**
* Gets the value of the profile property.
*
* @return
* possible object is
* {@link PbmProfileId }
*
*/
public PbmProfileId getProfile() {
return profile;
}
/**
* Sets the value of the profile property.
*
* @param value
* allowed object is
* {@link PbmProfileId }
*
*/
public void setProfile(PbmProfileId value) {
this.profile = value;
}
/**
* Gets the value of the complianceTaskStatus property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getComplianceTaskStatus() {
return complianceTaskStatus;
}
/**
* Sets the value of the complianceTaskStatus property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setComplianceTaskStatus(String value) {
this.complianceTaskStatus = value;
}
/**
* Gets the value of the complianceStatus property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getComplianceStatus() {
return complianceStatus;
}
/**
* Sets the value of the complianceStatus property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setComplianceStatus(String value) {
this.complianceStatus = value;
}
/**
* Gets the value of the mismatch property.
*
*/
public boolean isMismatch() {
return mismatch;
}
/**
* Sets the value of the mismatch property.
*
*/
public void setMismatch(boolean value) {
this.mismatch = value;
}
/**
* Gets the value of the violatedPolicies 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 violatedPolicies property.
*
*
* For example, to add a new item, do as follows:
*
* getViolatedPolicies().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PbmCompliancePolicyStatus }
*
*
*/
public List getViolatedPolicies() {
if (violatedPolicies == null) {
violatedPolicies = new ArrayList();
}
return this.violatedPolicies;
}
/**
* Gets the value of the errorCause 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 errorCause property.
*
*
* For example, to add a new item, do as follows:
*
* getErrorCause().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link LocalizedMethodFault }
*
*
*/
public List getErrorCause() {
if (errorCause == null) {
errorCause = new ArrayList();
}
return this.errorCause;
}
/**
* Gets the value of the operationalStatus property.
*
* @return
* possible object is
* {@link PbmComplianceOperationalStatus }
*
*/
public PbmComplianceOperationalStatus getOperationalStatus() {
return operationalStatus;
}
/**
* Sets the value of the operationalStatus property.
*
* @param value
* allowed object is
* {@link PbmComplianceOperationalStatus }
*
*/
public void setOperationalStatus(PbmComplianceOperationalStatus value) {
this.operationalStatus = value;
}
/**
* Gets the value of the info property.
*
* @return
* possible object is
* {@link PbmExtendedElementDescription }
*
*/
public PbmExtendedElementDescription getInfo() {
return info;
}
/**
* Sets the value of the info property.
*
* @param value
* allowed object is
* {@link PbmExtendedElementDescription }
*
*/
public void setInfo(PbmExtendedElementDescription value) {
this.info = value;
}
}