Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/openjdk-multiarch-jdk8u
Path: blob/aarch64-shenandoah-jdk8u272-b10/jdk/test/javax/xml/bind/marshal/8036981/Main.java
38861 views
1
/*
2
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
*
5
* This code is free software; you can redistribute it and/or modify it
6
* under the terms of the GNU General Public License version 2 only, as
7
* published by the Free Software Foundation.
8
*
9
* This code is distributed in the hope that it will be useful, but WITHOUT
10
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12
* version 2 for more details (a copy is included in the LICENSE file that
13
* accompanied this code).
14
*
15
* You should have received a copy of the GNU General Public License version
16
* 2 along with this work; if not, write to the Free Software Foundation,
17
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18
*
19
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20
* or visit www.oracle.com if you need additional information or have any
21
* questions.
22
*/
23
24
package testjaxbcontext;
25
26
import javax.xml.bind.annotation.*;
27
28
/**
29
* <p>
30
* Java class for main complex type.
31
*
32
* <p>
33
* The following schema fragment specifies the expected content contained within
34
* this class.
35
*
36
* <pre>
37
* &lt;complexType name="main">
38
* &lt;complexContent>
39
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
40
* &lt;sequence>
41
* &lt;element name="Root" type="{}Root"/>
42
* &lt;element name="Good" type="{}Good"/>
43
* &lt;/sequence>
44
* &lt;/restriction>
45
* &lt;/complexContent>
46
* &lt;/complexType>
47
* </pre>
48
*
49
*
50
*/
51
@XmlAccessorType(XmlAccessType.FIELD)
52
@XmlType(name = "main", propOrder = {
53
"root",
54
"good"
55
})
56
@XmlRootElement
57
public class Main {
58
59
@XmlElement(name = "Root", required = true)
60
protected Root root;
61
@XmlElement(name = "Good", required = true)
62
protected Good good;
63
64
/**
65
* Gets the value of the root property.
66
*
67
* @return possible object is {@link Root }
68
*
69
*/
70
public Root getRoot() {
71
return root;
72
}
73
74
/**
75
* Sets the value of the root property.
76
*
77
* @param value allowed object is {@link Root }
78
*
79
*/
80
public void setRoot(Root value) {
81
this.root = value;
82
}
83
84
/**
85
* Gets the value of the good property.
86
*
87
* @return possible object is {@link Good }
88
*
89
*/
90
public Good getGood() {
91
return good;
92
}
93
94
/**
95
* Sets the value of the good property.
96
*
97
* @param value allowed object is {@link Good }
98
*
99
*/
100
public void setGood(Good value) {
101
this.good = value;
102
}
103
104
}
105
106