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: */package org.apache.cxf.configuration.foo;
19:
20: import javax.xml.bind.annotation.XmlAccessType;
21: import javax.xml.bind.annotation.XmlAccessorType;
22: import javax.xml.bind.annotation.XmlType;
23:
24: /**
25: * <p>Java class for point complex type.
26: *
27: * <p>The following schema fragment specifies the expected content contained within this class.
28: *
29: * <pre>
30: * <complexType name="point">
31: * <complexContent>
32: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
33: * <sequence>
34: * <element name="x" type="{http://www.w3.org/2001/XMLSchema}int"/>
35: * <element name="y" type="{http://www.w3.org/2001/XMLSchema}int"/>
36: * </sequence>
37: * </restriction>
38: * </complexContent>
39: * </complexType>
40: * </pre>
41: *
42: *
43: */
44: @XmlAccessorType(XmlAccessType.FIELD)
45: @XmlType(name="point",propOrder={"x","y"})
46: public class Point {
47:
48: protected int x;
49: protected int y;
50:
51: /**
52: * Gets the value of the x property.
53: *
54: */
55: public int getX() {
56: return x;
57: }
58:
59: /**
60: * Sets the value of the x property.
61: *
62: */
63: public void setX(int value) {
64: this .x = value;
65: }
66:
67: /**
68: * Gets the value of the y property.
69: *
70: */
71: public int getY() {
72: return y;
73: }
74:
75: /**
76: * Sets the value of the y property.
77: *
78: */
79: public void setY(int value) {
80: this.y = value;
81: }
82:
83: }
|