Add XmlRootElement annotation to Vm

This commit is contained in:
Andrew Donald Kennedy 2012-04-26 15:20:12 +01:00
parent b09f35fa9d
commit 4840fdaf3f
1 changed files with 5 additions and 3 deletions

View File

@ -22,6 +22,7 @@ import static com.google.common.base.Objects.equal;
import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.XmlType;
import org.jclouds.dmtf.ovf.environment.EnvironmentType; import org.jclouds.dmtf.ovf.environment.EnvironmentType;
@ -30,15 +31,16 @@ import com.google.common.base.Objects;
import com.google.common.base.Objects.ToStringHelper; import com.google.common.base.Objects.ToStringHelper;
/** /**
* Represents a VM. * Represents a virtual machine.
* *
* <pre> * <pre>
* &lt;complexType name="Vm" /&gt; * &lt;complexType name="VmType" /&gt;
* </pre> * </pre>
* *
* @author grkvlt@apache.org * @author grkvlt@apache.org
*/ */
@XmlType(name = "Vm") @XmlRootElement(name = "Vm")
@XmlType(name = "VmType")
public class Vm extends AbstractVAppType { public class Vm extends AbstractVAppType {
public static Builder<?> builder() { public static Builder<?> builder() {