Project

General

Profile

« Previous | Next » 

Revision 2980

Added by Matt Jones over 18 years ago

Initial thoughts about modifying the metacat data model and programs to
support full LSID identifiers in the data model.

View differences:

docs/dev/metacat-identifier.xmi
1
<?xml version="1.0" encoding="UTF-8"?>
2
<XMI xmlns:UML="http://schema.omg.org/spec/UML/1.3" verified="false" timestamp="2005-11-18T16:16:27" xmi.version="1.2" >
3
 <XMI.header>
4
  <XMI.documentation>
5
   <XMI.exporter>umbrello uml modeller http://uml.sf.net</XMI.exporter>
6
   <XMI.exporterVersion>1.4.2</XMI.exporterVersion>
7
   <XMI.exporterEncoding>UnicodeUTF8</XMI.exporterEncoding>
8
  </XMI.documentation>
9
  <XMI.metamodel xmi.name="UML" href="UML.xml" xmi.version="1.3" />
10
 </XMI.header>
11
 <XMI.content>
12
  <UML:Model isSpecification="false" isLeaf="false" isRoot="false" isAbstract="false" >
13
   <UML:Namespace.ownedElement>
14
    <UML:Stereotype isSpecification="false" isLeaf="false" visibility="public" xmi.id="3" isRoot="false" isAbstract="false" name="datatype" />
15
    <UML:DataType stereotype="3" isSpecification="false" isLeaf="false" visibility="public" xmi.id="2" isRoot="false" isAbstract="false" name="int" />
16
    <UML:DataType stereotype="3" isSpecification="false" isLeaf="false" visibility="public" xmi.id="4" isRoot="false" isAbstract="false" name="char" />
17
    <UML:DataType stereotype="3" isSpecification="false" isLeaf="false" visibility="public" xmi.id="5" isRoot="false" isAbstract="false" name="bool" />
18
    <UML:DataType stereotype="3" isSpecification="false" isLeaf="false" visibility="public" xmi.id="6" isRoot="false" isAbstract="false" name="float" />
19
    <UML:DataType stereotype="3" isSpecification="false" isLeaf="false" visibility="public" xmi.id="7" isRoot="false" isAbstract="false" name="double" />
20
    <UML:DataType stereotype="3" isSpecification="false" isLeaf="false" visibility="public" xmi.id="8" isRoot="false" isAbstract="false" name="long" />
21
    <UML:DataType stereotype="3" isSpecification="false" isLeaf="false" visibility="public" xmi.id="9" isRoot="false" isAbstract="false" name="short" />
22
    <UML:DataType stereotype="3" isSpecification="false" isLeaf="false" visibility="public" xmi.id="10" isRoot="false" isAbstract="false" name="string" />
23
    <UML:DataType stereotype="3" isSpecification="false" isLeaf="false" visibility="public" xmi.id="17" isRoot="false" isAbstract="false" name="void" />
24
    <UML:Class comment="A representation of a unique identifier within the metacat system.  The identifier consists of four parts: authority, namespace, localId, and revision.  These parts correspond to the components of an LSID, and to the components of existing docids in metacat." isSpecification="false" isLeaf="false" visibility="public" xmi.id="11" isRoot="false" isAbstract="false" name="Identifier" >
25
     <UML:Classifier.feature>
26
      <UML:Attribute isSpecification="false" isLeaf="false" visibility="private" xmi.id="12" isRoot="false" initialValue="" type="10" isAbstract="false" name="authority" />
27
      <UML:Attribute isSpecification="false" isLeaf="false" visibility="private" xmi.id="13" isRoot="false" initialValue="" type="10" isAbstract="false" name="namespace" />
28
      <UML:Attribute isSpecification="false" isLeaf="false" visibility="private" xmi.id="14" isRoot="false" initialValue="" type="10" isAbstract="false" name="localid" />
29
      <UML:Attribute isSpecification="false" isLeaf="false" visibility="private" xmi.id="15" isRoot="false" initialValue="" type="10" isAbstract="false" name="revision" />
30
      <UML:Operation isSpecification="false" isLeaf="false" visibility="public" xmi.id="291" isRoot="false" isAbstract="false" name="Identifier" >
31
       <UML:BehavioralFeature.parameter>
32
        <UML:Parameter isSpecification="false" isLeaf="false" visibility="private" xmi.id="292" isRoot="false" value="" type="10" isAbstract="false" name="authority" />
33
        <UML:Parameter isSpecification="false" isLeaf="false" visibility="private" xmi.id="297" isRoot="false" value="" type="10" isAbstract="false" name="namespace" />
34
        <UML:Parameter isSpecification="false" isLeaf="false" visibility="private" xmi.id="302" isRoot="false" value="" type="10" isAbstract="false" name="localId" />
35
        <UML:Parameter isSpecification="false" isLeaf="false" visibility="private" xmi.id="307" isRoot="false" value="" type="10" isAbstract="false" name="revision" />
36
       </UML:BehavioralFeature.parameter>
37
      </UML:Operation>
38
      <UML:Operation isSpecification="false" isLeaf="false" visibility="public" xmi.id="348" isRoot="false" isAbstract="false" name="Identifier" >
39
       <UML:BehavioralFeature.parameter>
40
        <UML:Parameter isSpecification="false" isLeaf="false" visibility="private" xmi.id="353" isRoot="false" value="" type="366" isAbstract="false" name="LSID" />
41
       </UML:BehavioralFeature.parameter>
42
      </UML:Operation>
43
      <UML:Operation isSpecification="false" isLeaf="false" visibility="public" xmi.id="16" isRoot="false" isAbstract="false" name="getAuthority" >
44
       <UML:BehavioralFeature.parameter>
45
        <UML:Parameter kind="return" xmi.id="987" type="10" />
46
       </UML:BehavioralFeature.parameter>
47
      </UML:Operation>
48
      <UML:Operation isSpecification="false" isLeaf="false" visibility="public" xmi.id="19" isRoot="false" isAbstract="false" name="getNamespace" >
49
       <UML:BehavioralFeature.parameter>
50
        <UML:Parameter kind="return" xmi.id="988" type="10" />
51
       </UML:BehavioralFeature.parameter>
52
      </UML:Operation>
53
      <UML:Operation isSpecification="false" isLeaf="false" visibility="public" xmi.id="22" isRoot="false" isAbstract="false" name="getLocalId" >
54
       <UML:BehavioralFeature.parameter>
55
        <UML:Parameter kind="return" xmi.id="989" type="10" />
56
       </UML:BehavioralFeature.parameter>
57
      </UML:Operation>
58
      <UML:Operation isSpecification="false" isLeaf="false" visibility="public" xmi.id="26" isRoot="false" isAbstract="false" name="getRevision" >
59
       <UML:BehavioralFeature.parameter>
60
        <UML:Parameter kind="return" xmi.id="990" type="10" />
61
       </UML:BehavioralFeature.parameter>
62
      </UML:Operation>
63
     </UML:Classifier.feature>
64
    </UML:Class>
65
    <UML:Package isSpecification="false" isLeaf="false" visibility="public" xmi.id="55" isRoot="false" isAbstract="false" name="edu.ucsb.nceas.metacat" >
66
     <UML:Namespace.ownedElement/>
67
    </UML:Package>
68
    <UML:Class isSpecification="false" isLeaf="false" visibility="public" xmi.id="109" isRoot="false" isAbstract="false" name="MetaCatServlet" />
69
    <UML:Class isSpecification="false" isLeaf="false" visibility="public" xmi.id="366" isRoot="false" isAbstract="false" name="LSID" />
70
    <UML:Entity isSpecification="false" isLeaf="false" visibility="public" xmi.id="448" isRoot="false" isAbstract="false" name="xml_identifiers" >
71
     <UML:EntityAttribute attributes="" values="" dbindex_type="1101" isSpecification="false" allow_null="0" isLeaf="false" visibility="private" auto_increment="1" xmi.id="481" isRoot="false" initialValue="" type="482" isAbstract="false" name="id" />
72
     <UML:EntityAttribute attributes="" values="255" dbindex_type="1100" isSpecification="false" allow_null="0" isLeaf="false" visibility="private" auto_increment="0" xmi.id="491" isRoot="false" initialValue="" type="492" isAbstract="false" name="authority" />
73
     <UML:EntityAttribute attributes="" values="255" dbindex_type="1100" isSpecification="false" allow_null="0" isLeaf="false" visibility="private" auto_increment="0" xmi.id="501" isRoot="false" initialValue="" type="492" isAbstract="false" name="namespace" />
74
     <UML:EntityAttribute attributes="" values="255" dbindex_type="1100" isSpecification="false" allow_null="0" isLeaf="false" visibility="private" auto_increment="0" xmi.id="506" isRoot="false" initialValue="" type="867" isAbstract="false" name="object" />
75
     <UML:EntityAttribute attributes="" comment="Table containing the full list of identifiers for metacat.  Each identifier in use in the system is listed here, and its primary key is used to reference this identifier in all other tables." values="255" dbindex_type="1100" isSpecification="false" allow_null="0" isLeaf="false" visibility="private" auto_increment="0" xmi.id="511" isRoot="false" initialValue="" type="492" isAbstract="false" name="revision" />
76
    </UML:Entity>
77
    <UML:Entity isSpecification="false" isLeaf="false" visibility="public" xmi.id="453" isRoot="false" isAbstract="false" name="xml_documents" >
78
     <UML:EntityAttribute attributes="" values="" dbindex_type="1101" isSpecification="false" allow_null="0" isLeaf="false" visibility="private" auto_increment="0" xmi.id="568" isRoot="false" initialValue="" type="482" isAbstract="false" name="id" />
79
     <UML:EntityAttribute attributes="" values="" dbindex_type="1100" isSpecification="false" allow_null="0" isLeaf="false" visibility="private" auto_increment="0" xmi.id="652" isRoot="false" initialValue="" type="482" isAbstract="false" name="rootnodeid" />
80
    </UML:Entity>
81
    <UML:Entity isSpecification="false" isLeaf="false" visibility="public" xmi.id="458" isRoot="false" isAbstract="false" name="xml_revisions" >
82
     <UML:EntityAttribute attributes="" values="" dbindex_type="1100" isSpecification="false" allow_null="0" isLeaf="false" visibility="private" auto_increment="0" xmi.id="581" isRoot="false" initialValue="" type="482" isAbstract="false" name="id" />
83
     <UML:EntityAttribute attributes="" values="" dbindex_type="1100" isSpecification="false" allow_null="0" isLeaf="false" visibility="private" auto_increment="0" xmi.id="665" isRoot="false" initialValue="" type="482" isAbstract="false" name="rootnodeid" />
84
    </UML:Entity>
85
    <UML:Entity isSpecification="false" isLeaf="false" visibility="public" xmi.id="463" isRoot="false" isAbstract="false" name="xml_nodes" >
86
     <UML:EntityAttribute attributes="" values="" dbindex_type="1101" isSpecification="false" allow_null="0" isLeaf="false" visibility="private" auto_increment="1" xmi.id="626" isRoot="false" initialValue="" type="482" isAbstract="false" name="nodeid" />
87
     <UML:EntityAttribute attributes="" values="" dbindex_type="1100" isSpecification="false" allow_null="0" isLeaf="false" visibility="private" auto_increment="0" xmi.id="696" isRoot="false" initialValue="" type="482" isAbstract="false" name="parentnodeid" />
88
     <UML:EntityAttribute attributes="" values="" dbindex_type="1100" isSpecification="false" allow_null="0" isLeaf="false" visibility="private" auto_increment="0" xmi.id="701" isRoot="false" initialValue="" type="482" isAbstract="false" name="rootnodeid" />
89
     <UML:EntityAttribute attributes="" values="" dbindex_type="1100" isSpecification="false" allow_null="0" isLeaf="false" visibility="private" auto_increment="0" xmi.id="639" isRoot="false" initialValue="" type="482" isAbstract="false" name="id" />
90
    </UML:Entity>
91
    <UML:Entity isSpecification="false" isLeaf="false" visibility="public" xmi.id="468" isRoot="false" isAbstract="false" name="xml_nodes_revisions" >
92
     <UML:EntityAttribute attributes="" values="" dbindex_type="1101" isSpecification="false" allow_null="0" isLeaf="false" visibility="private" auto_increment="0" xmi.id="678" isRoot="false" initialValue="" type="482" isAbstract="false" name="nodeid" />
93
     <UML:EntityAttribute attributes="" values="" dbindex_type="1100" isSpecification="false" allow_null="0" isLeaf="false" visibility="private" auto_increment="0" xmi.id="730" isRoot="false" initialValue="" type="482" isAbstract="false" name="parentnodeid" />
94
     <UML:EntityAttribute attributes="" values="" dbindex_type="1100" isSpecification="false" allow_null="0" isLeaf="false" visibility="private" auto_increment="0" xmi.id="735" isRoot="false" initialValue="" type="482" isAbstract="false" name="rootnodeid" />
95
     <UML:EntityAttribute attributes="" values="" dbindex_type="1100" isSpecification="false" allow_null="0" isLeaf="false" visibility="private" auto_increment="0" xmi.id="683" isRoot="false" initialValue="" type="482" isAbstract="false" name="id" />
96
    </UML:Entity>
97
    <UML:Entity isSpecification="false" isLeaf="false" visibility="public" xmi.id="854" isRoot="false" isAbstract="false" name="access_log" />
98
    <UML:Association isSpecification="false" visibility="public" xmi.id="528" name="" >
99
     <UML:Association.connection>
100
      <UML:AssociationEnd isSpecification="false" visibility="public" changeability="changeable" isNavigable="true" xmi.id="529" aggregation="none" type="453" name="" />
101
      <UML:AssociationEnd isSpecification="false" relationship="true" visibility="public" changeability="changeable" isNavigable="true" xmi.id="530" aggregation="none" type="448" name="" />
102
     </UML:Association.connection>
103
    </UML:Association>
104
    <UML:Association isSpecification="false" visibility="public" xmi.id="539" name="" >
105
     <UML:Association.connection>
106
      <UML:AssociationEnd isSpecification="false" visibility="public" changeability="changeable" isNavigable="true" xmi.id="540" aggregation="none" type="458" name="" />
107
      <UML:AssociationEnd isSpecification="false" relationship="true" visibility="public" changeability="changeable" isNavigable="true" xmi.id="541" aggregation="none" type="448" name="" />
108
     </UML:Association.connection>
109
    </UML:Association>
110
    <UML:Association isSpecification="false" visibility="public" xmi.id="756" name="" >
111
     <UML:Association.connection>
112
      <UML:AssociationEnd isSpecification="false" visibility="public" changeability="changeable" isNavigable="true" xmi.id="757" aggregation="none" type="453" name="" />
113
      <UML:AssociationEnd isSpecification="false" relationship="true" visibility="public" changeability="changeable" isNavigable="true" xmi.id="758" aggregation="none" type="463" name="" />
114
     </UML:Association.connection>
115
    </UML:Association>
116
    <UML:Association isSpecification="false" visibility="public" xmi.id="767" name="" >
117
     <UML:Association.connection>
118
      <UML:AssociationEnd isSpecification="false" visibility="public" changeability="changeable" isNavigable="true" xmi.id="768" aggregation="none" type="458" name="" />
119
      <UML:AssociationEnd isSpecification="false" relationship="true" visibility="public" changeability="changeable" isNavigable="true" xmi.id="769" aggregation="none" type="468" name="" />
120
     </UML:Association.connection>
121
    </UML:Association>
122
    <UML:Association isSpecification="false" visibility="public" xmi.id="880" name="" >
123
     <UML:Association.connection>
124
      <UML:AssociationEnd isSpecification="false" visibility="public" changeability="changeable" isNavigable="true" xmi.id="881" aggregation="none" type="854" name="" />
125
      <UML:AssociationEnd isSpecification="false" relationship="true" visibility="public" changeability="changeable" isNavigable="true" xmi.id="882" aggregation="none" type="448" name="" />
126
     </UML:Association.connection>
127
    </UML:Association>
128
   </UML:Namespace.ownedElement>
129
  </UML:Model>
130
 </XMI.content>
131
 <XMI.extensions xmi.extender="umbrello" >
132
  <docsettings viewid="1" documentation="" uniqueid="990" />
133
  <diagrams>
134
   <diagram snapgrid="0" showattsig="1" fillcolor="#ffffc0" linewidth="0" zoom="100" showgrid="0" showopsig="1" usefillcolor="1" snapx="10" canvaswidth="767" snapy="10" showatts="1" xmi.id="1" documentation="" type="402" showops="1" showpackage="0" name="class diagram" localid="900000" showstereotype="0" showscope="1" snapcsgrid="0" font="Sans Serif,10,-1,0,50,0,0,0,0,0" linecolor="#ff0000" canvasheight="696" >
135
    <widgets>
136
     <classwidget usesdiagramfillcolour="0" width="623" showattsigs="601" usesdiagramusefillcolour="0" x="54" linecolour="#ff0000" y="103" showopsigs="601" linewidth="none" usesdiagramlinewidth="1" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="135" usefillcolor="1" showpubliconly="1" showattributes="1" isinstance="0" xmi.id="11" showoperations="1" showpackage="1" showscope="1" showstereotype="0" font="Sans Serif,10,-1,5,75,0,0,0,0,0" />
137
     <packagewidget usesdiagramfillcolour="1" width="190" usesdiagramusefillcolour="1" x="54" linecolour="none" y="20" linewidth="none" usesdiagramlinewidth="1" usesdiagramlinecolour="1" fillcolour="none" height="46" usefillcolor="1" isinstance="0" xmi.id="55" showstereotype="0" font="Sans Serif,10,-1,0,75,0,0,0,0,0" />
138
    </widgets>
139
    <messages/>
140
    <associations/>
141
   </diagram>
142
   <diagram snapgrid="0" showattsig="1" fillcolor="#ffffc0" linewidth="0" zoom="100" showgrid="0" showopsig="1" usefillcolor="1" snapx="10" canvaswidth="783" snapy="10" showatts="1" xmi.id="439" documentation="" type="408" showops="1" showpackage="0" name="IdentifierDataModel" localid="900000" showstereotype="0" showscope="1" snapcsgrid="0" font="Sans Serif,10,-1,0,50,0,0,0,0,0" linecolor="#ff0000" canvasheight="712" >
143
    <widgets>
144
     <entitywidget usesdiagramfillcolour="0" width="122" usesdiagramusefillcolour="0" x="98" linecolour="#ff0000" y="131" linewidth="none" usesdiagramlinewidth="1" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="108" usefillcolor="1" isinstance="0" xmi.id="448" font="Sans Serif,10,-1,5,75,1,0,0,0,0" />
145
     <entitywidget usesdiagramfillcolour="0" width="129" usesdiagramusefillcolour="0" x="299" linecolour="#ff0000" y="102" linewidth="none" usesdiagramlinewidth="1" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="54" usefillcolor="1" isinstance="0" xmi.id="453" font="Sans Serif,10,-1,5,75,1,0,0,0,0" />
146
     <entitywidget usesdiagramfillcolour="0" width="113" usesdiagramusefillcolour="0" x="299" linecolour="#ff0000" y="224" linewidth="none" usesdiagramlinewidth="1" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="54" usefillcolor="1" isinstance="0" xmi.id="458" font="Sans Serif,10,-1,5,75,1,0,0,0,0" />
147
     <entitywidget usesdiagramfillcolour="0" width="95" usesdiagramusefillcolour="0" x="496" linecolour="#ff0000" y="84" linewidth="none" usesdiagramlinewidth="1" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="90" usefillcolor="1" isinstance="0" xmi.id="463" font="Sans Serif,10,-1,5,75,1,0,0,0,0" />
148
     <entitywidget usesdiagramfillcolour="0" width="164" usesdiagramusefillcolour="0" x="498" linecolour="#ff0000" y="206" linewidth="none" usesdiagramlinewidth="1" usesdiagramlinecolour="0" fillcolour="#ffffc0" height="90" usefillcolor="1" isinstance="0" xmi.id="468" font="Sans Serif,10,-1,5,75,1,0,0,0,0" />
149
     <entitywidget usesdiagramfillcolour="1" width="94" usesdiagramusefillcolour="1" x="112" linecolour="none" y="355" linewidth="none" usesdiagramlinewidth="1" usesdiagramlinecolour="1" fillcolour="none" height="27" usefillcolor="1" isinstance="0" xmi.id="854" font="Sans Serif,10,-1,0,50,0,0,0,0,0" />
150
    </widgets>
151
    <messages/>
152
    <associations>
153
     <assocwidget totalcounta="2" indexa="1" totalcountb="3" indexb="1" widgetbid="448" widgetaid="453" xmi.id="528" >
154
      <linepath>
155
       <startpoint startx="299" starty="129" />
156
       <endpoint endx="220" endy="167" />
157
      </linepath>
158
     </assocwidget>
159
     <assocwidget totalcounta="2" indexa="1" totalcountb="3" indexb="2" widgetbid="448" widgetaid="458" xmi.id="539" >
160
      <linepath>
161
       <startpoint startx="299" starty="251" />
162
       <endpoint endx="220" endy="203" />
163
      </linepath>
164
     </assocwidget>
165
     <assocwidget totalcounta="2" indexa="1" totalcountb="2" indexb="1" widgetbid="463" widgetaid="453" xmi.id="756" >
166
      <linepath>
167
       <startpoint startx="428" starty="129" />
168
       <endpoint endx="496" endy="129" />
169
      </linepath>
170
     </assocwidget>
171
     <assocwidget totalcounta="2" indexa="1" totalcountb="2" indexb="1" widgetbid="468" widgetaid="458" xmi.id="767" >
172
      <linepath>
173
       <startpoint startx="412" starty="252" />
174
       <endpoint endx="498" endy="251" />
175
      </linepath>
176
     </assocwidget>
177
     <assocwidget totalcounta="2" indexa="1" totalcountb="2" indexb="1" widgetbid="448" widgetaid="854" xmi.id="880" >
178
      <linepath>
179
       <startpoint startx="159" starty="355" />
180
       <endpoint endx="159" endy="239" />
181
      </linepath>
182
     </assocwidget>
183
    </associations>
184
   </diagram>
185
  </diagrams>
186
  <listview>
187
   <listitem open="1" type="800" label="Views" >
188
    <listitem open="1" type="801" label="Logical View" >
189
     <listitem open="0" type="813" id="11" >
190
      <listitem open="0" type="814" id="12" />
191
      <listitem open="0" type="814" id="13" />
192
      <listitem open="0" type="814" id="14" />
193
      <listitem open="0" type="814" id="15" />
194
      <listitem open="0" type="815" id="291" />
195
      <listitem open="0" type="815" id="348" />
196
      <listitem open="0" type="815" id="16" />
197
      <listitem open="0" type="815" id="19" />
198
      <listitem open="0" type="815" id="22" />
199
      <listitem open="0" type="815" id="26" />
200
     </listitem>
201
     <listitem open="1" type="813" id="366" />
202
     <listitem open="1" type="813" id="109" />
203
     <listitem open="1" type="818" id="55" />
204
     <listitem open="0" type="830" label="Datatypes" >
205
      <listitem open="1" type="829" id="5" />
206
      <listitem open="1" type="829" id="4" />
207
      <listitem open="1" type="829" id="7" />
208
      <listitem open="1" type="829" id="6" />
209
      <listitem open="1" type="829" id="2" />
210
      <listitem open="1" type="829" id="8" />
211
      <listitem open="1" type="829" id="9" />
212
      <listitem open="1" type="829" id="10" />
213
      <listitem open="1" type="829" id="17" />
214
     </listitem>
215
    </listitem>
216
    <listitem open="1" type="802" label="Use Case View" />
217
    <listitem open="1" type="821" label="Component View" />
218
    <listitem open="1" type="827" label="Deployment View" />
219
    <listitem open="1" type="836" label="Entity Relationship Model" >
220
     <listitem open="1" type="832" id="854" />
221
     <listitem open="1" type="832" id="453" />
222
     <listitem open="1" type="832" id="448" />
223
     <listitem open="1" type="832" id="463" />
224
     <listitem open="1" type="832" id="468" />
225
     <listitem open="1" type="832" id="458" />
226
    </listitem>
227
   </listitem>
228
  </listview>
229
  <codegeneration>
230
   <codegenerator language="SQL" />
231
  </codegeneration>
232
 </XMI.extensions>
233
</XMI>
0 234

  

Also available in: Unified diff