Login  Register

svn commit: r1530976 - /ofbiz/trunk/framework/entity/dtd/entitymodel.xsd

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

svn commit: r1530976 - /ofbiz/trunk/framework/entity/dtd/entitymodel.xsd

adrianc
2113 posts
Author: adrianc
Date: Thu Oct 10 13:41:45 2013
New Revision: 1530976

URL: http://svn.apache.org/r1530976
Log:
Allow redefinition of view entities. XML schema change only - implementation exists already.

Modified:
    ofbiz/trunk/framework/entity/dtd/entitymodel.xsd

Modified: ofbiz/trunk/framework/entity/dtd/entitymodel.xsd
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/dtd/entitymodel.xsd?rev=1530976&r1=1530975&r2=1530976&view=diff
==============================================================================
--- ofbiz/trunk/framework/entity/dtd/entitymodel.xsd (original)
+++ ofbiz/trunk/framework/entity/dtd/entitymodel.xsd Thu Oct 10 13:41:45 2013
@@ -256,6 +256,15 @@ under the License.
         <xs:attribute name="copyright" type="xs:string"/>
         <xs:attribute name="author" type="xs:string"/>
         <xs:attribute name="version" type="xs:string"/>
+        <xs:attribute name="redefinition" type="boolean">
+            <xs:annotation>
+                <xs:documentation>
+                    Indicates if this entity redefines an existing entity.
+                    When set to "true" it will suppress "Entity is defined more than once" warnings.
+                    Defaults to "false".
+                </xs:documentation>
+            </xs:annotation>
+        </xs:attribute>
     </xs:attributeGroup>
     <xs:element name="member-entity">
         <xs:complexType>