You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by pd...@apache.org on 2006/07/09 21:01:10 UTC
svn commit: r420332 - in
/incubator/servicemix/trunk/servicemix-sca/src/test/java/org/apache/servicemix/sca/bigbank:
account/ stockquote/
Author: pdodds
Date: Sun Jul 9 12:01:10 2006
New Revision: 420332
URL: http://svn.apache.org/viewvc?rev=420332&view=rev
Log:
Switch AccessType to XmlAccessType as per change in JAXB2 (http://forums.java.net/jive/thread.jspa?forumID=46&threadID=14599&messageID=102640#102640)
Modified:
incubator/servicemix/trunk/servicemix-sca/src/test/java/org/apache/servicemix/sca/bigbank/account/AccountReportRequest.java
incubator/servicemix/trunk/servicemix-sca/src/test/java/org/apache/servicemix/sca/bigbank/account/AccountReportResponse.java
incubator/servicemix/trunk/servicemix-sca/src/test/java/org/apache/servicemix/sca/bigbank/account/AccountSummary.java
incubator/servicemix/trunk/servicemix-sca/src/test/java/org/apache/servicemix/sca/bigbank/stockquote/StockQuoteRequest.java
incubator/servicemix/trunk/servicemix-sca/src/test/java/org/apache/servicemix/sca/bigbank/stockquote/StockQuoteResponse.java
Modified: incubator/servicemix/trunk/servicemix-sca/src/test/java/org/apache/servicemix/sca/bigbank/account/AccountReportRequest.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/servicemix-sca/src/test/java/org/apache/servicemix/sca/bigbank/account/AccountReportRequest.java?rev=420332&r1=420331&r2=420332&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-sca/src/test/java/org/apache/servicemix/sca/bigbank/account/AccountReportRequest.java (original)
+++ incubator/servicemix/trunk/servicemix-sca/src/test/java/org/apache/servicemix/sca/bigbank/account/AccountReportRequest.java Sun Jul 9 12:01:10 2006
@@ -15,20 +15,20 @@
*/
package org.apache.servicemix.sca.bigbank.account;
-import javax.xml.bind.annotation.AccessType;
+import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
-@XmlAccessorType(AccessType.FIELD)
+@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "customerID" })
@XmlRootElement(name = "AccountReportRequest")
public class AccountReportRequest {
- @XmlElement(name = "CustomerID")
+ @XmlElement(name = "CustomerID")
private String customerID;
-
+
public String getCustomerID() {
return customerID;
}
@@ -36,5 +36,5 @@
public void setCustomerID(String customerID) {
this.customerID = customerID;
}
-
+
}
Modified: incubator/servicemix/trunk/servicemix-sca/src/test/java/org/apache/servicemix/sca/bigbank/account/AccountReportResponse.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/servicemix-sca/src/test/java/org/apache/servicemix/sca/bigbank/account/AccountReportResponse.java?rev=420332&r1=420331&r2=420332&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-sca/src/test/java/org/apache/servicemix/sca/bigbank/account/AccountReportResponse.java (original)
+++ incubator/servicemix/trunk/servicemix-sca/src/test/java/org/apache/servicemix/sca/bigbank/account/AccountReportResponse.java Sun Jul 9 12:01:10 2006
@@ -17,26 +17,26 @@
import java.util.List;
-import javax.xml.bind.annotation.AccessType;
+import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
-@XmlAccessorType(AccessType.FIELD)
+@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "accountSummaries" })
@XmlRootElement(name = "AccountReportResponse")
public class AccountReportResponse {
@XmlElement(name = "AccountSummaries")
private List<AccountSummary> accountSummaries;
-
+
public List<AccountSummary> getAccountSummaries() {
return accountSummaries;
}
public void setAccountSummaries(List<AccountSummary> accountSummaries) {
this.accountSummaries = accountSummaries;
- }
-
+ }
+
}
Modified: incubator/servicemix/trunk/servicemix-sca/src/test/java/org/apache/servicemix/sca/bigbank/account/AccountSummary.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/servicemix-sca/src/test/java/org/apache/servicemix/sca/bigbank/account/AccountSummary.java?rev=420332&r1=420331&r2=420332&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-sca/src/test/java/org/apache/servicemix/sca/bigbank/account/AccountSummary.java (original)
+++ incubator/servicemix/trunk/servicemix-sca/src/test/java/org/apache/servicemix/sca/bigbank/account/AccountSummary.java Sun Jul 9 12:01:10 2006
@@ -15,45 +15,51 @@
*/
package org.apache.servicemix.sca.bigbank.account;
-import javax.xml.bind.annotation.AccessType;
+import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
-@XmlAccessorType(AccessType.FIELD)
+@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "accountNumber", "accountType", "balance" })
@XmlRootElement(name = "AccountSummary")
public class AccountSummary {
@XmlElement(name = "AccountNumber")
private String accountNumber;
+
@XmlElement(name = "AccountType")
private String accountType;
+
@XmlElement(name = "Balance")
private float balance;
-
+
public AccountSummary() {
}
-
+
public String getAccountNumber() {
return accountNumber;
}
+
public void setAccountNumber(String accountNumber) {
this.accountNumber = accountNumber;
}
+
public String getAccountType() {
return accountType;
}
+
public void setAccountType(String accountType) {
this.accountType = accountType;
}
+
public float getBalance() {
return balance;
}
+
public void setBalance(float balance) {
this.balance = balance;
}
-
-}
+}
Modified: incubator/servicemix/trunk/servicemix-sca/src/test/java/org/apache/servicemix/sca/bigbank/stockquote/StockQuoteRequest.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/servicemix-sca/src/test/java/org/apache/servicemix/sca/bigbank/stockquote/StockQuoteRequest.java?rev=420332&r1=420331&r2=420332&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-sca/src/test/java/org/apache/servicemix/sca/bigbank/stockquote/StockQuoteRequest.java (original)
+++ incubator/servicemix/trunk/servicemix-sca/src/test/java/org/apache/servicemix/sca/bigbank/stockquote/StockQuoteRequest.java Sun Jul 9 12:01:10 2006
@@ -15,18 +15,18 @@
*/
package org.apache.servicemix.sca.bigbank.stockquote;
-import javax.xml.bind.annotation.AccessType;
+import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
-@XmlAccessorType(AccessType.FIELD)
+@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "symbol" })
@XmlRootElement(name = "StockQuoteRequest")
public class StockQuoteRequest {
- @XmlElement(name = "Symbol")
+ @XmlElement(name = "Symbol")
private String symbol;
public String getSymbol() {
@@ -36,5 +36,5 @@
public void setSymbol(String symbol) {
this.symbol = symbol;
}
-
+
}
Modified: incubator/servicemix/trunk/servicemix-sca/src/test/java/org/apache/servicemix/sca/bigbank/stockquote/StockQuoteResponse.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/servicemix-sca/src/test/java/org/apache/servicemix/sca/bigbank/stockquote/StockQuoteResponse.java?rev=420332&r1=420331&r2=420332&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-sca/src/test/java/org/apache/servicemix/sca/bigbank/stockquote/StockQuoteResponse.java (original)
+++ incubator/servicemix/trunk/servicemix-sca/src/test/java/org/apache/servicemix/sca/bigbank/stockquote/StockQuoteResponse.java Sun Jul 9 12:01:10 2006
@@ -15,18 +15,18 @@
*/
package org.apache.servicemix.sca.bigbank.stockquote;
-import javax.xml.bind.annotation.AccessType;
+import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
-@XmlAccessorType(AccessType.FIELD)
+@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "result" })
@XmlRootElement(name = "StockQuoteResponse")
public class StockQuoteResponse {
- @XmlElement(name = "Result")
+ @XmlElement(name = "Result")
private float result;
public float getResult() {
@@ -36,5 +36,5 @@
public void setResult(float result) {
this.result = result;
}
-
+
}