[Skabacca-developer] SF.net SVN: skabacca:[21] trunk/src/main/dm
Status: Pre-Alpha
Brought to you by:
triathlon98
|
From: <tri...@us...> - 2010-01-31 19:51:03
|
Revision: 21
http://skabacca.svn.sourceforge.net/skabacca/?rev=21&view=rev
Author: triathlon98
Date: 2010-01-31 19:50:37 +0000 (Sun, 31 Jan 2010)
Log Message:
-----------
only allow (contextualised) competencies, no non-contextualised
Modified Paths:
--------------
trunk/src/main/dm/AssessedCompetencyLevel.table
trunk/src/main/dm/Competency.table
trunk/src/main/dm/Context.table
trunk/src/main/dm/DeltaProficiencyCompetency.table
trunk/src/main/dm/MatchProfile.table
trunk/src/main/dm/ProficiencyCompetency.table
trunk/src/main/dm/Score.table
trunk/src/main/dm/WeighedCompetency.table
Removed Paths:
-------------
trunk/src/main/dm/Commitment.table
trunk/src/main/dm/ScoreCommitment.table
Modified: trunk/src/main/dm/AssessedCompetencyLevel.table
===================================================================
--- trunk/src/main/dm/AssessedCompetencyLevel.table 2010-01-30 21:03:38 UTC (rev 20)
+++ trunk/src/main/dm/AssessedCompetencyLevel.table 2010-01-31 19:50:37 UTC (rev 21)
@@ -21,7 +21,7 @@
<page>
- <field name="Competency" type="Commitment">
+ <field name="Competency" type="Competency">
<description>
Competency (in context) which is Weighed, to be assigned in an artifact as embedded details for competencies.
</description>
Deleted: trunk/src/main/dm/Commitment.table
===================================================================
--- trunk/src/main/dm/Commitment.table 2010-01-30 21:03:38 UTC (rev 20)
+++ trunk/src/main/dm/Commitment.table 2010-01-31 19:50:37 UTC (rev 21)
@@ -1,195 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE table SYSTEM "equanda.dtd">
-
-<table name="Commitment" expected-amount="small" category="tables.Main">
-
- <description>
- Link between a competency and the context. The link with the competency content ontology is also considered a context.
- </description>
-
- <data-filter name="Organization"><filter-query from="IN (o.competency.organizations) org" where="org.reference=${}"/></data-filter>
- <data-filter name="ApplicationDomain"><filter-query where="o.applicationDomain.reference=${}"/></data-filter>
- <data-filter name="InactiveFilter"><filter-query where="o.inactive=0"/></data-filter>
-
- <page name="ALL">
-
- <field name="Competency" type="Competency">
- <description>
- Competency for this commitment.
- </description>
- <link-name>Competency_Commitment</link-name>
- </field>
-
- <field name="Context" type="Context">
- <description>
- Context for this commitment.
- </description>
- <display/>
- <constraints>
- <required/>
- </constraints>
- <default type="class">org.skabacca.util.DefaultCompetencyContext</default>
- </field>
-
- <field name="Title" type="titleString">
- <description>
- Competency title.
- </description>
- <constraints>
- <required/>
- </constraints>
- </field>
-
- </page>
-
- <page>
-
- <field name="Reference" type="referenceString">
- <description>
- Reference for competency, also referred to (in documents) as Id.
- This will typically be the RCD URI.
- </description>
- </field>
-
- <field name="Description" type="descriptionClob">
- <description>
- Description for the competency in this context.
- </description>
- <constraints>
- <value-when-null field="Description" path="Competency"/>
- </constraints>
- <display/>
- </field>
-
- <field name="CompetencyCategories" singular="CompetencyCategory" type="CompetencyCategory">
- <description>
- Categories for this competency.
- </description>
- <multiple/>
- <cascade-keep/>
- </field>
-
- <field name="Scale" type="Scale">
- <description>
- Scale to be used for the competency in this context.
- When the scale is chosen, and the scale is discrete, then the user should be given a list of scores as it needs to be allowed to specify context specific text/commitment.
- </description>
- </field>
-
- <field name="Scores" type="ScoreCommitment">
- <description>
- Commitments for the scale.
- </description>
- <link-name>Competency_ScoreCommitment</link-name>
- <cascade-delete/>
- <hide/>
- </field>
-
- <field name="Commitment" type="uri">
- <description>
- Location where the semantical commitment can be found. This uri is also used to determine how the commitment can be defined.
- It is normally based on the ontology for the context.
- In principle this is only filled if the scale is continuous, otherwise the commitment should be specific for each possible score.
- </description>
- </field>
-
- <field name="Inactive" type="boolean">
- <description>
- Indicates that the object should not be selectable in the gui.
- </description>
- </field>
-
- <group name="RollupRules">
-
- <field name="CombinationRule" length="4">
- <description>
- How should the child competencies be matched?
- </description>
- <choice name="COMBINATIONRULE_ALL" value="ALL"/>
- <choice name="COMBINATIONRULE_SOME" value="SOME"/>
- <default>COMBINATIONRULE_ALL</default>
- <constraints>
- <required/>
- </constraints>
- </field>
-
- <field name="MinimumMatchWeight" type="int" priority="6">
- <description>
- Details the minimum combined weight of matching child compentencies to allow this one to match.
- Can not be higher than the total weights linked WeightCompetencies with positive weight.
- Only relevant when combinationrule is set so "some".
- </description>
- <default>0</default>
- </field>
-
- <field name="MinimumScoreWeight" type="int" priority="6">
- <description>
- Details the minimum combined weight of matching child compentencies as used to calculate the match score.
- Has to be positive.
- For example a competency with three children, all weighed as "1", and one child weighed as "2" may have a MinimumMatchWeight of "2" and a MinimumScoreWeight of "3". The match competency matches when at least a weight of two is reached, but you need a weight of 3 to have a shot at 1.0 as match score.
- Only relevant when combinationrule is set so "some".
- </description>
- <default>1</default>
- </field>
-
- </group>
-
- <field name="WeighedCompetencies" singular="WeighedCompetency" type="WeighedCompetency">
- <description>
- Child competencies for this one.
- </description>
- <link-name>Competency_WeighedCompetency</link-name>
- <multiple/>
- <embedded/>
- </field>
-
- <!-- some calculated fields to easy display of levels etc -->
- <field name="Discrete" type="boolean">
- <description>
- Indicates whether the scale (if any) is discrete.
- </description>
- <calculated/>
- <hide/>
- </field>
- <field name="MinimumProficiencyLevel" type="double">
- <description>
- Lowest (inclusive) allowed value for the scale.
- </description>
- <calculated/>
- <hide/>
- </field>
- <field name="MaximumProficiencyLevel" type="double">
- <description>
- Highest (inclusive) allowed value for the scale.
- </description>
- <calculated/>
- <hide/>
- </field>
-
- </page>
-
- <select name="Reference" type="single">
- <selection field="Reference"/>
- </select>
-
- <select name="Context">
- <description>Select the commitments in a specific context.</description>
- <selection field="Context"/>
- </select>
-
- <select name="Category">
- <selection field="CompetencyCategories" />
- </select>
-
- <select name="HasSemantics">
- <selection field="Commitment" test="is not null"/>
- <hide/>
- </select>
-
- <action name="linkDogTagger" return="java.net.URL">
- <description>
- Allows the definition of the link with the semantic definition using Starlab's dogtagger.
- </description>
- </action>
-
-</table>
Modified: trunk/src/main/dm/Competency.table
===================================================================
--- trunk/src/main/dm/Competency.table 2010-01-30 21:03:38 UTC (rev 20)
+++ trunk/src/main/dm/Competency.table 2010-01-31 19:50:37 UTC (rev 21)
@@ -4,12 +4,11 @@
<table name="Competency" expected-amount="medium" category="tables.Main">
<description>
- A general competency, as interpreted inside a context.
+ A competency. The context for the competency is explicit.
</description>
- <data-filter name="Organization"><filter-query from="IN (o.organizations) org" where="org.reference=${}"/></data-filter>
+ <data-filter name="Organization"><filter-query from="IN (o.competency.organizations) org" where="org.reference=${}"/></data-filter>
<data-filter name="ApplicationDomain"><filter-query where="o.applicationDomain.reference=${}"/></data-filter>
- <!--<data-filter>Context</data-filter>-->
<data-filter name="InactiveFilter"><filter-query where="o.inactive=0"/></data-filter>
<page name="ALL">
@@ -23,6 +22,17 @@
</constraints>
</field>
+ <field name="Context" type="Context">
+ <description>
+ Context for this competency.
+ </description>
+ <display/>
+ <constraints>
+ <required/>
+ </constraints>
+ <default type="class">org.skabacca.util.DefaultCompetencyContext</default>
+ </field>
+
</page>
<page>
@@ -34,20 +44,12 @@
</description>
</field>
- <field name="Organizations" type="organizations">
+ <field name="Description" type="descriptionClob">
<description>
- Organizations for which this assessment method is applicable.
+ Description for the competency in this context.
</description>
+ <display/>
</field>
-
- <field name="Commitments" type="Commitment">
- <description>
- Semantic commitments including possible context links.
- </description>
- <link-name>Competency_Commitment</link-name>
- <multiple/>
- <embedded/>
- </field>
<field name="CompetencyCategories" singular="CompetencyCategory" type="CompetencyCategory">
<description>
@@ -57,11 +59,11 @@
<cascade-keep/>
</field>
- <field name="Description" type="descriptionClob">
+ <field name="Scale" type="Scale">
<description>
- Description for the Competency.
+ Scale to be used for the competency.
+ When the scale is chosen, and the scale is discrete, then the user should be given a list of scores.
</description>
- <display/>
</field>
<field name="Inactive" type="boolean">
@@ -70,6 +72,73 @@
</description>
</field>
+ <group name="RollupRules">
+
+ <field name="CombinationRule" length="4">
+ <description>
+ How should the child competencies be matched?
+ </description>
+ <choice name="COMBINATIONRULE_ALL" value="ALL"/>
+ <choice name="COMBINATIONRULE_SOME" value="SOME"/>
+ <default>COMBINATIONRULE_ALL</default>
+ <constraints>
+ <required/>
+ </constraints>
+ </field>
+
+ <field name="MinimumMatchWeight" type="int" priority="6">
+ <description>
+ Details the minimum combined weight of matching child compentencies to allow this one to match.
+ Can not be higher than the total weights linked WeightCompetencies with positive weight.
+ Only relevant when combinationrule is set so "some".
+ </description>
+ <default>0</default>
+ </field>
+
+ <field name="MinimumScoreWeight" type="int" priority="6">
+ <description>
+ Details the minimum combined weight of matching child compentencies as used to calculate the match score.
+ Has to be positive.
+ For example a competency with three children, all weighed as "1", and one child weighed as "2" may have a MinimumMatchWeight of "2" and a MinimumScoreWeight of "3". The match competency matches when at least a weight of two is reached, but you need a weight of 3 to have a shot at 1.0 as match score.
+ Only relevant when combinationrule is set so "some".
+ </description>
+ <default>1</default>
+ </field>
+
+ </group>
+
+ <field name="WeighedCompetencies" singular="WeighedCompetency" type="WeighedCompetency">
+ <description>
+ Child competencies for this one.
+ </description>
+ <link-name>Competency_WeighedCompetency</link-name>
+ <multiple/>
+ <embedded/>
+ </field>
+
+ <!-- some calculated fields to easy display of levels etc -->
+ <field name="Discrete" type="boolean">
+ <description>
+ Indicates whether the scale (if any) is discrete.
+ </description>
+ <calculated/>
+ <hide/>
+ </field>
+ <field name="MinimumProficiencyLevel" type="double">
+ <description>
+ Lowest (inclusive) allowed value for the scale.
+ </description>
+ <calculated/>
+ <hide/>
+ </field>
+ <field name="MaximumProficiencyLevel" type="double">
+ <description>
+ Highest (inclusive) allowed value for the scale.
+ </description>
+ <calculated/>
+ <hide/>
+ </field>
+
</page>
<select name="Reference" type="single">
@@ -77,15 +146,12 @@
</select>
<select name="Context">
- <selection field="Reference" table="Context" path="commitments.context"/>
+ <description>Select the competencies in a specific context.</description>
+ <selection field="Context"/>
</select>
<select name="Category">
<selection field="CompetencyCategories" />
</select>
- <select name="Organization">
- <selection field="Reference" table="Organization" path="organizations"/>
- </select>
-
</table>
Modified: trunk/src/main/dm/Context.table
===================================================================
--- trunk/src/main/dm/Context.table 2010-01-30 21:03:38 UTC (rev 20)
+++ trunk/src/main/dm/Context.table 2010-01-31 19:50:37 UTC (rev 21)
@@ -48,12 +48,6 @@
<display/>
</field>
- <field name="Ontology" type="uri">
- <description>
- Location where the ontology can be found. This uri is also used to determine how the commitment can be defined.
- </description>
- </field>
-
</page>
<select name="Reference" type="single">
Modified: trunk/src/main/dm/DeltaProficiencyCompetency.table
===================================================================
--- trunk/src/main/dm/DeltaProficiencyCompetency.table 2010-01-30 21:03:38 UTC (rev 20)
+++ trunk/src/main/dm/DeltaProficiencyCompetency.table 2010-01-31 19:50:37 UTC (rev 21)
@@ -9,7 +9,7 @@
<page>
- <field name="Competency" type="Commitment">
+ <field name="Competency" type="Competency">
<description>
Weighed competency, to be assigned in an artifact as embedded details for competencies.
</description>
Modified: trunk/src/main/dm/MatchProfile.table
===================================================================
--- trunk/src/main/dm/MatchProfile.table 2010-01-30 21:03:38 UTC (rev 20)
+++ trunk/src/main/dm/MatchProfile.table 2010-01-31 19:50:37 UTC (rev 21)
@@ -47,32 +47,6 @@
<default>0.5</default>
</field>
- <field name="DirectMatchMultiplier" type="double">
- <description>
- Multiplier which should be applied to the confidence rating for direct matching.
- The value should be in the [0..1].
- Direct matching is not considered when the value is 0.
- </description>
- <constraints>
- <compare test="<=" value="1.0"/>
- <compare test=">" value="0"/>
- </constraints>
- <default>1.0</default>
- </field>
-
- <field name="SemanticMatchMultiplier" type="double">
- <description>
- Multiplier which should be applied to the confidence rating for semantic matching.
- The value should be in the [0..1].
- Semantic matching is not considered when the value is 0.
- </description>
- <constraints>
- <compare test="<=" value="1.0"/>
- <compare test=">=" value="0.0"/>
- </constraints>
- <default>0.0</default>
- </field>
-
<group name="Relevancy">
<field name="RelevancyGraceDaysDefault" type="int">
<description>
Modified: trunk/src/main/dm/ProficiencyCompetency.table
===================================================================
--- trunk/src/main/dm/ProficiencyCompetency.table 2010-01-30 21:03:38 UTC (rev 20)
+++ trunk/src/main/dm/ProficiencyCompetency.table 2010-01-31 19:50:37 UTC (rev 21)
@@ -9,7 +9,7 @@
<page>
- <field name="Competency" type="Commitment">
+ <field name="Competency" type="Competency">
<description>
Competency (in context) which is Weighed, to be assigned in an artifact as embedded details for competencies.
</description>
Modified: trunk/src/main/dm/Score.table
===================================================================
--- trunk/src/main/dm/Score.table 2010-01-30 21:03:38 UTC (rev 20)
+++ trunk/src/main/dm/Score.table 2010-01-31 19:50:37 UTC (rev 21)
@@ -29,15 +29,6 @@
</constraints>
</field>
- <field name="Commitments" type="ScoreCommitment">
- <description>
- Commitments for this score.
- </description>
- <link-name>Score_ScoreCommitment</link-name>
- <cascade-delete/>
- <hide/>
- </field>
-
<field name="Description" type="descriptionClob">
<description>
Description for the score.
Deleted: trunk/src/main/dm/ScoreCommitment.table
===================================================================
--- trunk/src/main/dm/ScoreCommitment.table 2010-01-30 21:03:38 UTC (rev 20)
+++ trunk/src/main/dm/ScoreCommitment.table 2010-01-31 19:50:37 UTC (rev 21)
@@ -1,59 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE table SYSTEM "equanda.dtd">
-
-<table name="ScoreCommitment" expected-amount="small" category="tables.Settings">
-
- <description>
- A commitment for a specific score (or the scores for a possible competency commitment).
- </description>
-
- <page name="ALL">
-
- <field name="Score" type="Score">
- <description>
- Score for which this is a specific commitment.
- </description>
- <link-name>Score_ScoreCommitment</link-name>
- <constraints>
- <required/>
- </constraints>
- </field>
-
- <field name="Competency" type="Commitment">
- <description>
- Competency (and context) for which this score is applicable.
- </description>
- <link-name>Competency_ScoreCommitment</link-name>
- <constraints>
- <required/>
- </constraints>
- </field>
-
- </page>
-
- <page>
-
- <field name="Description" type="descriptionClob">
- <description>
- Description for the score.
- </description>
- <display/>
- </field>
-
- <field name="Value" type="double">
- <description>
- Value for the scale, should be between minimum and maximum allowed values for the scale.
- </description>
- </field>
-
- <field name="Commitment" type="uri">
- <description>
- Location where the semantical commitment can be found. This uri is also used to determine how the commitment can be defined.
- It is normally based on the ontology for the context.
- IN principle this is only filled if the scale is continuous, otherwise the commitment should be specific for each possible score.
- </description>
- </field>
-
- </page>
-
-</table>
Modified: trunk/src/main/dm/WeighedCompetency.table
===================================================================
--- trunk/src/main/dm/WeighedCompetency.table 2010-01-30 21:03:38 UTC (rev 20)
+++ trunk/src/main/dm/WeighedCompetency.table 2010-01-31 19:50:37 UTC (rev 21)
@@ -9,14 +9,14 @@
<page>
- <field name="Parent" type="Commitment">
+ <field name="Parent" type="Competency">
<description>
Competency which combines this one.
</description>
<link-name>Competency_WeighedCompetency</link-name>
</field>
- <field name="Competency" type="Commitment">
+ <field name="Competency" type="Competency">
<description>
Weighed competency, to be assigned in an artifact as embedded details for competencies.
</description>
@@ -38,7 +38,7 @@
<description>
If the competency has a scale with discrete values, then the score should be used to assign a value.
This is the minimum allowed score for the competency.
- {note}Only scores which are attached to the selected commitment should be allowed.{note}
+ {note}Only scores which are attached to the selected competency should be allowed.{note}
</description>
<display/>
</field>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|