projects
/
gpl
/
argeo-suite.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduce entity:relatedTo mixin.
[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..0b3127b305115cf16c82412b1f1b23df15825bdb 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
//
@@
-83,3
+87,10
@@
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)
+