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.jaxb; 10 11 import java.math.BigDecimal; 12 import java.math.BigInteger; 13 import jakarta.xml.bind.annotation.XmlAccessType; 14 import jakarta.xml.bind.annotation.XmlAccessorType; 15 import jakarta.xml.bind.annotation.XmlAttribute; 16 import jakarta.xml.bind.annotation.XmlType; 17 18 19 /** 20 * R706 21 * 22 * <p>Java class for RealType complex type. 23 * 24 * <p>The following schema fragment specifies the expected content contained within this class. 25 * 26 * <pre> 27 * <complexType name="RealType"> 28 * <complexContent> 29 * <extension base="{http://www.miuml.org/metamodel}AtomicType"> 30 * <attribute name="Units" use="required" type="{http://www.miuml.org/metamodel}Name" /> 31 * <attribute name="Precision" use="required" type="{http://www.miuml.org/metamodel}PositiveInteger" /> 32 * <attribute name="LowerLimit" use="required" type="{http://www.w3.org/2001/XMLSchema}decimal" /> 33 * <attribute name="UpperLimit" use="required" type="{http://www.w3.org/2001/XMLSchema}decimal" /> 34 * <attribute name="DefaultValue" use="required" type="{http://www.w3.org/2001/XMLSchema}decimal" /> 35 * </extension> 36 * </complexContent> 37 * </complexType> 38 * </pre> 39 * 40 * 41 */ 42 @XmlAccessorType(XmlAccessType.FIELD) 43 @XmlType(name = "RealType") 44 public class RealType 45 extends AtomicType 46 { 47 48 @XmlAttribute(name = "Units", required = true) 49 protected String units; 50 @XmlAttribute(name = "Precision", required = true) 51 protected BigInteger precision; 52 @XmlAttribute(name = "LowerLimit", required = true) 53 protected BigDecimal lowerLimit; 54 @XmlAttribute(name = "UpperLimit", required = true) 55 protected BigDecimal upperLimit; 56 @XmlAttribute(name = "DefaultValue", required = true) 57 protected BigDecimal defaultValue; 58 59 /** 60 * Gets the value of the units property. 61 * 62 * @return 63 * possible object is 64 * {@link String } 65 * 66 */ 67 public String getUnits() { 68 return units; 69 } 70 71 /** 72 * Sets the value of the units property. 73 * 74 * @param value 75 * allowed object is 76 * {@link String } 77 * 78 */ 79 public void setUnits(String value) { 80 this.units = value; 81 } 82 83 /** 84 * Gets the value of the precision property. 85 * 86 * @return 87 * possible object is 88 * {@link BigInteger } 89 * 90 */ 91 public BigInteger getPrecision() { 92 return precision; 93 } 94 95 /** 96 * Sets the value of the precision property. 97 * 98 * @param value 99 * allowed object is 100 * {@link BigInteger } 101 * 102 */ 103 public void setPrecision(BigInteger value) { 104 this.precision = value; 105 } 106 107 /** 108 * Gets the value of the lowerLimit property. 109 * 110 * @return 111 * possible object is 112 * {@link BigDecimal } 113 * 114 */ 115 public BigDecimal getLowerLimit() { 116 return lowerLimit; 117 } 118 119 /** 120 * Sets the value of the lowerLimit property. 121 * 122 * @param value 123 * allowed object is 124 * {@link BigDecimal } 125 * 126 */ 127 public void setLowerLimit(BigDecimal value) { 128 this.lowerLimit = value; 129 } 130 131 /** 132 * Gets the value of the upperLimit property. 133 * 134 * @return 135 * possible object is 136 * {@link BigDecimal } 137 * 138 */ 139 public BigDecimal getUpperLimit() { 140 return upperLimit; 141 } 142 143 /** 144 * Sets the value of the upperLimit property. 145 * 146 * @param value 147 * allowed object is 148 * {@link BigDecimal } 149 * 150 */ 151 public void setUpperLimit(BigDecimal value) { 152 this.upperLimit = value; 153 } 154 155 /** 156 * Gets the value of the defaultValue property. 157 * 158 * @return 159 * possible object is 160 * {@link BigDecimal } 161 * 162 */ 163 public BigDecimal getDefaultValue() { 164 return defaultValue; 165 } 166 167 /** 168 * Sets the value of the defaultValue property. 169 * 170 * @param value 171 * allowed object is 172 * {@link BigDecimal } 173 * 174 */ 175 public void setDefaultValue(BigDecimal value) { 176 this.defaultValue = value; 177 } 178 179 }