Fixed name of list properties
This commit is contained in:
parent
ab52fb5b3d
commit
fef0cbd761
@ -32,6 +32,7 @@
|
||||
</classpathentry>
|
||||
<classpathentry kind="src" output="target/classes" path="target/generated-sources/jaxb">
|
||||
<attributes>
|
||||
<attribute name="ignore_optional_problems" value="true"/>
|
||||
<attribute name="maven.pomderived" value="true"/>
|
||||
<attribute name="optional" value="true"/>
|
||||
</attributes>
|
||||
|
@ -14,7 +14,7 @@ import javax.xml.bind.annotation.XmlType;
|
||||
@XmlEnum
|
||||
public enum UserStatus {
|
||||
|
||||
ONLINE, DONOTDISTURB, AFK, OFFLINE;
|
||||
Online, DoNotDisturb, AFK, Offline;
|
||||
|
||||
public String value() { return name(); }
|
||||
|
||||
|
@ -7,8 +7,10 @@
|
||||
<xs:element name="Sync">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Message" type="Message" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:element name="User" type="User" minOccurs="0" maxOccurs="unbounded" />
|
||||
<xs:element name="Message" type="Message" minOccurs="0"
|
||||
maxOccurs="unbounded" />
|
||||
<xs:element name="User" type="User" minOccurs="0"
|
||||
maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
@ -55,10 +57,10 @@
|
||||
<xs:element name="Status">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="ONLINE"/>
|
||||
<xs:enumeration value="DONOTDISTURB"/>
|
||||
<xs:enumeration value="Online" />
|
||||
<xs:enumeration value="DoNotDisturb" />
|
||||
<xs:enumeration value="AFK" />
|
||||
<xs:enumeration value="OFFLINE"/>
|
||||
<xs:enumeration value="Offline" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
|
@ -1,3 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE xml>
|
||||
<jaxb:bindings xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
|
||||
xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
|
||||
@ -6,7 +8,17 @@
|
||||
fixedAttributeAsConstantProperty="true">
|
||||
<xjc:serializable />
|
||||
</jaxb:globalBindings>
|
||||
<jaxb:bindings schemaLocation="../resources/sync_schema.xsd">
|
||||
<jaxb:bindings
|
||||
schemaLocation="../resources/sync_schema.xsd">
|
||||
|
||||
<jaxb:bindings node="//xs:element[@name='Message']">
|
||||
<jaxb:property name="Messages"/>
|
||||
</jaxb:bindings>
|
||||
|
||||
<jaxb:bindings node="//xs:element[@name='User']">
|
||||
<jaxb:property name="Users"/>
|
||||
</jaxb:bindings>
|
||||
|
||||
<jaxb:bindings
|
||||
node="//xs:element[@name='State']/xs:simpleType">
|
||||
<jaxb:typesafeEnumClass name="MessageState" />
|
||||
@ -16,5 +28,6 @@
|
||||
node="//xs:element[@name='Status']/xs:simpleType">
|
||||
<jaxb:typesafeEnumClass name="UserStatus" />
|
||||
</jaxb:bindings>
|
||||
|
||||
</jaxb:bindings>
|
||||
</jaxb:bindings>
|
Reference in New Issue
Block a user