This is an automated email from the ASF dual-hosted git repository. jleroux pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push: new 24fb8a9 Improved: entity element descriptions (OFBIZ-12383) (#343) 24fb8a9 is described below commit 24fb8a99e719e9d0735f1e96ac6779d698275450 Author: Pierre Smits <pierre.sm...@orrtiz.com> AuthorDate: Tue Nov 16 12:11:58 2021 +0100 Improved: entity element descriptions (OFBIZ-12383) (#343) added: entitymodel.xsd: desriptions for 1. table-name 2. default-resource-name 3. dependent-on --- framework/entity/dtd/entitymodel.xsd | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/framework/entity/dtd/entitymodel.xsd b/framework/entity/dtd/entitymodel.xsd index 9faeed6..55c6eb4 100644 --- a/framework/entity/dtd/entitymodel.xsd +++ b/framework/entity/dtd/entitymodel.xsd @@ -79,10 +79,29 @@ under the License. <!-- see the children of entitymodel section for description, etc. --> <xs:attributeGroup name="attlist.entity"> <xs:attribute name="entity-name" type="xs:string" use="required"/> - <xs:attribute name="table-name" type="xs:string"/> + <xs:attribute name="table-name" type="xs:string"> + <xs:annotation> + <xs:documentation> + The name of the table in the underlying rdbms + </xs:documentation> + </xs:annotation> + </xs:attribute> <xs:attribute name="package-name" type="xs:string" use="required"/> - <xs:attribute name="default-resource-name" type="xs:string"/> - <xs:attribute name="dependent-on" type="xs:string"/> + <xs:attribute name="default-resource-name" type="xs:string"> + <xs:annotation> + <xs:documentation> + Association to a particular resource. Currently only an association with an EntityLabel.xml files is supported. + </xs:documentation> + </xs:annotation> + </xs:attribute> + <xs:attribute name="dependent-on" type="xs:string"> + <xs:annotation> + <xs:documentation> + Establishes the sub/super class structure of the entity. + The entity (sub class) takes elements from the entity on which it depends (super class). + </xs:documentation> + </xs:annotation> + </xs:attribute> <xs:attribute name="sequence-bank-size" type="xs:string"> <xs:annotation> <xs:documentation>