diff options
author | beckerdo <beckerdo@13f79535-47bb-0310-9956-ffa450edef68> | 2009-02-17 19:28:56 +0000 |
---|---|---|
committer | beckerdo <beckerdo@13f79535-47bb-0310-9956-ffa450edef68> | 2009-02-17 19:28:56 +0000 |
commit | 66ea374501091e6400bb48fd46a9cf53fc206d71 (patch) | |
tree | 95538d8d0e77246a79016d50fc15f01e7389eb10 /branches/sca-java-1.x/samples/holder-ws-service/src/main/java/org/example/orderservice/ReviewOrder.java | |
parent | cfb39602a8bf97742fc1c45f8ec3250c16c9364a (diff) |
TUSCANY 2855 - Adding Holder WS Sample
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@745207 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | branches/sca-java-1.x/samples/holder-ws-service/src/main/java/org/example/orderservice/ReviewOrder.java | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/branches/sca-java-1.x/samples/holder-ws-service/src/main/java/org/example/orderservice/ReviewOrder.java b/branches/sca-java-1.x/samples/holder-ws-service/src/main/java/org/example/orderservice/ReviewOrder.java new file mode 100644 index 0000000000..9e7192a0d0 --- /dev/null +++ b/branches/sca-java-1.x/samples/holder-ws-service/src/main/java/org/example/orderservice/ReviewOrder.java @@ -0,0 +1,64 @@ + +package org.example.orderservice; + +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; + + +/** + * <p>Java class for anonymous complex type. + * + * <p>The following schema fragment specifies the expected content contained within this class. + * + * <pre> + * <complexType> + * <complexContent> + * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> + * <sequence> + * <element name="myData" type="{http://www.example.org/OrderService/}order"/> + * </sequence> + * </restriction> + * </complexContent> + * </complexType> + * </pre> + * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "myData" +}) +@XmlRootElement(name = "reviewOrder") +public class ReviewOrder { + + @XmlElement(required = true) + protected Order myData; + + /** + * Gets the value of the myData property. + * + * @return + * possible object is + * {@link Order } + * + */ + public Order getMyData() { + return myData; + } + + /** + * Sets the value of the myData property. + * + * @param value + * allowed object is + * {@link Order } + * + */ + public void setMyData(Order value) { + this.myData = value; + } + +} |