01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one
03: * or more contributor license agreements. See the NOTICE file
04: * distributed with this work for additional information
05: * regarding copyright ownership. The ASF licenses this file
06: * to you under the Apache License, Version 2.0 (the
07: * "License"); you may not use this file except in compliance
08: * with the License. You may obtain a copy of the License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing,
13: * software distributed under the License is distributed on an
14: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15: * KIND, either express or implied. See the License for the
16: * specific language governing permissions and limitations
17: * under the License.
18: */
19: package org.apache.axis2.jaxws.sample.addressbook;
20:
21: import javax.xml.bind.annotation.XmlAccessType;
22: import javax.xml.bind.annotation.XmlAccessorType;
23: import javax.xml.bind.annotation.XmlElement;
24: import javax.xml.bind.annotation.XmlRootElement;
25: import javax.xml.bind.annotation.XmlType;
26:
27: /**
28: * <p>Java class for addEntry element declaration.
29: *
30: * <p>The following schema fragment specifies the expected content contained within this class.
31: *
32: * <pre>
33: * <element name="addEntry">
34: * <complexType>
35: * <complexContent>
36: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
37: * <sequence>
38: * <element name="entry" type="{http://org/apache/axis2/jaxws/sample/addressbook}AddressBookEntry"/>
39: * </sequence>
40: * </restriction>
41: * </complexContent>
42: * </complexType>
43: * </element>
44: * </pre>
45: *
46: *
47: */
48: @XmlAccessorType(XmlAccessType.FIELD)
49: @XmlType(name="",propOrder={"entry"})
50: @XmlRootElement(name="addEntry")
51: public class AddEntry {
52:
53: @XmlElement(namespace="http://org/apache/axis2/jaxws/sample/addressbook",required=true)
54: protected AddressBookEntry entry;
55:
56: /**
57: * Gets the value of the entry property.
58: *
59: * @return
60: * possible object is
61: * {@link AddressBookEntry }
62: *
63: */
64: public AddressBookEntry getEntry() {
65: return entry;
66: }
67:
68: /**
69: * Sets the value of the entry property.
70: *
71: * @param value
72: * allowed object is
73: * {@link AddressBookEntry }
74: *
75: */
76: public void setEntry(AddressBookEntry value) {
77: this.entry = value;
78: }
79:
80: }
|