com.vmware.vim25.HostDigestInfo 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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for HostDigestInfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="HostDigestInfo">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="digestMethod" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="digestValue" type="{http://www.w3.org/2001/XMLSchema}byte" maxOccurs="unbounded"/>
* <element name="objectName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "HostDigestInfo", propOrder = {
"digestMethod",
"digestValue",
"objectName"
})
@XmlSeeAlso({
HostTpmDigestInfo.class
})
public class HostDigestInfo
extends DynamicData
{
@XmlElement(required = true)
protected String digestMethod;
@XmlElement(type = Byte.class)
protected List digestValue;
protected String objectName;
/**
* Gets the value of the digestMethod property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDigestMethod() {
return digestMethod;
}
/**
* Sets the value of the digestMethod property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDigestMethod(String value) {
this.digestMethod = value;
}
/**
* Gets the value of the digestValue 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 digestValue property.
*
*
* For example, to add a new item, do as follows:
*
* getDigestValue().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Byte }
*
*
*/
public List getDigestValue() {
if (digestValue == null) {
digestValue = new ArrayList();
}
return this.digestValue;
}
/**
* Gets the value of the objectName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getObjectName() {
return objectName;
}
/**
* Sets the value of the objectName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setObjectName(String value) {
this.objectName = value;
}
}