X-Git-Url: http://git.argeo.org/?p=gpl%2Fargeo-suite.git;a=blobdiff_plain;f=org.argeo.entity.api%2Fsrc%2Forg%2Fargeo%2Fentity%2Fentity.cnd;h=1ef20a7604a670f553b33148225bc87e4ed4a19a;hp=67116cd69ca88a05a9dd225c006930b8d87792cb;hb=04cafe75836841a6c845b8dbc0cc80998442f78f;hpb=f1bad89ca61df0dc06b1304f147cf1c35d54803f 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..1ef20a7 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,75 @@ -[entity:entity] > mix:title, mix:created, mix:lastModified, mix:referenceable +// standard namespaces + + + + +// see https://www.w3.org/2003/01/geo/ + + + +[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:referenceable +//- entity:type (String) multiple [entity:part] -mixin [entity:reference] -mixin [entity:composite] -mixin orderable -+ * (entity:part) -+ * (entity:reference) -+ * (entity:composite) +//+ * (entity:part) +//+ * (entity:reference) +//+ * (entity:composite) + +// +// TYPOLOGY +// +[entity:term] +orderable ++ * (entity:term) * + +[entity:typology] > mix:referenceable, mix:created +orderable ++ * (entity:term) * + +// +// XML +// +[entity:xmlvalue] > mix:language +- * ++ jcr:xmltext (entity:xmltext) + +[entity:xmltext] + - jcr:xmlcharacters (String) mandatory + +// +// HTML +// +[h:head] ++ h:title (entity:xmlvalue) ++ h:base (entity:xmlvalue) ++ h:style (entity:xmlvalue) multiple ++ h:meta (entity:xmlvalue) multiple ++ h:link (entity:xmlvalue) multiple ++ h:script (entity:xmlvalue) multiple + +[h:html] ++ h:head (h:head) ++ h:body (nt:unstructured) // LDAP-LIKE ENTITIES // A real person [entity:person] > entity:entity mixin +- ldap:sn (String) +- ldap:givenName (String)