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:23 UTC
[14/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/CreateVpnGatewayResponse.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/CreateVpnGatewayResponse.java b/awsapi/src/com/amazon/ec2/CreateVpnGatewayResponse.java
index 0d3e40e..e10b761 100644
--- a/awsapi/src/com/amazon/ec2/CreateVpnGatewayResponse.java
+++ b/awsapi/src/com/amazon/ec2/CreateVpnGatewayResponse.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.
/**
* CreateVpnGatewayResponse.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/",
"CreateVpnGatewayResponse",
"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/","CreateVpnGatewayResponse").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","CreateVpnGatewayResponse").equals(reader.getName())){
object.setCreateVpnGatewayResponse(com.amazon.ec2.CreateVpnGatewayResponseType.Factory.parse(reader));
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/CreateVpnGatewayResponseType.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/CreateVpnGatewayResponseType.java b/awsapi/src/com/amazon/ec2/CreateVpnGatewayResponseType.java
index 290aff4..30df2c7 100644
--- a/awsapi/src/com/amazon/ec2/CreateVpnGatewayResponseType.java
+++ b/awsapi/src/com/amazon/ec2/CreateVpnGatewayResponseType.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.
/**
* CreateVpnGatewayResponseType.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 = CreateVpnGatewayResponseType
- 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+":CreateVpnGatewayResponseType",
@@ -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 (localVpnGateway==null){
throw new org.apache.axis2.databinding.ADBException("vpnGateway cannot be null!!");
}
- localVpnGateway.serialize(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","vpnGateway"),
+ localVpnGateway.serialize(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","vpnGateway"),
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/",
"vpnGateway"));
@@ -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/","vpnGateway").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","vpnGateway").equals(reader.getName())){
object.setVpnGateway(com.amazon.ec2.VpnGatewayType.Factory.parse(reader));
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/CreateVpnGatewayType.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/CreateVpnGatewayType.java b/awsapi/src/com/amazon/ec2/CreateVpnGatewayType.java
index e9988d2..b03538b 100644
--- a/awsapi/src/com/amazon/ec2/CreateVpnGatewayType.java
+++ b/awsapi/src/com/amazon/ec2/CreateVpnGatewayType.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.
/**
* CreateVpnGatewayType.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 = CreateVpnGatewayType
- 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();
@@ -204,7 +188,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+":CreateVpnGatewayType",
@@ -218,7 +202,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);
@@ -252,7 +236,7 @@
xmlWriter.writeEndElement();
if (localAvailabilityZoneTracker){
- 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);
@@ -448,7 +432,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/",
"type"));
if (localType != null){
@@ -457,7 +441,7 @@
throw new org.apache.axis2.databinding.ADBException("type cannot be null!!");
}
if (localAvailabilityZoneTracker){
- 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/",
"availabilityZone"));
if (localAvailabilityZone != null){
@@ -544,7 +528,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","type").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","type").equals(reader.getName())){
java.lang.String content = reader.getElementText();
@@ -563,7 +547,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","availabilityZone").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","availabilityZone").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/CustomerGatewayIdSetItemType.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/CustomerGatewayIdSetItemType.java b/awsapi/src/com/amazon/ec2/CustomerGatewayIdSetItemType.java
index ac3c015..b2de817 100644
--- a/awsapi/src/com/amazon/ec2/CustomerGatewayIdSetItemType.java
+++ b/awsapi/src/com/amazon/ec2/CustomerGatewayIdSetItemType.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.
/**
* CustomerGatewayIdSetItemType.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 = CustomerGatewayIdSetItemType
- 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+":CustomerGatewayIdSetItemType",
@@ -174,7 +158,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);
@@ -370,7 +354,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/",
"customerGatewayId"));
if (localCustomerGatewayId != null){
@@ -457,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/","customerGatewayId").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","customerGatewayId").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/CustomerGatewayIdSetType.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/CustomerGatewayIdSetType.java b/awsapi/src/com/amazon/ec2/CustomerGatewayIdSetType.java
index e8ea4fc..9b0c23b 100644
--- a/awsapi/src/com/amazon/ec2/CustomerGatewayIdSetType.java
+++ b/awsapi/src/com/amazon/ec2/CustomerGatewayIdSetType.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.
/**
* CustomerGatewayIdSetType.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 = CustomerGatewayIdSetType
- 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+":CustomerGatewayIdSetType",
@@ -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.CustomerGatewayIdSetItemType.Factory.parse(reader));
}else{
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/CustomerGatewaySetType.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/CustomerGatewaySetType.java b/awsapi/src/com/amazon/ec2/CustomerGatewaySetType.java
index a3dfef5..be2efeb 100644
--- a/awsapi/src/com/amazon/ec2/CustomerGatewaySetType.java
+++ b/awsapi/src/com/amazon/ec2/CustomerGatewaySetType.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.
/**
* CustomerGatewaySetType.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 = CustomerGatewaySetType
- 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+":CustomerGatewaySetType",
@@ -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.CustomerGatewayType.Factory.parse(reader));
}else{
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/CustomerGatewayType.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/CustomerGatewayType.java b/awsapi/src/com/amazon/ec2/CustomerGatewayType.java
index 45de172..30f2e4e 100644
--- a/awsapi/src/com/amazon/ec2/CustomerGatewayType.java
+++ b/awsapi/src/com/amazon/ec2/CustomerGatewayType.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.
/**
* CustomerGatewayType.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 = CustomerGatewayType
- 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();
@@ -174,6 +158,12 @@
protected int localBgpAsn ;
+ /* 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 localBgpAsnTracker = false ;
+
/**
* Auto generated getter method
@@ -191,6 +181,15 @@
*/
public void setBgpAsn(int param){
+ // setting primitive attribute tracker to true
+
+ if (param==java.lang.Integer.MIN_VALUE) {
+ localBgpAsnTracker = false;
+
+ } else {
+ localBgpAsnTracker = true;
+ }
+
this.localBgpAsn=param;
@@ -324,7 +323,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+":CustomerGatewayType",
@@ -338,7 +337,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);
@@ -372,7 +371,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);
@@ -406,7 +405,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);
@@ -440,7 +439,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);
@@ -473,8 +472,8 @@
}
xmlWriter.writeEndElement();
-
- namespace = "http://ec2.amazonaws.com/doc/2010-11-15/";
+ if (localBgpAsnTracker){
+ namespace = "http://ec2.amazonaws.com/doc/2012-08-15/";
if (! namespace.equals("")) {
prefix = xmlWriter.getPrefix(namespace);
@@ -502,11 +501,11 @@
}
xmlWriter.writeEndElement();
- if (localTagSetTracker){
+ } 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/2010-11-15/","tagSet"),
+ localTagSet.serialize(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","tagSet"),
factory,xmlWriter);
}
xmlWriter.writeEndElement();
@@ -671,7 +670,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/",
"customerGatewayId"));
if (localCustomerGatewayId != null){
@@ -680,7 +679,7 @@
throw new org.apache.axis2.databinding.ADBException("customerGatewayId 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){
@@ -689,7 +688,7 @@
throw new org.apache.axis2.databinding.ADBException("state 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/",
"type"));
if (localType != null){
@@ -698,7 +697,7 @@
throw new org.apache.axis2.databinding.ADBException("type 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/",
"ipAddress"));
if (localIpAddress != null){
@@ -706,14 +705,14 @@
} else {
throw new org.apache.axis2.databinding.ADBException("ipAddress cannot be null!!");
}
-
- elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
+ if (localBgpAsnTracker){
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
"bgpAsn"));
elementList.add(
org.apache.axis2.databinding.utils.ConverterUtil.convertToString(localBgpAsn));
- if (localTagSetTracker){
- elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/",
+ } if (localTagSetTracker){
+ elementList.add(new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/",
"tagSet"));
@@ -800,7 +799,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","customerGatewayId").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","customerGatewayId").equals(reader.getName())){
java.lang.String content = reader.getElementText();
@@ -819,7 +818,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();
@@ -838,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/","type").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","type").equals(reader.getName())){
java.lang.String content = reader.getElementText();
@@ -857,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/","ipAddress").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","ipAddress").equals(reader.getName())){
java.lang.String content = reader.getElementText();
@@ -876,7 +875,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","bgpAsn").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","bgpAsn").equals(reader.getName())){
java.lang.String content = reader.getElementText();
@@ -887,15 +886,16 @@
} // End of if for expected property start element
- 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());
- }
-
+ else {
+
+ object.setBgpAsn(java.lang.Integer.MIN_VALUE);
+
+ }
+
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","tagSet").equals(reader.getName())){
+ 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));
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/DeactivateLicense.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/DeactivateLicense.java b/awsapi/src/com/amazon/ec2/DeactivateLicense.java
index 89c967f..5904552 100644
--- a/awsapi/src/com/amazon/ec2/DeactivateLicense.java
+++ b/awsapi/src/com/amazon/ec2/DeactivateLicense.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.
/**
* DeactivateLicense.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/",
"DeactivateLicense",
"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/","DeactivateLicense").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","DeactivateLicense").equals(reader.getName())){
object.setDeactivateLicense(com.amazon.ec2.DeactivateLicenseType.Factory.parse(reader));
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/DeactivateLicenseResponse.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/DeactivateLicenseResponse.java b/awsapi/src/com/amazon/ec2/DeactivateLicenseResponse.java
index 8df5b4c..fefa475 100644
--- a/awsapi/src/com/amazon/ec2/DeactivateLicenseResponse.java
+++ b/awsapi/src/com/amazon/ec2/DeactivateLicenseResponse.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.
/**
* DeactivateLicenseResponse.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/",
"DeactivateLicenseResponse",
"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/","DeactivateLicenseResponse").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","DeactivateLicenseResponse").equals(reader.getName())){
object.setDeactivateLicenseResponse(com.amazon.ec2.DeactivateLicenseResponseType.Factory.parse(reader));
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/DeactivateLicenseResponseType.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/DeactivateLicenseResponseType.java b/awsapi/src/com/amazon/ec2/DeactivateLicenseResponseType.java
index f2ffa68..7daff81 100644
--- a/awsapi/src/com/amazon/ec2/DeactivateLicenseResponseType.java
+++ b/awsapi/src/com/amazon/ec2/DeactivateLicenseResponseType.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.
/**
* DeactivateLicenseResponseType.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 = DeactivateLicenseResponseType
- 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+":DeactivateLicenseResponseType",
@@ -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);
@@ -429,7 +413,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){
@@ -438,7 +422,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/",
"return"));
elementList.add(
@@ -522,7 +506,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();
@@ -541,7 +525,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();
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/DeactivateLicenseType.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/DeactivateLicenseType.java b/awsapi/src/com/amazon/ec2/DeactivateLicenseType.java
index 8b58bc0..607558a 100644
--- a/awsapi/src/com/amazon/ec2/DeactivateLicenseType.java
+++ b/awsapi/src/com/amazon/ec2/DeactivateLicenseType.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.
/**
* DeactivateLicenseType.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 = DeactivateLicenseType
- 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+":DeactivateLicenseType",
@@ -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);
@@ -429,7 +413,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/",
"licenseId"));
if (localLicenseId != null){
@@ -438,7 +422,7 @@
throw new org.apache.axis2.databinding.ADBException("licenseId 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/",
"capacity"));
elementList.add(
@@ -522,7 +506,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","licenseId").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","licenseId").equals(reader.getName())){
java.lang.String content = reader.getElementText();
@@ -541,7 +525,7 @@
while (!reader.isStartElement() && !reader.isEndElement()) reader.next();
- if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2010-11-15/","capacity").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","capacity").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/DeleteCustomerGateway.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/DeleteCustomerGateway.java b/awsapi/src/com/amazon/ec2/DeleteCustomerGateway.java
index b84e098..0e4fe35 100644
--- a/awsapi/src/com/amazon/ec2/DeleteCustomerGateway.java
+++ b/awsapi/src/com/amazon/ec2/DeleteCustomerGateway.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.
/**
* DeleteCustomerGateway.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/",
"DeleteCustomerGateway",
"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/","DeleteCustomerGateway").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","DeleteCustomerGateway").equals(reader.getName())){
object.setDeleteCustomerGateway(com.amazon.ec2.DeleteCustomerGatewayType.Factory.parse(reader));
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/DeleteCustomerGatewayResponse.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/DeleteCustomerGatewayResponse.java b/awsapi/src/com/amazon/ec2/DeleteCustomerGatewayResponse.java
index 790c490..83c3985 100644
--- a/awsapi/src/com/amazon/ec2/DeleteCustomerGatewayResponse.java
+++ b/awsapi/src/com/amazon/ec2/DeleteCustomerGatewayResponse.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.
/**
* DeleteCustomerGatewayResponse.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/",
"DeleteCustomerGatewayResponse",
"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/","DeleteCustomerGatewayResponse").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","DeleteCustomerGatewayResponse").equals(reader.getName())){
object.setDeleteCustomerGatewayResponse(com.amazon.ec2.DeleteCustomerGatewayResponseType.Factory.parse(reader));
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/DeleteCustomerGatewayResponseType.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/DeleteCustomerGatewayResponseType.java b/awsapi/src/com/amazon/ec2/DeleteCustomerGatewayResponseType.java
index 0d0c893..f8232e1 100644
--- a/awsapi/src/com/amazon/ec2/DeleteCustomerGatewayResponseType.java
+++ b/awsapi/src/com/amazon/ec2/DeleteCustomerGatewayResponseType.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.
/**
* DeleteCustomerGatewayResponseType.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 = DeleteCustomerGatewayResponseType
- 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+":DeleteCustomerGatewayResponseType",
@@ -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);
@@ -429,7 +413,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){
@@ -438,7 +422,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/",
"return"));
elementList.add(
@@ -522,7 +506,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();
@@ -541,7 +525,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();
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/33df54ed/awsapi/src/com/amazon/ec2/DeleteCustomerGatewayType.java
----------------------------------------------------------------------
diff --git a/awsapi/src/com/amazon/ec2/DeleteCustomerGatewayType.java b/awsapi/src/com/amazon/ec2/DeleteCustomerGatewayType.java
index 5e1fec8..58f4b05 100644
--- a/awsapi/src/com/amazon/ec2/DeleteCustomerGatewayType.java
+++ b/awsapi/src/com/amazon/ec2/DeleteCustomerGatewayType.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.
/**
* DeleteCustomerGatewayType.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 = DeleteCustomerGatewayType
- 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+":DeleteCustomerGatewayType",
@@ -174,7 +158,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);
@@ -370,7 +354,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/",
"customerGatewayId"));
if (localCustomerGatewayId != null){
@@ -457,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/","customerGatewayId").equals(reader.getName())){
+ if (reader.isStartElement() && new javax.xml.namespace.QName("http://ec2.amazonaws.com/doc/2012-08-15/","customerGatewayId").equals(reader.getName())){
java.lang.String content = reader.getElementText();