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 foo complex type.
027: *
028: * <p>The following schema fragment specifies the expected content contained within this class.
029: *
030: * <pre>
031: * <complexType name="foo">
032: * <complexContent>
033: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
034: * <sequence>
035: * <element name="position" type="{http://cxf.apache.org/configuration/foo}point" minOccurs="0"/>
036: * <element name="address" type="{http://cxf.apache.org/configuration/foo}address" minOccurs="0"/>
037: * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
038: * <element name="intDefault" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
039: * <element name="intNoDefault" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
040: * </sequence>
041: * </restriction>
042: * </complexContent>
043: * </complexType>
044: * </pre>
045: *
046: *
047: */
048: @XmlAccessorType(XmlAccessType.FIELD)
049: @XmlType(name="foo",propOrder={"position","address","name","intDefault","intNoDefault"})
050: public class Foo {
051:
052: protected Point position;
053: protected Address address;
054: protected String name;
055: @XmlElement(defaultValue="22")
056: protected Integer intDefault;
057: protected Integer intNoDefault;
058:
059: /**
060: * Gets the value of the position property.
061: *
062: * @return
063: * possible object is
064: * {@link Point }
065: *
066: */
067: public Point getPosition() {
068: return position;
069: }
070:
071: /**
072: * Sets the value of the position property.
073: *
074: * @param value
075: * allowed object is
076: * {@link Point }
077: *
078: */
079: public void setPosition(Point value) {
080: this .position = value;
081: }
082:
083: /**
084: * Gets the value of the address property.
085: *
086: * @return
087: * possible object is
088: * {@link Address }
089: *
090: */
091: public Address getAddress() {
092: return address;
093: }
094:
095: /**
096: * Sets the value of the address property.
097: *
098: * @param value
099: * allowed object is
100: * {@link Address }
101: *
102: */
103: public void setAddress(Address value) {
104: this .address = value;
105: }
106:
107: /**
108: * Gets the value of the name property.
109: *
110: * @return
111: * possible object is
112: * {@link String }
113: *
114: */
115: public String getName() {
116: return name;
117: }
118:
119: /**
120: * Sets the value of the name property.
121: *
122: * @param value
123: * allowed object is
124: * {@link String }
125: *
126: */
127: public void setName(String value) {
128: this .name = value;
129: }
130:
131: /**
132: * Gets the value of the intDefault property.
133: *
134: * @return
135: * possible object is
136: * {@link Integer }
137: *
138: */
139: public Integer getIntDefault() {
140: return intDefault;
141: }
142:
143: /**
144: * Sets the value of the intDefault property.
145: *
146: * @param value
147: * allowed object is
148: * {@link Integer }
149: *
150: */
151: public void setIntDefault(Integer value) {
152: this .intDefault = value;
153: }
154:
155: /**
156: * Gets the value of the intNoDefault property.
157: *
158: * @return
159: * possible object is
160: * {@link Integer }
161: *
162: */
163: public Integer getIntNoDefault() {
164: return intNoDefault;
165: }
166:
167: /**
168: * Sets the value of the intNoDefault property.
169: *
170: * @param value
171: * allowed object is
172: * {@link Integer }
173: *
174: */
175: public void setIntNoDefault(Integer value) {
176: this.intNoDefault = value;
177: }
178:
179: }
|