X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=org.argeo.entity.api%2Fsrc%2Forg%2Fargeo%2Fentity%2Fentity.cnd;h=2ea89f9b533d177d08217797184745ef1809b27e;hb=41e9998f7f1c87c747c57f60c6bec65fa20757a6;hp=91dcf2589f6823f5cacbba1bb3fbc7efe79e7e6a;hpb=9cd258d2c3de54e128c780adb991ecec7e6b2b9c;p=gpl%2Fargeo-suite.git 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 91dcf25..2ea89f9 100644 --- a/org.argeo.entity.api/src/org/argeo/entity/entity.cnd +++ b/org.argeo.entity.api/src/org/argeo/entity/entity.cnd @@ -15,6 +15,10 @@ mixin mixin - entity:type (String) m +[entity:relatedTo] +mixin ++ entity:relatedTo (nt:address) * + // // ENTITY DEFINITION // @@ -31,6 +35,20 @@ mixin //+ * (entity:reference) //+ * (entity:composite) +[entity:query] > nt:query, mix:referenceable + +[entity:querySet] ++ * (entity:query) = entity:query * + +// +// STRUCTURE +// +[entity:space] +mixin + +[entity:document] +mixin + // // TYPOLOGY // @@ -39,7 +57,7 @@ mixin [entity:term] orderable -- name (NAME) m +- name (NAME) - * (*) + term (entity:term) = entity:term * @@ -52,6 +70,7 @@ orderable // [entity:form] mixin ++ queries (entity:querySet) = entity:querySet [entity:formSubmission] mixin @@ -90,3 +109,6 @@ mixin - geo:lat (DOUBLE) - geo:alt (DOUBLE) +[entity:bearing] +mixin +- svg:direction (DOUBLE)