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