
Author: lgiessmann Date: Thu Dec 15 06:26:15 2011 New Revision: 1049 Log: gdl-frontend: Widgets: finished the TMLC-definition of all names and occurrences for the topic type "Project" in the TG_Ontology.jtm file Modified: trunk/src/anaToMia/GDL_Widgets/war/gdl_widgets/TG_Ontology.jtm Modified: trunk/src/anaToMia/GDL_Widgets/war/gdl_widgets/TG_Ontology.jtm ============================================================================== --- trunk/src/anaToMia/GDL_Widgets/war/gdl_widgets/TG_Ontology.jtm Thu Dec 15 06:19:54 2011 (r1048) +++ trunk/src/anaToMia/GDL_Widgets/war/gdl_widgets/TG_Ontology.jtm Thu Dec 15 06:26:15 2011 (r1049) @@ -150,7 +150,14 @@ {"subject_identifiers":["[tgm:searchable-dt-constraint]"], "instance_of":["si:[tmcl:occurrence-datatype-constraint]"], "occurrences":[{"type":"si:[tmcl:datatype]", "value":"http://www.w3.org/2001/XMLSchema#boolean"}]}, {"subject_identifiers":["[tgm:user-id-constraint]"], "instance_of":["si:[tmcl:topic-occurrence-constraint]"], "occurrences":[{"type":"si:[tmcl:card-min]", "value":"1"}, {"type":"si:[tmcl:card-max]", "value":"1"}]}, {"subject_identifiers":["[tgm:user-id-rex-constraint]"], "instance_of":["si:[tmcl:regular-expression-constraint]"], "occurrences":[{"type":"si:[tmcl:regexp]", "value":"^.+$"}]}, - {"subject_identifiers":["[tgm:user-id-dt-constraint]"], "instance_of":["si:[tmcl:occurrence-datatype-constraint]"], "occurrences":[{"type":"si:[tmcl:datatype]", "value":"http://www.w3.org/2001/XMLSchema#string"}]} + {"subject_identifiers":["[tgm:user-id-dt-constraint]"], "instance_of":["si:[tmcl:occurrence-datatype-constraint]"], "occurrences":[{"type":"si:[tmcl:datatype]", "value":"http://www.w3.org/2001/XMLSchema#string"}]}, + + {"subject_identifiers":["[tgm:project-name-constraint]"], "instance_of":["si:[tmcl:topic-name-constraint]"], "occurrences":[{"type":"si:[tmcl:card-min]", "value":"1"}, {"type":"si:[tmcl:card-max]", "value":"1"}]}, + {"subject_identifiers":["[tgm:user-given-name-rex-constraint]"], "instance_of":["si:[tmcl:regular-expression-constraint]"], "occurrences":[{"type":"si:[tmcl:regexp]", "value":"^.+$"}]}, + + {"subject_identifiers":["[tgm:project-id-constraint]"], "instance_of":["si:[tmcl:topic-occurrence-constraint]"], "occurrences":[{"type":"si:[tmcl:card-min]", "value":"1"}, {"type":"si:[tmcl:card-max]", "value":"1"}]}, + {"subject_identifiers":["[tgm:project-id-rex-constraint]"], "instance_of":["si:[tmcl:regular-expression-constraint]"], "occurrences":[{"type":"si:[tmcl:regexp]", "value":"^.+$"}]}, + {"subject_identifiers":["[tgm:project-id-dt-constraint]"], "instance_of":["si:[tmcl:occurrence-datatype-constraint]"], "occurrences":[{"type":"si:[tmcl:datatype]", "value":"http://www.w3.org/2001/XMLSchema#string"}]} ], "associations":[{"type":"si:[tmdm:supertype-subtype]", "roles":[{"type":"si:[tmdm:supertype]", "player":"si:[tmcl:constraint]"},{"type":"si:[tmdm:subtype]", "player":"si:[tmcl:subject-identifier-constraint]"}]}, @@ -230,5 +237,14 @@ {"type":"si:[tmcl:constrained-topic-type]", "roles":[{"type":"si:[tmcl:constrained]", "player":"si:[tgt:User]"},{"type":"si:[tmcl:constraint]", "player":"si:[tgm:user-id-constraint]"}]}, {"type":"si:[tmcl:constrained-statement]", "roles":[{"type":"si:[tmcl:constrained]", "player":"si:[tgm:user-id]"},{"type":"si:[tmcl:constraint]", "player":"si:[tgm:user-id-constraint]"}]}, {"type":"si:[tmcl:constrained-statement]", "roles":[{"type":"si:[tmcl:constrained]", "player":"si:[tgm:user-id]"},{"type":"si:[tmcl:constraint]", "player":"si:[tgm:user-id-rex-constraint]"}]}, - {"type":"si:[tmcl:constrained-statement]", "roles":[{"type":"si:[tmcl:constrained]", "player":"si:[tgm:user-id]"},{"type":"si:[tmcl:constraint]", "player":"si:[tgm:user-id-dt-constraint]"}]} + {"type":"si:[tmcl:constrained-statement]", "roles":[{"type":"si:[tmcl:constrained]", "player":"si:[tgm:user-id]"},{"type":"si:[tmcl:constraint]", "player":"si:[tgm:user-id-dt-constraint]"}]}, + + {"type":"si:[tmcl:constrained-topic-type]", "roles":[{"type":"si:[tmcl:constrained]", "player":"si:[tgt:Project]"},{"type":"si:[tmcl:constraint]", "player":"si:[tgm:user-fullname-constraint]"}]}, + {"type":"si:[tmcl:constrained-statement]", "roles":[{"type":"si:[tmcl:constrained]", "player":"si:[tgm:project-name]"},{"type":"si:[tmcl:constraint]", "player":"si:[tgm:project-name-constraint]"}]}, + {"type":"si:[tmcl:constrained-statement]", "roles":[{"type":"si:[tmcl:constrained]", "player":"si:[tgm:project-name]"},{"type":"si:[tmcl:constraint]", "player":"si:[tgm:project-name-rex-constraint]"}]}, + + {"type":"si:[tmcl:constrained-topic-type]", "roles":[{"type":"si:[tmcl:constrained]", "player":"si:[tgt:Project]"},{"type":"si:[tmcl:constraint]", "player":"si:[tgm:project-id-constraint]"}]}, + {"type":"si:[tmcl:constrained-statement]", "roles":[{"type":"si:[tmcl:constrained]", "player":"si:[tgm:project-id]"},{"type":"si:[tmcl:constraint]", "player":"si:[tgm:project-id-constraint]"}]}, + {"type":"si:[tmcl:constrained-statement]", "roles":[{"type":"si:[tmcl:constrained]", "player":"si:[tgm:project-id]"},{"type":"si:[tmcl:constraint]", "player":"si:[tgm:project-id-rex-constraint]"}]}, + {"type":"si:[tmcl:constrained-statement]", "roles":[{"type":"si:[tmcl:constrained]", "player":"si:[tgm:project-id]"},{"type":"si:[tmcl:constraint]", "player":"si:[tgm:project-id-dt-constraint]"}]} ]} \ No newline at end of file