You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.
An XSD type like this:
<xs:simpleType name="CTSMW">
<xs:restriction base="xs:integer">
<xs:minInclusive value="-9999"/>
<xs:maxInclusive value="9999"/>
</xs:restriction>
</xs:simpleType>
Should generate a Setter that doe something like:
public void setCtsMW(int value) {
if (value <= 9999 && value >= -9999)
{ this.ctsMW = value; }
else
{ throw new Exception("Value out of range"); }
}
Environment
Wihdows 7
java version "1.7.0_76"
Java(TM) SE Runtime Environment (build 1.7.0_76-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.76-b04, mixed mode)
Affected Versions
[1.1.3]
The text was updated successfully, but these errors were encountered:
An XSD type like this:
<xs:simpleType name="CTSMW">
<xs:restriction base="xs:integer">
<xs:minInclusive value="-9999"/>
<xs:maxInclusive value="9999"/>
</xs:restriction>
</xs:simpleType>
Should generate a Setter that doe something like:
public void setCtsMW(int value) {
if (value <= 9999 && value >= -9999)
{ this.ctsMW = value; }
else
{ throw new Exception("Value out of range"); }
}
Environment
Wihdows 7
java version "1.7.0_76"
Java(TM) SE Runtime Environment (build 1.7.0_76-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.76-b04, mixed mode)
Affected Versions
[1.1.3]
The text was updated successfully, but these errors were encountered: