projects
/
gpl
/
argeo-suite.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Massive Argeo APIs refactoring
[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 baed374e72aade6644fb707cfeb08c449bdf0748..2ea89f9b533d177d08217797184745ef1809b27e 100644
(file)
--- a/
org.argeo.entity.api/src/org/argeo/entity/entity.cnd
+++ b/
org.argeo.entity.api/src/org/argeo/entity/entity.cnd
@@
-2,7
+2,7
@@
<xsd = "http://www.w3.org/2001/XMLSchema">
<h = "http://www.w3.org/1999/xhtml">
// see https://www.w3.org/2003/01/geo/
<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#">
+<geo = "http://www.w3.org/2003/01/geo/wgs84_pos#">
<svg = "http://www.w3.org/2000/svg">
<ldap = "http://www.argeo.org/ns/ldap">
<svg = "http://www.w3.org/2000/svg">
<ldap = "http://www.argeo.org/ns/ldap">
@@
-15,6
+15,10
@@
mixin
mixin
- entity:type (String) m
mixin
- entity:type (String) m
+[entity:relatedTo]
+mixin
++ entity:relatedTo (nt:address) *
+
//
// ENTITY DEFINITION
//
//
// ENTITY DEFINITION
//
@@
-31,6
+35,20
@@
mixin
//+ * (entity:reference)
//+ * (entity:composite)
//+ * (entity:reference)
//+ * (entity:composite)
+[entity:query] > nt:query, mix:referenceable
+
+[entity:querySet]
++ * (entity:query) = entity:query *
+
+//
+// STRUCTURE
+//
+[entity:space]
+mixin
+
+[entity:document]
+mixin
+
//
// TYPOLOGY
//
//
// TYPOLOGY
//
@@
-39,7
+57,7
@@
mixin
[entity:term]
orderable
[entity:term]
orderable
-- name (NAME)
m
+- name (NAME)
- * (*)
+ term (entity:term) = entity:term *
- * (*)
+ term (entity:term) = entity:term *
@@
-52,6
+70,7
@@
orderable
//
[entity:form]
mixin
//
[entity:form]
mixin
++ queries (entity:querySet) = entity:querySet
[entity:formSubmission]
mixin
[entity:formSubmission]
mixin
@@
-83,3
+102,13
@@
mixin
- ldap:distinguishedName (String)
- ldap:uid (String)
- ldap:distinguishedName (String)
- ldap:uid (String)
+// GEOGRAPHY
+[entity:geopoint]
+mixin
+- geo:long (DOUBLE)
+- geo:lat (DOUBLE)
+- geo:alt (DOUBLE)
+
+[entity:bearing]
+mixin
+- svg:direction (DOUBLE)