X-Git-Url: https://git.argeo.org/?p=gpl%2Fargeo-suite.git;a=blobdiff_plain;f=org.argeo.entity.api%2Fsrc%2Forg%2Fargeo%2Fentity%2Fentity.cnd;h=0b3127b305115cf16c82412b1f1b23df15825bdb;hp=cd6952a589e75d8cd6a294ed779812459331d982;hb=8347556c9afb8e7ff128722ded5aa3f198b31079;hpb=25ed06d42600a81063515220c51ac2d93fefa27a 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 cd6952a..0b3127b 100644 --- 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 @@ // see https://www.w3.org/2003/01/geo/ -// + @@ -10,21 +10,27 @@ [entity:entity] > mix:created, mix:referenceable mixin -//- entity:uid (String) m // an implementation dependent UID for each entity -//- entity:type (String) // the type of this entity + +[entity:local] > entity:entity +mixin +- entity:type (String) m + +[entity:relatedTo] +mixin ++ entity:relatedTo (nt:address) * // // ENTITY DEFINITION // -[entity:definition] > entity:composite, mix:created, mix:lastModified, mix:referenceable +//[entity:definition] > entity:composite, mix:created, mix:lastModified, mix:referenceable //- entity:type (String) multiple //[entity:part] //[entity:reference] -[entity:composite] -orderable +//[entity:composite] +//orderable //+ * (entity:part) //+ * (entity:reference) //+ * (entity:composite) @@ -81,3 +87,10 @@ mixin - ldap:distinguishedName (String) - ldap:uid (String) +// GEOGRAPHY +[entity:geopoint] +mixin +- geo:long (DOUBLE) +- geo:lat (DOUBLE) +- geo:alt (DOUBLE) +