View Javadoc
1   //
2   // This file was generated by the Eclipse Implementation of JAXB, v3.0.2 
3   // See https://eclipse-ee4j.github.io/jaxb-ri 
4   // Any modifications to this file will be lost upon recompilation of the source schema. 
5   // Generated on: 2022.02.28 at 10:57:04 AM AEDT 
6   //
7   
8   
9   package xuml.tools.miuml.metamodel.extensions.jaxb;
10  
11  import jakarta.xml.bind.annotation.XmlAccessType;
12  import jakarta.xml.bind.annotation.XmlAccessorType;
13  import jakarta.xml.bind.annotation.XmlAttribute;
14  import jakarta.xml.bind.annotation.XmlType;
15  
16  
17  /**
18   * <p>Java class for Generation complex type.
19   * 
20   * <p>The following schema fragment specifies the expected content contained within this class.
21   * 
22   * <pre>
23   * &lt;complexType name="Generation"&gt;
24   *   &lt;complexContent&gt;
25   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
26   *       &lt;attribute name="generated" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /&gt;
27   *     &lt;/restriction&gt;
28   *   &lt;/complexContent&gt;
29   * &lt;/complexType&gt;
30   * </pre>
31   * 
32   * 
33   */
34  @XmlAccessorType(XmlAccessType.FIELD)
35  @XmlType(name = "Generation")
36  public class Generation {
37  
38      @XmlAttribute(name = "generated")
39      protected Boolean generated;
40  
41      /**
42       * Gets the value of the generated property.
43       * 
44       * @return
45       *     possible object is
46       *     {@link Boolean }
47       *     
48       */
49      public boolean isGenerated() {
50          if (generated == null) {
51              return false;
52          } else {
53              return generated;
54          }
55      }
56  
57      /**
58       * Sets the value of the generated property.
59       * 
60       * @param value
61       *     allowed object is
62       *     {@link Boolean }
63       *     
64       */
65      public void setGenerated(Boolean value) {
66          this.generated = value;
67      }
68  
69  }