projects
/
gpl
/
argeo-suite.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduce XForms support.
[gpl/argeo-suite.git]
/
org.argeo.entity.api
/
src
/
org
/
argeo
/
entity
/
entity.cnd
diff --git
a/org.argeo.entity.api/src/org/argeo/entity/entity.cnd
b/org.argeo.entity.api/src/org/argeo/entity/entity.cnd
index 67116cd69ca88a05a9dd225c006930b8d87792cb..45be8adee863bbf59498f0f57c4127944e5e39d7 100644
(file)
--- a/
org.argeo.entity.api/src/org/argeo/entity/entity.cnd
+++ b/
org.argeo.entity.api/src/org/argeo/entity/entity.cnd
@@
-1,28
+1,56
@@
-<ldap = 'http://www.argeo.org/ns/ldap'>
+// Standard namespaces
+<xsd = "http://www.w3.org/2001/XMLSchema">
+<h = "http://www.w3.org/1999/xhtml">
+// see https://www.w3.org/2003/01/geo/
+//<geo = "http://www.w3.org/2003/01/geo/wgs84_pos#">
+
+<ldap = "http://www.argeo.org/ns/ldap">
<entity = 'http://www.argeo.org/ns/entity'>
<entity = 'http://www.argeo.org/ns/entity'>
-[entity:entity] > mix:
title, mix:created, mix:lastModifi
ed, mix:referenceable
+[entity:entity] > mix:
creat
ed, mix:referenceable
mixin
//- entity:uid (String) m // an implementation dependent UID for each entity
//- entity:type (String) // the type of this entity
mixin
//- entity:uid (String) m // an implementation dependent UID for each entity
//- entity:type (String) // the type of this entity
-[entity:definition] > entity:composite, mix:title, mix:created, mix:lastModified, mix:referenceable
-mixin
+//
+// ENTITY DEFINITION
+//
+[entity:definition] > entity:composite, mix:created, mix:referenceable
+//- entity:type (String) multiple
[entity:part]
[entity:part]
-mixin
[entity:reference]
[entity:reference]
-mixin
[entity:composite]
[entity:composite]
-mixin
orderable
orderable
-+ * (entity:part)
-+ * (entity:reference)
-+ * (entity:composite)
+//+ * (entity:part)
+//+ * (entity:reference)
+//+ * (entity:composite)
+
+//
+// TYPOLOGY
+//
+[entity:term]
+orderable
++ * (entity:term) *
+
+[entity:typology] > mix:referenceable, mix:created
+orderable
++ * (entity:term) *
+
+//
+// FORM
+//
+[entity:form]
+mixin
+
+[entity:formSet]
+mixin
// LDAP-LIKE ENTITIES
// A real person
[entity:person] > entity:entity
mixin
// LDAP-LIKE ENTITIES
// A real person
[entity:person] > entity:entity
mixin
+- ldap:sn (String)
+- ldap:givenName (String)