You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by li...@apache.org on 2013/07/04 08:28:40 UTC
[31/71] [abbrv] [partial] CLOUDSTACK-1444. Contains regenerated JAVA
stubs and services.xml obtained by generating code from ec2 wsdl 2012-08-15
[Support for EC2 API version 2012-08-15]
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/CancelSpotInstanceRequestsResponseSetItemType.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/CancelSpotInstanceRequestsResponseSetItemType.java b/awsapi/src/com/amazon/ec2/CancelSpotInstanceRequestsResponseSetItemType.java
index 93efbf8..a99518e 100644
--- a/awsapi/src/com/amazon/ec2/CancelSpotInstanceRequestsResponseSetItemType.java
+++ b/awsapi/src/com/amazon/ec2/CancelSpotInstanceRequestsResponseSetItemType.java
@@ -1,25 +1,9 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied. See the License for the
-// specific language governing permissions and limitations
-// under the License.
/**
* CancelSpotInstanceRequestsResponseSetItemType.java
*
* This file was auto-generated from WSDL
- * by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:34 EDT)
+ * by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:01:01 CEST)
*/
package com.amazon.ec2;
@@ -33,13 +17,13 @@
implements org.apache.axis2.databinding.ADBBean{
/* This type was generated from the piece of schema that had
name = CancelSpotInstanceRequestsResponseSetItemType
- Namespace URI = http://ec2.amazonaws.com/doc/2010-11-15/
+ Namespace URI = http://ec2.amazonaws.com/doc/2012-08-15/
Namespace Prefix = ns1
*/
private static java.lang.String generatePrefix(java.lang.String namespace) {
- if(namespace.equals("http://ec2.amazonaws.com/doc/2010-11-15/")){
+ if(namespace.equals("http://ec2.amazonaws.com/doc/2012-08-15/")){
return "ns1";
}
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
@@ -190,7 +174,7 @@
if (serializeType){
- java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2010-11-15/");
+ java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2012-08-15/");
if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){
writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type",
namespacePrefix+":CancelSpotInstanceRequestsResponseSetItemType",
@@ -204,7 +188,7 @@
}
- namespace = "http://ec2.amazonaws.com/doc/2010-11-15/";
+ namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
if (! namespace.equals("")) {
prefix = xmlWriter.getPrefix(namespace);
@@ -238,7 +222,7 @@
xmlWriter.writeEndElement();
- namespace = "http://ec2.amazonaws.com/doc/2010-11-15/";
+ namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
if (! namespace.equals("")) {
prefix = xmlWriter.getPrefix(namespace);
@@ -434,7 +418,7 @@
java.util.ArrayList attribList = new java.util.ArrayList();
- elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
"spotInstanceRequestId"));
if (localSpotInstanceRequestId != null){
@@ -443,7 +427,7 @@
throw new org.apache.axis2.databinding.ADBException("spotInstanceRequestId cannot be null!!");
}
- elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
"state"));
if (localState != null){
@@ -530,7 +514,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","spotInstanceRequestId").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","spotInstanceRequestId").equals(reader.getName())){
java.lang.String content = reader.getElementText();
@@ -549,7 +533,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","state").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","state").equals(reader.getName())){
java.lang.String content = reader.getElementText();
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/CancelSpotInstanceRequestsResponseSetType.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/CancelSpotInstanceRequestsResponseSetType.java b/awsapi/src/com/amazon/ec2/CancelSpotInstanceRequestsResponseSetType.java
index 7331856..8cf225c 100644
--- a/awsapi/src/com/amazon/ec2/CancelSpotInstanceRequestsResponseSetType.java
+++ b/awsapi/src/com/amazon/ec2/CancelSpotInstanceRequestsResponseSetType.java
@@ -1,25 +1,9 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied. See the License for the
-// specific language governing permissions and limitations
-// under the License.
/**
* CancelSpotInstanceRequestsResponseSetType.java
*
* This file was auto-generated from WSDL
- * by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:34 EDT)
+ * by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:01:01 CEST)
*/
package com.amazon.ec2;
@@ -33,13 +17,13 @@
implements org.apache.axis2.databinding.ADBBean{
/* This type was generated from the piece of schema that had
name = CancelSpotInstanceRequestsResponseSetType
- Namespace URI = http://ec2.amazonaws.com/doc/2010-11-15/
+ Namespace URI = http://ec2.amazonaws.com/doc/2012-08-15/
Namespace Prefix = ns1
*/
private static java.lang.String generatePrefix(java.lang.String namespace) {
- if(namespace.equals("http://ec2.amazonaws.com/doc/2010-11-15/")){
+ if(namespace.equals("http://ec2.amazonaws.com/doc/2012-08-15/")){
return "ns1";
}
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
@@ -199,7 +183,7 @@
if (serializeType){
- java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2010-11-15/");
+ java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2012-08-15/");
if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){
writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type",
namespacePrefix+":CancelSpotInstanceRequestsResponseSetType",
@@ -216,7 +200,7 @@
if (localItem!=null){
for (int i = 0;i < localItem.length;i++){
if (localItem[i] != null){
- localItem[i].serialize(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","item"),
+ localItem[i].serialize(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","item"),
factory,xmlWriter);
} else {
@@ -397,7 +381,7 @@
for (int i = 0;i < localItem.length;i++){
if (localItem[i] != null){
- elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
"item"));
elementList.add(localItem[i]);
} else {
@@ -494,7 +478,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","item").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","item").equals(reader.getName())){
@@ -516,7 +500,7 @@
//two continuous end elements means we are exiting the xml structure
loopDone1 = true;
} else {
- if (new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","item").equals(reader.getName())){
+ if (new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","item").equals(reader.getName())){
list1.add(com.amazon.ec2.CancelSpotInstanceRequestsResponseSetItemType.Factory.parse(reader));
}else{
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/CancelSpotInstanceRequestsResponseType.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/CancelSpotInstanceRequestsResponseType.java b/awsapi/src/com/amazon/ec2/CancelSpotInstanceRequestsResponseType.java
index 37e99a3..3da3703 100644
--- a/awsapi/src/com/amazon/ec2/CancelSpotInstanceRequestsResponseType.java
+++ b/awsapi/src/com/amazon/ec2/CancelSpotInstanceRequestsResponseType.java
@@ -1,25 +1,9 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied. See the License for the
-// specific language governing permissions and limitations
-// under the License.
/**
* CancelSpotInstanceRequestsResponseType.java
*
* This file was auto-generated from WSDL
- * by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:34 EDT)
+ * by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:01:01 CEST)
*/
package com.amazon.ec2;
@@ -33,13 +17,13 @@
implements org.apache.axis2.databinding.ADBBean{
/* This type was generated from the piece of schema that had
name = CancelSpotInstanceRequestsResponseType
- Namespace URI = http://ec2.amazonaws.com/doc/2010-11-15/
+ Namespace URI = http://ec2.amazonaws.com/doc/2012-08-15/
Namespace Prefix = ns1
*/
private static java.lang.String generatePrefix(java.lang.String namespace) {
- if(namespace.equals("http://ec2.amazonaws.com/doc/2010-11-15/")){
+ if(namespace.equals("http://ec2.amazonaws.com/doc/2012-08-15/")){
return "ns1";
}
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
@@ -190,7 +174,7 @@
if (serializeType){
- java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2010-11-15/");
+ java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2012-08-15/");
if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){
writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type",
namespacePrefix+":CancelSpotInstanceRequestsResponseType",
@@ -204,7 +188,7 @@
}
- namespace = "http://ec2.amazonaws.com/doc/2010-11-15/";
+ namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
if (! namespace.equals("")) {
prefix = xmlWriter.getPrefix(namespace);
@@ -241,7 +225,7 @@
if (localSpotInstanceRequestSet==null){
throw new org.apache.axis2.databinding.ADBException("spotInstanceRequestSet cannot be null!!");
}
- localSpotInstanceRequestSet.serialize(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","spotInstanceRequestSet"),
+ localSpotInstanceRequestSet.serialize(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","spotInstanceRequestSet"),
factory,xmlWriter);
xmlWriter.writeEndElement();
@@ -406,7 +390,7 @@
java.util.ArrayList attribList = new java.util.ArrayList();
- elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
"requestId"));
if (localRequestId != null){
@@ -415,7 +399,7 @@
throw new org.apache.axis2.databinding.ADBException("requestId cannot be null!!");
}
- elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
"spotInstanceRequestSet"));
@@ -502,7 +486,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","requestId").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","requestId").equals(reader.getName())){
java.lang.String content = reader.getElementText();
@@ -521,7 +505,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","spotInstanceRequestSet").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","spotInstanceRequestSet").equals(reader.getName())){
object.setSpotInstanceRequestSet(com.amazon.ec2.CancelSpotInstanceRequestsResponseSetType.Factory.parse(reader));
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/CancelSpotInstanceRequestsType.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/CancelSpotInstanceRequestsType.java b/awsapi/src/com/amazon/ec2/CancelSpotInstanceRequestsType.java
index 6cc7c93..2b810b5 100644
--- a/awsapi/src/com/amazon/ec2/CancelSpotInstanceRequestsType.java
+++ b/awsapi/src/com/amazon/ec2/CancelSpotInstanceRequestsType.java
@@ -1,25 +1,9 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied. See the License for the
-// specific language governing permissions and limitations
-// under the License.
/**
* CancelSpotInstanceRequestsType.java
*
* This file was auto-generated from WSDL
- * by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:34 EDT)
+ * by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:01:01 CEST)
*/
package com.amazon.ec2;
@@ -33,13 +17,13 @@
implements org.apache.axis2.databinding.ADBBean{
/* This type was generated from the piece of schema that had
name = CancelSpotInstanceRequestsType
- Namespace URI = http://ec2.amazonaws.com/doc/2010-11-15/
+ Namespace URI = http://ec2.amazonaws.com/doc/2012-08-15/
Namespace Prefix = ns1
*/
private static java.lang.String generatePrefix(java.lang.String namespace) {
- if(namespace.equals("http://ec2.amazonaws.com/doc/2010-11-15/")){
+ if(namespace.equals("http://ec2.amazonaws.com/doc/2012-08-15/")){
return "ns1";
}
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
@@ -160,7 +144,7 @@
if (serializeType){
- java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2010-11-15/");
+ java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2012-08-15/");
if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){
writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type",
namespacePrefix+":CancelSpotInstanceRequestsType",
@@ -177,7 +161,7 @@
if (localSpotInstanceRequestIdSet==null){
throw new org.apache.axis2.databinding.ADBException("spotInstanceRequestIdSet cannot be null!!");
}
- localSpotInstanceRequestIdSet.serialize(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","spotInstanceRequestIdSet"),
+ localSpotInstanceRequestIdSet.serialize(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","spotInstanceRequestIdSet"),
factory,xmlWriter);
xmlWriter.writeEndElement();
@@ -342,7 +326,7 @@
java.util.ArrayList attribList = new java.util.ArrayList();
- elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
"spotInstanceRequestIdSet"));
@@ -429,7 +413,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","spotInstanceRequestIdSet").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","spotInstanceRequestIdSet").equals(reader.getName())){
object.setSpotInstanceRequestIdSet(com.amazon.ec2.SpotInstanceRequestIdSetType.Factory.parse(reader));
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/ConfirmProductInstance.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/ConfirmProductInstance.java b/awsapi/src/com/amazon/ec2/ConfirmProductInstance.java
index 5288dea..64db4bc 100644
--- a/awsapi/src/com/amazon/ec2/ConfirmProductInstance.java
+++ b/awsapi/src/com/amazon/ec2/ConfirmProductInstance.java
@@ -1,25 +1,9 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied. See the License for the
-// specific language governing permissions and limitations
-// under the License.
/**
* ConfirmProductInstance.java
*
* This file was auto-generated from WSDL
- * by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:34 EDT)
+ * by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:01:01 CEST)
*/
package com.amazon.ec2;
@@ -33,14 +17,14 @@
implements org.apache.axis2.databinding.ADBBean{
public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName(
- "http://ec2.amazonaws.com/doc/2010-11-15/",
+ "http://ec2.amazonaws.com/doc/2012-08-15/",
"ConfirmProductInstance",
"ns1");
private static java.lang.String generatePrefix(java.lang.String namespace) {
- if(namespace.equals("http://ec2.amazonaws.com/doc/2010-11-15/")){
+ if(namespace.equals("http://ec2.amazonaws.com/doc/2012-08-15/")){
return "ns1";
}
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
@@ -343,7 +327,7 @@
while(!reader.isEndElement()) {
if (reader.isStartElement() ){
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","ConfirmProductInstance").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","ConfirmProductInstance").equals(reader.getName())){
object.setConfirmProductInstance(com.amazon.ec2.ConfirmProductInstanceType.Factory.parse(reader));
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/ConfirmProductInstanceResponse.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/ConfirmProductInstanceResponse.java b/awsapi/src/com/amazon/ec2/ConfirmProductInstanceResponse.java
index 56bde3d..b5541b6 100644
--- a/awsapi/src/com/amazon/ec2/ConfirmProductInstanceResponse.java
+++ b/awsapi/src/com/amazon/ec2/ConfirmProductInstanceResponse.java
@@ -1,25 +1,9 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied. See the License for the
-// specific language governing permissions and limitations
-// under the License.
/**
* ConfirmProductInstanceResponse.java
*
* This file was auto-generated from WSDL
- * by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:34 EDT)
+ * by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:01:01 CEST)
*/
package com.amazon.ec2;
@@ -33,14 +17,14 @@
implements org.apache.axis2.databinding.ADBBean{
public static final javax.xml.namespace.QName MY_QNAME = new javax.xml.namespace.QName(
- "http://ec2.amazonaws.com/doc/2010-11-15/",
+ "http://ec2.amazonaws.com/doc/2012-08-15/",
"ConfirmProductInstanceResponse",
"ns1");
private static java.lang.String generatePrefix(java.lang.String namespace) {
- if(namespace.equals("http://ec2.amazonaws.com/doc/2010-11-15/")){
+ if(namespace.equals("http://ec2.amazonaws.com/doc/2012-08-15/")){
return "ns1";
}
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
@@ -343,7 +327,7 @@
while(!reader.isEndElement()) {
if (reader.isStartElement() ){
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","ConfirmProductInstanceResponse").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","ConfirmProductInstanceResponse").equals(reader.getName())){
object.setConfirmProductInstanceResponse(com.amazon.ec2.ConfirmProductInstanceResponseType.Factory.parse(reader));
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/ConfirmProductInstanceResponseType.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/ConfirmProductInstanceResponseType.java b/awsapi/src/com/amazon/ec2/ConfirmProductInstanceResponseType.java
index ddbfd00..14cf24f 100644
--- a/awsapi/src/com/amazon/ec2/ConfirmProductInstanceResponseType.java
+++ b/awsapi/src/com/amazon/ec2/ConfirmProductInstanceResponseType.java
@@ -1,25 +1,9 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied. See the License for the
-// specific language governing permissions and limitations
-// under the License.
/**
* ConfirmProductInstanceResponseType.java
*
* This file was auto-generated from WSDL
- * by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:34 EDT)
+ * by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:01:01 CEST)
*/
package com.amazon.ec2;
@@ -33,13 +17,13 @@
implements org.apache.axis2.databinding.ADBBean{
/* This type was generated from the piece of schema that had
name = ConfirmProductInstanceResponseType
- Namespace URI = http://ec2.amazonaws.com/doc/2010-11-15/
+ Namespace URI = http://ec2.amazonaws.com/doc/2012-08-15/
Namespace Prefix = ns1
*/
private static java.lang.String generatePrefix(java.lang.String namespace) {
- if(namespace.equals("http://ec2.amazonaws.com/doc/2010-11-15/")){
+ if(namespace.equals("http://ec2.amazonaws.com/doc/2012-08-15/")){
return "ns1";
}
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
@@ -234,7 +218,7 @@
if (serializeType){
- java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2010-11-15/");
+ java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2012-08-15/");
if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){
writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type",
namespacePrefix+":ConfirmProductInstanceResponseType",
@@ -248,7 +232,7 @@
}
- namespace = "http://ec2.amazonaws.com/doc/2010-11-15/";
+ namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
if (! namespace.equals("")) {
prefix = xmlWriter.getPrefix(namespace);
@@ -282,7 +266,7 @@
xmlWriter.writeEndElement();
- namespace = "http://ec2.amazonaws.com/doc/2010-11-15/";
+ namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
if (! namespace.equals("")) {
prefix = xmlWriter.getPrefix(namespace);
@@ -311,7 +295,7 @@
xmlWriter.writeEndElement();
if (localOwnerIdTracker){
- namespace = "http://ec2.amazonaws.com/doc/2010-11-15/";
+ namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
if (! namespace.equals("")) {
prefix = xmlWriter.getPrefix(namespace);
@@ -507,7 +491,7 @@
java.util.ArrayList attribList = new java.util.ArrayList();
- elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
"requestId"));
if (localRequestId != null){
@@ -516,13 +500,13 @@
throw new org.apache.axis2.databinding.ADBException("requestId cannot be null!!");
}
- elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
"return"));
elementList.add(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(local_return));
if (localOwnerIdTracker){
- elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
"ownerId"));
if (localOwnerId != null){
@@ -609,7 +593,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","requestId").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","requestId").equals(reader.getName())){
java.lang.String content = reader.getElementText();
@@ -628,7 +612,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","return").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","return").equals(reader.getName())){
java.lang.String content = reader.getElementText();
@@ -647,7 +631,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","ownerId").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","ownerId").equals(reader.getName())){
java.lang.String content = reader.getElementText();
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/ConfirmProductInstanceType.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/ConfirmProductInstanceType.java b/awsapi/src/com/amazon/ec2/ConfirmProductInstanceType.java
index 51cd3d2..3d39a57 100644
--- a/awsapi/src/com/amazon/ec2/ConfirmProductInstanceType.java
+++ b/awsapi/src/com/amazon/ec2/ConfirmProductInstanceType.java
@@ -1,25 +1,9 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied. See the License for the
-// specific language governing permissions and limitations
-// under the License.
/**
* ConfirmProductInstanceType.java
*
* This file was auto-generated from WSDL
- * by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:34 EDT)
+ * by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:01:01 CEST)
*/
package com.amazon.ec2;
@@ -33,13 +17,13 @@
implements org.apache.axis2.databinding.ADBBean{
/* This type was generated from the piece of schema that had
name = ConfirmProductInstanceType
- Namespace URI = http://ec2.amazonaws.com/doc/2010-11-15/
+ Namespace URI = http://ec2.amazonaws.com/doc/2012-08-15/
Namespace Prefix = ns1
*/
private static java.lang.String generatePrefix(java.lang.String namespace) {
- if(namespace.equals("http://ec2.amazonaws.com/doc/2010-11-15/")){
+ if(namespace.equals("http://ec2.amazonaws.com/doc/2012-08-15/")){
return "ns1";
}
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
@@ -190,7 +174,7 @@
if (serializeType){
- java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2010-11-15/");
+ java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2012-08-15/");
if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){
writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type",
namespacePrefix+":ConfirmProductInstanceType",
@@ -204,7 +188,7 @@
}
- namespace = "http://ec2.amazonaws.com/doc/2010-11-15/";
+ namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
if (! namespace.equals("")) {
prefix = xmlWriter.getPrefix(namespace);
@@ -238,7 +222,7 @@
xmlWriter.writeEndElement();
- namespace = "http://ec2.amazonaws.com/doc/2010-11-15/";
+ namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
if (! namespace.equals("")) {
prefix = xmlWriter.getPrefix(namespace);
@@ -434,7 +418,7 @@
java.util.ArrayList attribList = new java.util.ArrayList();
- elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
"productCode"));
if (localProductCode != null){
@@ -443,7 +427,7 @@
throw new org.apache.axis2.databinding.ADBException("productCode cannot be null!!");
}
- elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
"instanceId"));
if (localInstanceId != null){
@@ -530,7 +514,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","productCode").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","productCode").equals(reader.getName())){
java.lang.String content = reader.getElementText();
@@ -549,7 +533,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","instanceId").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","instanceId").equals(reader.getName())){
java.lang.String content = reader.getElementText();
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/ConversionTaskIdItemType.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/ConversionTaskIdItemType.java b/awsapi/src/com/amazon/ec2/ConversionTaskIdItemType.java
index 0540340..198b837 100644
--- a/awsapi/src/com/amazon/ec2/ConversionTaskIdItemType.java
+++ b/awsapi/src/com/amazon/ec2/ConversionTaskIdItemType.java
@@ -1,25 +1,9 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied. See the License for the
-// specific language governing permissions and limitations
-// under the License.
/**
* ConversionTaskIdItemType.java
*
* This file was auto-generated from WSDL
- * by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:34 EDT)
+ * by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:01:01 CEST)
*/
package com.amazon.ec2;
@@ -33,13 +17,13 @@
implements org.apache.axis2.databinding.ADBBean{
/* This type was generated from the piece of schema that had
name = ConversionTaskIdItemType
- Namespace URI = http://ec2.amazonaws.com/doc/2010-11-15/
+ Namespace URI = http://ec2.amazonaws.com/doc/2012-08-15/
Namespace Prefix = ns1
*/
private static java.lang.String generatePrefix(java.lang.String namespace) {
- if(namespace.equals("http://ec2.amazonaws.com/doc/2010-11-15/")){
+ if(namespace.equals("http://ec2.amazonaws.com/doc/2012-08-15/")){
return "ns1";
}
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
@@ -54,12 +38,6 @@
protected java.lang.String localConversionTaskId ;
- /* This tracker boolean wil be used to detect whether the user called the set method
- * for this attribute. It will be used to determine whether to include this field
- * in the serialized XML
- */
- protected boolean localConversionTaskIdTracker = false ;
-
/**
* Auto generated getter method
@@ -77,14 +55,6 @@
*/
public void setConversionTaskId(java.lang.String param){
- if (param != null){
- //update the setting tracker
- localConversionTaskIdTracker = true;
- } else {
- localConversionTaskIdTracker = false;
-
- }
-
this.localConversionTaskId=param;
@@ -174,7 +144,7 @@
if (serializeType){
- java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2010-11-15/");
+ java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2012-08-15/");
if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){
writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type",
namespacePrefix+":ConversionTaskIdItemType",
@@ -187,8 +157,8 @@
}
- if (localConversionTaskIdTracker){
- namespace = "http://ec2.amazonaws.com/doc/2010-11-15/";
+
+ namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
if (! namespace.equals("")) {
prefix = xmlWriter.getPrefix(namespace);
@@ -221,7 +191,7 @@
}
xmlWriter.writeEndElement();
- }
+
xmlWriter.writeEndElement();
@@ -383,8 +353,8 @@
java.util.ArrayList elementList = new java.util.ArrayList();
java.util.ArrayList attribList = new java.util.ArrayList();
- if (localConversionTaskIdTracker){
- elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
+
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
"conversionTaskId"));
if (localConversionTaskId != null){
@@ -392,7 +362,7 @@
} else {
throw new org.apache.axis2.databinding.ADBException("conversionTaskId cannot be null!!");
}
- }
+
return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray());
@@ -471,7 +441,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","conversionTaskId").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","conversionTaskId").equals(reader.getName())){
java.lang.String content = reader.getElementText();
@@ -482,10 +452,11 @@
} // End of if for expected property start element
- else {
-
- }
-
+ else{
+ // A start element we are not expecting indicates an invalid parameter was passed
+ throw new org.apache.axis2.databinding.ADBException("Unexpected subelement " + reader.getLocalName());
+ }
+
while (!reader.isStartElement() && !reader.isEndElement())
reader.next();
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/ConversionTaskIdSetType.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/ConversionTaskIdSetType.java b/awsapi/src/com/amazon/ec2/ConversionTaskIdSetType.java
index 4c673ca..582bcf9 100644
--- a/awsapi/src/com/amazon/ec2/ConversionTaskIdSetType.java
+++ b/awsapi/src/com/amazon/ec2/ConversionTaskIdSetType.java
@@ -1,25 +1,9 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied. See the License for the
-// specific language governing permissions and limitations
-// under the License.
/**
* ConversionTaskIdSetType.java
*
* This file was auto-generated from WSDL
- * by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:34 EDT)
+ * by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:01:01 CEST)
*/
package com.amazon.ec2;
@@ -33,13 +17,13 @@
implements org.apache.axis2.databinding.ADBBean{
/* This type was generated from the piece of schema that had
name = ConversionTaskIdSetType
- Namespace URI = http://ec2.amazonaws.com/doc/2010-11-15/
+ Namespace URI = http://ec2.amazonaws.com/doc/2012-08-15/
Namespace Prefix = ns1
*/
private static java.lang.String generatePrefix(java.lang.String namespace) {
- if(namespace.equals("http://ec2.amazonaws.com/doc/2010-11-15/")){
+ if(namespace.equals("http://ec2.amazonaws.com/doc/2012-08-15/")){
return "ns1";
}
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
@@ -212,7 +196,7 @@
if (serializeType){
- java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2010-11-15/");
+ java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2012-08-15/");
if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){
writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type",
namespacePrefix+":ConversionTaskIdSetType",
@@ -229,7 +213,7 @@
if (localItem!=null){
for (int i = 0;i < localItem.length;i++){
if (localItem[i] != null){
- localItem[i].serialize(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","item"),
+ localItem[i].serialize(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","item"),
factory,xmlWriter);
} else {
@@ -410,7 +394,7 @@
for (int i = 0;i < localItem.length;i++){
if (localItem[i] != null){
- elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
"item"));
elementList.add(localItem[i]);
} else {
@@ -507,7 +491,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","item").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","item").equals(reader.getName())){
@@ -529,7 +513,7 @@
//two continuous end elements means we are exiting the xml structure
loopDone1 = true;
} else {
- if (new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","item").equals(reader.getName())){
+ if (new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","item").equals(reader.getName())){
list1.add(com.amazon.ec2.ConversionTaskIdItemType.Factory.parse(reader));
}else{
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/ConversionTaskSetType.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/ConversionTaskSetType.java b/awsapi/src/com/amazon/ec2/ConversionTaskSetType.java
index de63f54..b2cb323 100644
--- a/awsapi/src/com/amazon/ec2/ConversionTaskSetType.java
+++ b/awsapi/src/com/amazon/ec2/ConversionTaskSetType.java
@@ -1,25 +1,9 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied. See the License for the
-// specific language governing permissions and limitations
-// under the License.
/**
* ConversionTaskSetType.java
*
* This file was auto-generated from WSDL
- * by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:34 EDT)
+ * by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:01:01 CEST)
*/
package com.amazon.ec2;
@@ -33,13 +17,13 @@
implements org.apache.axis2.databinding.ADBBean{
/* This type was generated from the piece of schema that had
name = ConversionTaskSetType
- Namespace URI = http://ec2.amazonaws.com/doc/2010-11-15/
+ Namespace URI = http://ec2.amazonaws.com/doc/2012-08-15/
Namespace Prefix = ns1
*/
private static java.lang.String generatePrefix(java.lang.String namespace) {
- if(namespace.equals("http://ec2.amazonaws.com/doc/2010-11-15/")){
+ if(namespace.equals("http://ec2.amazonaws.com/doc/2012-08-15/")){
return "ns1";
}
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
@@ -212,7 +196,7 @@
if (serializeType){
- java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2010-11-15/");
+ java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2012-08-15/");
if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){
writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type",
namespacePrefix+":ConversionTaskSetType",
@@ -229,7 +213,7 @@
if (localItem!=null){
for (int i = 0;i < localItem.length;i++){
if (localItem[i] != null){
- localItem[i].serialize(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","item"),
+ localItem[i].serialize(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","item"),
factory,xmlWriter);
} else {
@@ -410,7 +394,7 @@
for (int i = 0;i < localItem.length;i++){
if (localItem[i] != null){
- elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
"item"));
elementList.add(localItem[i]);
} else {
@@ -507,7 +491,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","item").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","item").equals(reader.getName())){
@@ -529,7 +513,7 @@
//two continuous end elements means we are exiting the xml structure
loopDone1 = true;
} else {
- if (new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","item").equals(reader.getName())){
+ if (new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","item").equals(reader.getName())){
list1.add(com.amazon.ec2.ConversionTaskType.Factory.parse(reader));
}else{
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/ConversionTaskType.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/ConversionTaskType.java b/awsapi/src/com/amazon/ec2/ConversionTaskType.java
index 750261b..a7916d1 100644
--- a/awsapi/src/com/amazon/ec2/ConversionTaskType.java
+++ b/awsapi/src/com/amazon/ec2/ConversionTaskType.java
@@ -1,25 +1,9 @@
-// Licensed to the Apache Software Foundation (ASF) under one
-// or more contributor license agreements. See the NOTICE file
-// distributed with this work for additional information
-// regarding copyright ownership. The ASF licenses this file
-// to you under the Apache License, Version 2.0 (the
-// "License"); you may not use this file except in compliance
-// with the License. You may obtain a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied. See the License for the
-// specific language governing permissions and limitations
-// under the License.
/**
* ConversionTaskType.java
*
* This file was auto-generated from WSDL
- * by the Apache Axis2 version: 1.5.1 Built on : Oct 19, 2009 (10:59:34 EDT)
+ * by the Apache Axis2 version: 1.5.6 Built on : Aug 30, 2011 (10:01:01 CEST)
*/
package com.amazon.ec2;
@@ -33,13 +17,13 @@
implements org.apache.axis2.databinding.ADBBean{
/* This type was generated from the piece of schema that had
name = ConversionTaskType
- Namespace URI = http://ec2.amazonaws.com/doc/2010-11-15/
+ Namespace URI = http://ec2.amazonaws.com/doc/2012-08-15/
Namespace Prefix = ns1
*/
private static java.lang.String generatePrefix(java.lang.String namespace) {
- if(namespace.equals("http://ec2.amazonaws.com/doc/2010-11-15/")){
+ if(namespace.equals("http://ec2.amazonaws.com/doc/2012-08-15/")){
return "ns1";
}
return org.apache.axis2.databinding.utils.BeanUtil.getUniquePrefix();
@@ -225,6 +209,50 @@
}
+ /**
+ * field for TagSet
+ */
+
+
+ protected com.amazon.ec2.ResourceTagSetType localTagSet ;
+
+ /* This tracker boolean wil be used to detect whether the user called the set method
+ * for this attribute. It will be used to determine whether to include this field
+ * in the serialized XML
+ */
+ protected boolean localTagSetTracker = false ;
+
+
+ /**
+ * Auto generated getter method
+ * @return com.amazon.ec2.ResourceTagSetType
+ */
+ public com.amazon.ec2.ResourceTagSetType getTagSet(){
+ return localTagSet;
+ }
+
+
+
+ /**
+ * Auto generated setter method
+ * @param param TagSet
+ */
+ public void setTagSet(com.amazon.ec2.ResourceTagSetType param){
+
+ if (param != null){
+ //update the setting tracker
+ localTagSetTracker = true;
+ } else {
+ localTagSetTracker = false;
+
+ }
+
+ this.localTagSet=param;
+
+
+ }
+
+
/**
* isReaderMTOMAware
* @return true if the reader supports MTOM
@@ -308,7 +336,7 @@
if (serializeType){
- java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2010-11-15/");
+ java.lang.String namespacePrefix = registerPrefix(xmlWriter,"http://ec2.amazonaws.com/doc/2012-08-15/");
if ((namespacePrefix != null) && (namespacePrefix.trim().length() > 0)){
writeAttribute("xsi","http://www.w3.org/2001/XMLSchema-instance","type",
namespacePrefix+":ConversionTaskType",
@@ -322,7 +350,7 @@
}
- namespace = "http://ec2.amazonaws.com/doc/2010-11-15/";
+ namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
if (! namespace.equals("")) {
prefix = xmlWriter.getPrefix(namespace);
@@ -356,7 +384,7 @@
xmlWriter.writeEndElement();
if (localExpirationTimeTracker){
- namespace = "http://ec2.amazonaws.com/doc/2010-11-15/";
+ namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
if (! namespace.equals("")) {
prefix = xmlWriter.getPrefix(namespace);
@@ -395,7 +423,7 @@
}
localConversionTaskTypeChoice_type0.serialize(null,factory,xmlWriter);
- namespace = "http://ec2.amazonaws.com/doc/2010-11-15/";
+ namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
if (! namespace.equals("")) {
prefix = xmlWriter.getPrefix(namespace);
@@ -429,7 +457,7 @@
xmlWriter.writeEndElement();
if (localStatusMessageTracker){
- namespace = "http://ec2.amazonaws.com/doc/2010-11-15/";
+ namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
if (! namespace.equals("")) {
prefix = xmlWriter.getPrefix(namespace);
@@ -462,7 +490,13 @@
}
xmlWriter.writeEndElement();
- }
+ } if (localTagSetTracker){
+ if (localTagSet==null){
+ throw new org.apache.axis2.databinding.ADBException("tagSet cannot be null!!");
+ }
+ localTagSet.serialize(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","tagSet"),
+ factory,xmlWriter);
+ }
xmlWriter.writeEndElement();
@@ -625,7 +659,7 @@
java.util.ArrayList attribList = new java.util.ArrayList();
- elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
"conversionTaskId"));
if (localConversionTaskId != null){
@@ -634,7 +668,7 @@
throw new org.apache.axis2.databinding.ADBException("conversionTaskId cannot be null!!");
}
if (localExpirationTimeTracker){
- elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
"expirationTime"));
if (localExpirationTime != null){
@@ -643,7 +677,7 @@
throw new org.apache.axis2.databinding.ADBException("expirationTime cannot be null!!");
}
}
- elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
"ConversionTaskTypeChoice_type0"));
@@ -652,7 +686,7 @@
}
elementList.add(localConversionTaskTypeChoice_type0);
- elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
"state"));
if (localState != null){
@@ -661,7 +695,7 @@
throw new org.apache.axis2.databinding.ADBException("state cannot be null!!");
}
if (localStatusMessageTracker){
- elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
"statusMessage"));
if (localStatusMessage != null){
@@ -669,7 +703,16 @@
} else {
throw new org.apache.axis2.databinding.ADBException("statusMessage cannot be null!!");
}
+ } if (localTagSetTracker){
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
+ "tagSet"));
+
+
+ if (localTagSet==null){
+ throw new org.apache.axis2.databinding.ADBException("tagSet cannot be null!!");
}
+ elementList.add(localTagSet);
+ }
return new org.apache.axis2.databinding.utils.reader.ADBXMLStreamReaderImpl(qName, elementList.toArray(), attribList.toArray());
@@ -748,7 +791,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","conversionTaskId").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","conversionTaskId").equals(reader.getName())){
java.lang.String content = reader.getElementText();
@@ -767,7 +810,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","expirationTime").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","expirationTime").equals(reader.getName())){
java.lang.String content = reader.getElementText();
@@ -794,7 +837,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","state").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","state").equals(reader.getName())){
java.lang.String content = reader.getElementText();
@@ -813,7 +856,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","statusMessage").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","statusMessage").equals(reader.getName())){
java.lang.String content = reader.getElementText();
@@ -827,6 +870,21 @@
else {
}
+
+
+ while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
+
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","tagSet").equals(reader.getName())){
+
+ object.setTagSet(com.amazon.ec2.ResourceTagSetType.Factory.parse(reader));
+
+ reader.next();
+
+ } // End of if for expected property start element
+
+ else {
+
+ }
while (!reader.isStartElement() && !reader.isEndElement())
reader.next();