001: /**
002: * Licensed to the Apache Software Foundation (ASF) under one
003: * or more contributor license agreements. See the NOTICE file
004: * distributed with this work for additional information
005: * regarding copyright ownership. The ASF licenses this file
006: * to you under the Apache License, Version 2.0 (the
007: * "License"); you may not use this file except in compliance
008: * with the License. You may obtain a copy of the License at
009: *
010: * http://www.apache.org/licenses/LICENSE-2.0
011: *
012: * Unless required by applicable law or agreed to in writing,
013: * software distributed under the License is distributed on an
014: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
015: * KIND, either express or implied. See the License for the
016: * specific language governing permissions and limitations
017: * under the License.
018: */package org.apache.cxf.configuration.foo;
019:
020: import javax.xml.bind.annotation.XmlAccessType;
021: import javax.xml.bind.annotation.XmlAccessorType;
022: import javax.xml.bind.annotation.XmlElement;
023: import javax.xml.bind.annotation.XmlType;
024:
025: /**
026: * <p>Java class for address complex type.
027: *
028: * <p>The following schema fragment specifies the expected content contained within this class.
029: *
030: * <pre>
031: * <complexType name="address">
032: * <complexContent>
033: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
034: * <sequence>
035: * <element name="city" type="{http://www.w3.org/2001/XMLSchema}string"/>
036: * <element name="zip" type="{http://www.w3.org/2001/XMLSchema}int"/>
037: * <element name="street" type="{http://www.w3.org/2001/XMLSchema}string"/>
038: * <element name="nr" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
039: * </sequence>
040: * </restriction>
041: * </complexContent>
042: * </complexType>
043: * </pre>
044: *
045: *
046: */
047: @XmlAccessorType(XmlAccessType.FIELD)
048: @XmlType(name="address",propOrder={"city","zip","street","nr"})
049: public class Address {
050:
051: @XmlElement(required=true)
052: protected String city;
053: protected int zip;
054: @XmlElement(required=true)
055: protected String street;
056: protected Integer nr;
057:
058: /**
059: * Gets the value of the city property.
060: *
061: * @return
062: * possible object is
063: * {@link String }
064: *
065: */
066: public String getCity() {
067: return city;
068: }
069:
070: /**
071: * Sets the value of the city property.
072: *
073: * @param value
074: * allowed object is
075: * {@link String }
076: *
077: */
078: public void setCity(String value) {
079: this .city = value;
080: }
081:
082: /**
083: * Gets the value of the zip property.
084: *
085: */
086: public int getZip() {
087: return zip;
088: }
089:
090: /**
091: * Sets the value of the zip property.
092: *
093: */
094: public void setZip(int value) {
095: this .zip = value;
096: }
097:
098: /**
099: * Gets the value of the street property.
100: *
101: * @return
102: * possible object is
103: * {@link String }
104: *
105: */
106: public String getStreet() {
107: return street;
108: }
109:
110: /**
111: * Sets the value of the street property.
112: *
113: * @param value
114: * allowed object is
115: * {@link String }
116: *
117: */
118: public void setStreet(String value) {
119: this .street = value;
120: }
121:
122: /**
123: * Gets the value of the nr property.
124: *
125: * @return
126: * possible object is
127: * {@link Integer }
128: *
129: */
130: public Integer getNr() {
131: return nr;
132: }
133:
134: /**
135: * Sets the value of the nr property.
136: *
137: * @param value
138: * allowed object is
139: * {@link Integer }
140: *
141: */
142: public void setNr(Integer value) {
143: this.nr = value;
144: }
145:
146: }
|