]> gerrit.simantics Code Review - simantics/interop.git/blob - org.simantics.xml.sax/src/org/w3/_2001/xmlschema/Facet.java
XML Schema converter
[simantics/interop.git] / org.simantics.xml.sax / src / org / w3 / _2001 / xmlschema / Facet.java
1 //\r
2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 \r
3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> \r
4 // Any modifications to this file will be lost upon recompilation of the source schema. \r
5 // Generated on: 2015.06.17 at 02:58:58 PM EEST \r
6 //\r
7 \r
8 \r
9 package org.w3._2001.xmlschema;\r
10 \r
11 import javax.xml.bind.annotation.XmlAccessType;\r
12 import javax.xml.bind.annotation.XmlAccessorType;\r
13 import javax.xml.bind.annotation.XmlAttribute;\r
14 import javax.xml.bind.annotation.XmlSchemaType;\r
15 import javax.xml.bind.annotation.XmlSeeAlso;\r
16 import javax.xml.bind.annotation.XmlType;\r
17 \r
18 \r
19 /**\r
20  * <p>Java class for facet complex type.\r
21  * \r
22  * <p>The following schema fragment specifies the expected content contained within this class.\r
23  * \r
24  * <pre>\r
25  * &lt;complexType name="facet">\r
26  *   &lt;complexContent>\r
27  *     &lt;extension base="{http://www.w3.org/2001/XMLSchema}annotated">\r
28  *       &lt;attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />\r
29  *       &lt;attribute name="fixed" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />\r
30  *       &lt;anyAttribute processContents='lax' namespace='##other'/>\r
31  *     &lt;/extension>\r
32  *   &lt;/complexContent>\r
33  * &lt;/complexType>\r
34  * </pre>\r
35  * \r
36  * \r
37  */\r
38 @XmlAccessorType(XmlAccessType.FIELD)\r
39 @XmlType(name = "facet")\r
40 @XmlSeeAlso({\r
41     NoFixedFacet.class,\r
42     NumFacet.class,\r
43     WhiteSpace.class\r
44 })\r
45 public class Facet\r
46     extends Annotated\r
47 {\r
48 \r
49     @XmlAttribute(name = "value", required = true)\r
50     @XmlSchemaType(name = "anySimpleType")\r
51     protected String value;\r
52     @XmlAttribute(name = "fixed")\r
53     protected Boolean fixed;\r
54 \r
55     /**\r
56      * Gets the value of the value property.\r
57      * \r
58      * @return\r
59      *     possible object is\r
60      *     {@link String }\r
61      *     \r
62      */\r
63     public String getValue() {\r
64         return value;\r
65     }\r
66 \r
67     /**\r
68      * Sets the value of the value property.\r
69      * \r
70      * @param value\r
71      *     allowed object is\r
72      *     {@link String }\r
73      *     \r
74      */\r
75     public void setValue(String value) {\r
76         this.value = value;\r
77     }\r
78 \r
79     /**\r
80      * Gets the value of the fixed property.\r
81      * \r
82      * @return\r
83      *     possible object is\r
84      *     {@link Boolean }\r
85      *     \r
86      */\r
87     public boolean isFixed() {\r
88         if (fixed == null) {\r
89             return false;\r
90         } else {\r
91             return fixed;\r
92         }\r
93     }\r
94 \r
95     /**\r
96      * Sets the value of the fixed property.\r
97      * \r
98      * @param value\r
99      *     allowed object is\r
100      *     {@link Boolean }\r
101      *     \r
102      */\r
103     public void setFixed(Boolean value) {\r
104         this.fixed = value;\r
105     }\r
106 \r
107 }\r