View Javadoc
1   /*
2   * Copyright 2020-2026  the original author or authors.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  
17  package org.bremersee.xml.model6;
18  
19  import jakarta.xml.bind.annotation.XmlAccessType;
20  import jakarta.xml.bind.annotation.XmlAccessorType;
21  import jakarta.xml.bind.annotation.XmlRootElement;
22  import jakarta.xml.bind.annotation.XmlType;
23  import jakarta.xml.bind.annotation.XmlValue;
24  import lombok.AllArgsConstructor;
25  import lombok.Data;
26  import lombok.NoArgsConstructor;
27  
28  /**
29   * The standalone model.
30   *
31   * @author Christian Bremer
32   */
33  @XmlRootElement(
34      name = "standaloneModel",
35      namespace = "http://bremersee.org/xmlschemas/common-xml-test-model-6")
36  @XmlType(
37      name = "standaloneModelType",
38      namespace = "http://bremersee.org/xmlschemas/common-xml-test-model-6")
39  @XmlAccessorType(XmlAccessType.FIELD)
40  @Data
41  @NoArgsConstructor
42  @AllArgsConstructor
43  public class StandaloneModel {
44  
45    @XmlValue
46    private String value;
47  
48  }