X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;ds=sidebyside;f=org.argeo.entity.api%2Fsrc%2Forg%2Fargeo%2Fentity%2Fentity.cnd;h=78fb8ccb1c0f6fc7d1b530ce82be1ec839c39347;hb=702f22eb8cbcb56c927dc21226ee22696426647b;hp=67116cd69ca88a05a9dd225c006930b8d87792cb;hpb=a55bb0dc7e9fbcefb645d34ce24b326d1506a623;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 67116cd..78fb8cc 100644 --- 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,59 @@ - +// Standard namespaces + + +// see https://www.w3.org/2003/01/geo/ +// + + -[entity:entity] > mix:title, mix:created, mix:lastModified, mix:referenceable +[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:definition] > entity:composite, mix:title, mix:created, mix:lastModified, mix:referenceable -mixin +// +// ENTITY DEFINITION +// +[entity:definition] > entity:composite, mix:created, mix:lastModified, mix:referenceable +//- entity:type (String) multiple -[entity:part] -mixin +//[entity:part] -[entity:reference] -mixin +//[entity:reference] [entity:composite] -mixin orderable -+ * (entity:part) -+ * (entity:reference) -+ * (entity:composite) +//+ * (entity:part) +//+ * (entity:reference) +//+ * (entity:composite) + +// +// TYPOLOGY +// +[entity:typologies] ++ * (entity:terms) = entity:terms + +[entity:term] +orderable ++ * (entity:term) = entity:term * + +[entity:terms] > mix:referenceable +orderable ++ * (entity:term) = entity:term * + +// +// FORM +// +[entity:form] +mixin + +[entity:formSet] +mixin // LDAP-LIKE ENTITIES // A real person [entity:person] > entity:entity mixin +- ldap:sn (String) +- ldap:givenName (String)