<xs:element name="db-attribute">
<xs:annotation>
<xs:documentation>A database column.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="isMandatory" type="xs:boolean"/>
<xs:attribute name="isPrimaryKey" type="xs:boolean">
<xs:annotation>
<xs:documentation>If true, the value of attribute is unique and used as a primary key identifier.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="isGenerated" use="optional" type="xs:boolean"/>
<xs:attribute name="length" type="xs:integer"/>
<xs:attribute name="name" use="required" type="xs:string"/>
<xs:attribute name="scale" type="xs:integer"/>
<xs:attribute name="type" use="required" type="xs:string"/>
</xs:complexType>
</xs:element> |