Updated XmlType annotations

This commit is contained in:
Andrew Donald Kennedy 2012-04-10 18:06:16 +01:00
parent 0e01520240
commit 2cfe215592
5 changed files with 6 additions and 4 deletions

View File

@ -25,6 +25,7 @@ import java.util.Set;
import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import com.google.common.base.Objects; import com.google.common.base.Objects;
import com.google.common.collect.ImmutableSet; import com.google.common.collect.ImmutableSet;
@ -41,6 +42,7 @@ import com.google.common.collect.Sets;
* @author Adam Lowe * @author Adam Lowe
*/ */
@XmlRootElement(name = "DeploymentOptionSection") @XmlRootElement(name = "DeploymentOptionSection")
@XmlType(name = "DeploymentOptionSection_Type")
public class DeploymentOptionSection extends SectionType { public class DeploymentOptionSection extends SectionType {
public static Builder<?> builder() { public static Builder<?> builder() {

View File

@ -23,6 +23,7 @@ import static com.google.common.base.Preconditions.checkNotNull;
import java.util.Set; import java.util.Set;
import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import com.google.common.base.Objects; import com.google.common.base.Objects;
import com.google.common.collect.ImmutableSet; import com.google.common.collect.ImmutableSet;
@ -35,6 +36,7 @@ import com.google.common.collect.Sets;
* @author Adam Lowe * @author Adam Lowe
*/ */
@XmlRootElement(name = "NetworkSection") @XmlRootElement(name = "NetworkSection")
@XmlType(name = "NetworkSection_Type")
public class NetworkSection extends SectionType { public class NetworkSection extends SectionType {
public static Builder<?> builder() { public static Builder<?> builder() {

View File

@ -23,7 +23,6 @@ import static org.jclouds.dmtf.DMTFConstants.OVF_NS;
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 com.google.common.base.Objects; import com.google.common.base.Objects;
@ -34,7 +33,6 @@ import com.google.common.base.Objects;
* @author Adrian Cole * @author Adrian Cole
* @author Adam Lowe * @author Adam Lowe
*/ */
@XmlRootElement(name = "OperatingSystemSection")
@XmlType(name = "OperatingSystemSection_Type") @XmlType(name = "OperatingSystemSection_Type")
public class OperatingSystemSection extends SectionType { public class OperatingSystemSection extends SectionType {

View File

@ -26,6 +26,7 @@ import java.util.List;
import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import com.google.common.base.Objects; import com.google.common.base.Objects;
import com.google.common.base.Objects.ToStringHelper; import com.google.common.base.Objects.ToStringHelper;
@ -40,6 +41,7 @@ import com.google.common.collect.Lists;
* </pre> * </pre>
*/ */
@XmlRootElement(name = "StartupSection") @XmlRootElement(name = "StartupSection")
@XmlType(name = "StartupSection_Type")
public class StartupSection extends SectionType { public class StartupSection extends SectionType {
public static Builder<?> builder() { public static Builder<?> builder() {

View File

@ -25,7 +25,6 @@ import java.util.Set;
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.cim.ResourceAllocationSettingData; import org.jclouds.dmtf.cim.ResourceAllocationSettingData;
@ -47,7 +46,6 @@ import com.google.common.collect.Sets;
* @author Adam Lowe * @author Adam Lowe
* @author grkvlt@apache.org * @author grkvlt@apache.org
*/ */
@XmlRootElement(name = "VirtualHardwareSection")
@XmlType(name = "VirtualHardwareSection_Type") @XmlType(name = "VirtualHardwareSection_Type")
public class VirtualHardwareSection extends SectionType { public class VirtualHardwareSection extends SectionType {