source: fedd/abac-src/rtml/doc/edu/stanford/rt/credential/DomainSpecification.html @ 2c9fff0

axis_examplecompt_changesinfo-opsversion-1.30version-2.00version-3.01version-3.02
Last change on this file since 2c9fff0 was 8780cbec, checked in by Jay Jacobs <Jay.Jacobs@…>, 15 years ago

ABAC sources from Cobham

  • Property mode set to 100644
File size: 38.2 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
2<!--NewPage-->
3<HTML>
4<HEAD>
5<!-- Generated by javadoc on Wed Oct 02 14:27:56 PDT 2002 -->
6<TITLE>
7DomainSpecification
8</TITLE>
9<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
10</HEAD>
11<SCRIPT>
12function asd()
13{
14parent.document.title="DomainSpecification";
15}
16</SCRIPT>
17<BODY BGCOLOR="white" onload="asd();">
18
19<!-- ========== START OF NAVBAR ========== -->
20<A NAME="navbar_top"><!-- --></A>
21<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
22<TR>
23<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
24<A NAME="navbar_top_firstrow"><!-- --></A>
25<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
26  <TR ALIGN="center" VALIGN="top">
27  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
28  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
29  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
30  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/DomainSpecification.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
31  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
32  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
33  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
34  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
35  </TR>
36</TABLE>
37</TD>
38<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
39</EM>
40</TD>
41</TR>
42
43<TR>
44<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
45&nbsp;<A HREF="../../../../edu/stanford/rt/credential/DelegationRole.html"><B>PREV CLASS</B></A>&nbsp;
46&nbsp;<A HREF="../../../../edu/stanford/rt/credential/HashID.html"><B>NEXT CLASS</B></A></FONT></TD>
47<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
48  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
49&nbsp;<A HREF="DomainSpecification.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
50&nbsp;
51<SCRIPT>
52  <!--
53  if(window==top) {
54    document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
55  }
56  //-->
57</SCRIPT>
58<NOSCRIPT>
59<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
60</NOSCRIPT>
61</FONT></TD>
62</TR>
63<TR>
64<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
65  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
66<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
67DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
68</TR>
69</TABLE>
70<!-- =========== END OF NAVBAR =========== -->
71
72<HR>
73<!-- ======== START OF CLASS DATA ======== -->
74<H2>
75<FONT SIZE="-1">
76edu.stanford.rt.credential</FONT>
77<BR>
78Class  DomainSpecification</H2>
79<PRE>
80java.lang.Object
81  |
82  +--<B>edu.stanford.rt.credential.DomainSpecification</B>
83</PRE>
84<DL>
85<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../edu/stanford/rt/credential/ApplicationDomain.html">ApplicationDomain</A>, <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A></DD>
86</DL>
87<HR>
88<DL>
89<DT>public class <B>DomainSpecification</B><DT>extends java.lang.Object</DL>
90
91<P>
92<DL>
93<DT><B>Author:</B><DD>Ninghui Li, Sandra Qiu<br>
94
95 This class stores the common information about an <code>ApplicationDomain</code> or
96 a <code>CredentialDomain</code>. The info includes the following:
97 principal type, imported application domains, type declarations,
98 role declarations, hash id, RTML context, and the parsing status.</DD>
99</DD>
100</DL>
101<HR>
102
103<P>
104<!-- ======== NESTED CLASS SUMMARY ======== -->
105
106
107<!-- =========== FIELD SUMMARY =========== -->
108
109<A NAME="field_summary"><!-- --></A>
110<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
111<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
112<TD COLSPAN=2><FONT SIZE="+2">
113<B>Field Summary</B></FONT></TD>
114</TR>
115<TR BGCOLOR="white" CLASS="TableRowColor">
116<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
117<CODE>private &nbsp;boolean</CODE></FONT></TD>
118<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#completeState">completeState</A></B></CODE>
119
120<BR>
121&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A flag indicates the parsing status of the domain.</TD>
122</TR>
123<TR BGCOLOR="white" CLASS="TableRowColor">
124<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
125<CODE>private &nbsp;<A HREF="../../../../edu/stanford/rt/credential/RTContext.html">RTContext</A></CODE></FONT></TD>
126<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#context">context</A></B></CODE>
127
128<BR>
129&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;RTML Context</TD>
130</TR>
131<TR BGCOLOR="white" CLASS="TableRowColor">
132<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
133<CODE>private &nbsp;<A HREF="../../../../edu/stanford/rt/credential/HashID.html">HashID</A></CODE></FONT></TD>
134<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#hashID">hashID</A></B></CODE>
135
136<BR>
137&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The hash value of the domain.</TD>
138</TR>
139<TR BGCOLOR="white" CLASS="TableRowColor">
140<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
141<CODE>private &nbsp;<A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A></CODE></FONT></TD>
142<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#importedDomains">importedDomains</A></B></CODE>
143
144<BR>
145&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stores all imported domains in this domain,
146 mapping string (domain name) to ApplicationDomain object.</TD>
147</TR>
148<TR BGCOLOR="white" CLASS="TableRowColor">
149<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
150<CODE>private &nbsp;<A HREF="../../../../edu/stanford/rt/datatype/SimpleType.html">SimpleType</A></CODE></FONT></TD>
151<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#principalType">principalType</A></B></CODE>
152
153<BR>
154&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Principal type</TD>
155</TR>
156<TR BGCOLOR="white" CLASS="TableRowColor">
157<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
158<CODE>private &nbsp;<A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A></CODE></FONT></TD>
159<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#roleDeclarations">roleDeclarations</A></B></CODE>
160
161<BR>
162&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stores all role declarations in this domain,
163 mapping string(role name) to role declaration object.</TD>
164</TR>
165<TR BGCOLOR="white" CLASS="TableRowColor">
166<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
167<CODE>private &nbsp;<A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A></CODE></FONT></TD>
168<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#typeDeclarations">typeDeclarations</A></B></CODE>
169
170<BR>
171&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stores all type decalarations in this domain,
172 mapping string(type name) to type declaration object.</TD>
173</TR>
174</TABLE>
175&nbsp;
176<!-- ======== CONSTRUCTOR SUMMARY ======== -->
177
178<A NAME="constructor_summary"><!-- --></A>
179<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
180<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
181<TD COLSPAN=2><FONT SIZE="+2">
182<B>Constructor Summary</B></FONT></TD>
183</TR>
184<TR BGCOLOR="white" CLASS="TableRowColor">
185<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
186<CODE>(package private)</CODE></FONT></TD>
187<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#DomainSpecification(edu.stanford.rt.credential.RTContext)">DomainSpecification</A></B>(<A HREF="../../../../edu/stanford/rt/credential/RTContext.html">RTContext</A>&nbsp;context)</CODE>
188
189<BR>
190&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constuctor for DomainSpecification.</TD>
191</TR>
192</TABLE>
193&nbsp;
194<!-- ========== METHOD SUMMARY =========== -->
195
196<A NAME="method_summary"><!-- --></A>
197<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
198<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
199<TD COLSPAN=2><FONT SIZE="+2">
200<B>Method Summary</B></FONT></TD>
201</TR>
202<TR BGCOLOR="white" CLASS="TableRowColor">
203<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
204<CODE>&nbsp;void</CODE></FONT></TD>
205<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#addRole(edu.stanford.rt.credential.RoleDeclaration)">addRole</A></B>(<A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A>&nbsp;role)</CODE>
206
207<BR>
208&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method addRole.</TD>
209</TR>
210<TR BGCOLOR="white" CLASS="TableRowColor">
211<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
212<CODE>&nbsp;void</CODE></FONT></TD>
213<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#addType(edu.stanford.rt.datatype.DataType)">addType</A></B>(<A HREF="../../../../edu/stanford/rt/datatype/DataType.html">DataType</A>&nbsp;type)</CODE>
214
215<BR>
216&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method addType.</TD>
217</TR>
218<TR BGCOLOR="white" CLASS="TableRowColor">
219<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
220<CODE>&nbsp;void</CODE></FONT></TD>
221<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#addType(java.lang.String)">addType</A></B>(java.lang.String&nbsp;typeName)</CODE>
222
223<BR>
224&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method addType.</TD>
225</TR>
226<TR BGCOLOR="white" CLASS="TableRowColor">
227<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
228<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/credential/RTContext.html">RTContext</A></CODE></FONT></TD>
229<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#getContext()">getContext</A></B>()</CODE>
230
231<BR>
232&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method getContext.</TD>
233</TR>
234<TR BGCOLOR="white" CLASS="TableRowColor">
235<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
236<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/credential/HashID.html">HashID</A></CODE></FONT></TD>
237<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#getHashID()">getHashID</A></B>()</CODE>
238
239<BR>
240&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the hashID.</TD>
241</TR>
242<TR BGCOLOR="white" CLASS="TableRowColor">
243<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
244<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A></CODE></FONT></TD>
245<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#getImportedDomains()">getImportedDomains</A></B>()</CODE>
246
247<BR>
248&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method getImportedDomains.</TD>
249</TR>
250<TR BGCOLOR="white" CLASS="TableRowColor">
251<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
252<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/datatype/SimpleType.html">SimpleType</A></CODE></FONT></TD>
253<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#getPrincipalType()">getPrincipalType</A></B>()</CODE>
254
255<BR>
256&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method getPrincipalType.</TD>
257</TR>
258<TR BGCOLOR="white" CLASS="TableRowColor">
259<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
260<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A></CODE></FONT></TD>
261<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#getRoleDeclarations()">getRoleDeclarations</A></B>()</CODE>
262
263<BR>
264&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method getRoleDeclarations.</TD>
265</TR>
266<TR BGCOLOR="white" CLASS="TableRowColor">
267<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
268<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A></CODE></FONT></TD>
269<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#getTypeDeclarations()">getTypeDeclarations</A></B>()</CODE>
270
271<BR>
272&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method getTypeDeclarations.</TD>
273</TR>
274<TR BGCOLOR="white" CLASS="TableRowColor">
275<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
276<CODE>&nbsp;void</CODE></FONT></TD>
277<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#importDomain(java.lang.String, edu.stanford.rt.credential.ApplicationDomain)">importDomain</A></B>(java.lang.String&nbsp;name,
278             <A HREF="../../../../edu/stanford/rt/credential/ApplicationDomain.html">ApplicationDomain</A>&nbsp;spec)</CODE>
279
280<BR>
281&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method importDomain.</TD>
282</TR>
283<TR BGCOLOR="white" CLASS="TableRowColor">
284<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
285<CODE>&nbsp;boolean</CODE></FONT></TD>
286<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#isComplete()">isComplete</A></B>()</CODE>
287
288<BR>
289&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method isComplete.</TD>
290</TR>
291<TR BGCOLOR="white" CLASS="TableRowColor">
292<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
293<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A></CODE></FONT></TD>
294<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#lookupImportedDomain(java.lang.String)">lookupImportedDomain</A></B>(java.lang.String&nbsp;domainRef)</CODE>
295
296<BR>
297&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method lookupImportedDomain.</TD>
298</TR>
299<TR BGCOLOR="white" CLASS="TableRowColor">
300<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
301<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A></CODE></FONT></TD>
302<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#lookupRoleDeclaration(java.lang.String)">lookupRoleDeclaration</A></B>(java.lang.String&nbsp;roleName)</CODE>
303
304<BR>
305&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method lookupRoleDeclaration.</TD>
306</TR>
307<TR BGCOLOR="white" CLASS="TableRowColor">
308<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
309<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A></CODE></FONT></TD>
310<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#lookupRoleDeclaration(java.lang.String, java.lang.String)">lookupRoleDeclaration</A></B>(java.lang.String&nbsp;domainRef,
311                      java.lang.String&nbsp;roleName)</CODE>
312
313<BR>
314&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method lookupRoleDeclaration.</TD>
315</TR>
316<TR BGCOLOR="white" CLASS="TableRowColor">
317<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
318<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/datatype/DataType.html">DataType</A></CODE></FONT></TD>
319<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#lookupType(java.lang.String)">lookupType</A></B>(java.lang.String&nbsp;typeName)</CODE>
320
321<BR>
322&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method lookupType.</TD>
323</TR>
324<TR BGCOLOR="white" CLASS="TableRowColor">
325<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
326<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/datatype/DataType.html">DataType</A></CODE></FONT></TD>
327<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#lookupType(java.lang.String, java.lang.String)">lookupType</A></B>(java.lang.String&nbsp;domainRef,
328           java.lang.String&nbsp;typeName)</CODE>
329
330<BR>
331&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method lookupType.</TD>
332</TR>
333<TR BGCOLOR="white" CLASS="TableRowColor">
334<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
335<CODE>private &nbsp;boolean</CODE></FONT></TD>
336<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#roleExistsInSystemDomain(java.lang.String)">roleExistsInSystemDomain</A></B>(java.lang.String&nbsp;roleName)</CODE>
337
338<BR>
339&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method roleExistsInSystemDomain.</TD>
340</TR>
341<TR BGCOLOR="white" CLASS="TableRowColor">
342<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
343<CODE>&nbsp;void</CODE></FONT></TD>
344<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#setComplete()">setComplete</A></B>()</CODE>
345
346<BR>
347&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method setComplete.</TD>
348</TR>
349<TR BGCOLOR="white" CLASS="TableRowColor">
350<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
351<CODE>&nbsp;void</CODE></FONT></TD>
352<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#setHashID(edu.stanford.rt.credential.HashID)">setHashID</A></B>(<A HREF="../../../../edu/stanford/rt/credential/HashID.html">HashID</A>&nbsp;hashID)</CODE>
353
354<BR>
355&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the hashID.</TD>
356</TR>
357<TR BGCOLOR="white" CLASS="TableRowColor">
358<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
359<CODE>&nbsp;void</CODE></FONT></TD>
360<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#setPrincipalType(edu.stanford.rt.datatype.SimpleType)">setPrincipalType</A></B>(<A HREF="../../../../edu/stanford/rt/datatype/SimpleType.html">SimpleType</A>&nbsp;prinType)</CODE>
361
362<BR>
363&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method setPrincipalType.</TD>
364</TR>
365<TR BGCOLOR="white" CLASS="TableRowColor">
366<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
367<CODE>private &nbsp;boolean</CODE></FONT></TD>
368<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html#typeExistsInSystemDomain(java.lang.String)">typeExistsInSystemDomain</A></B>(java.lang.String&nbsp;typeName)</CODE>
369
370<BR>
371&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method typeExistsInSystemDomain.</TD>
372</TR>
373</TABLE>
374&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
375<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
376<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
377<TD><B>Methods inherited from class java.lang.Object</B></TD>
378</TR>
379<TR BGCOLOR="white" CLASS="TableRowColor">
380<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
381</TR>
382</TABLE>
383&nbsp;
384<P>
385
386<!-- ============ FIELD DETAIL =========== -->
387
388<A NAME="field_detail"><!-- --></A>
389<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
390<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
391<TD COLSPAN=1><FONT SIZE="+2">
392<B>Field Detail</B></FONT></TD>
393</TR>
394</TABLE>
395
396<A NAME="principalType"><!-- --></A><H3>
397principalType</H3>
398<PRE>
399private <A HREF="../../../../edu/stanford/rt/datatype/SimpleType.html">SimpleType</A> <B>principalType</B></PRE>
400<DL>
401<DD>Principal type
402<P>
403<DL>
404</DL>
405</DL>
406<HR>
407
408<A NAME="importedDomains"><!-- --></A><H3>
409importedDomains</H3>
410<PRE>
411private <A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A> <B>importedDomains</B></PRE>
412<DL>
413<DD>Stores all imported domains in this domain,
414 mapping string (domain name) to ApplicationDomain object.
415<P>
416<DL>
417</DL>
418</DL>
419<HR>
420
421<A NAME="typeDeclarations"><!-- --></A><H3>
422typeDeclarations</H3>
423<PRE>
424private <A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A> <B>typeDeclarations</B></PRE>
425<DL>
426<DD>Stores all type decalarations in this domain,
427 mapping string(type name) to type declaration object.
428<P>
429<DL>
430</DL>
431</DL>
432<HR>
433
434<A NAME="roleDeclarations"><!-- --></A><H3>
435roleDeclarations</H3>
436<PRE>
437private <A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A> <B>roleDeclarations</B></PRE>
438<DL>
439<DD>Stores all role declarations in this domain,
440 mapping string(role name) to role declaration object.
441<P>
442<DL>
443</DL>
444</DL>
445<HR>
446
447<A NAME="completeState"><!-- --></A><H3>
448completeState</H3>
449<PRE>
450private boolean <B>completeState</B></PRE>
451<DL>
452<DD>A flag indicates the parsing status of the domain.
453<P>
454<DL>
455</DL>
456</DL>
457<HR>
458
459<A NAME="hashID"><!-- --></A><H3>
460hashID</H3>
461<PRE>
462private <A HREF="../../../../edu/stanford/rt/credential/HashID.html">HashID</A> <B>hashID</B></PRE>
463<DL>
464<DD>The hash value of the domain.
465<P>
466<DL>
467</DL>
468</DL>
469<HR>
470
471<A NAME="context"><!-- --></A><H3>
472context</H3>
473<PRE>
474private <A HREF="../../../../edu/stanford/rt/credential/RTContext.html">RTContext</A> <B>context</B></PRE>
475<DL>
476<DD>RTML Context
477<P>
478<DL>
479</DL>
480</DL>
481
482<!-- ========= CONSTRUCTOR DETAIL ======== -->
483
484<A NAME="constructor_detail"><!-- --></A>
485<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
486<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
487<TD COLSPAN=1><FONT SIZE="+2">
488<B>Constructor Detail</B></FONT></TD>
489</TR>
490</TABLE>
491
492<A NAME="DomainSpecification(edu.stanford.rt.credential.RTContext)"><!-- --></A><H3>
493DomainSpecification</H3>
494<PRE>
495<B>DomainSpecification</B>(<A HREF="../../../../edu/stanford/rt/credential/RTContext.html">RTContext</A>&nbsp;context)
496              throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
497<DL>
498<DD>Constuctor for DomainSpecification.
499             Contructs a DomainSpecification object with the specific uri.
500             Include System DomainSpecification for non-system DomainSpecification
501                 object.
502<P>
503<DT><B>Parameters:</B><DD><CODE>context</CODE> -
504<DT><B>Throws:</B>
505<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL>
506
507<!-- ============ METHOD DETAIL ========== -->
508
509<A NAME="method_detail"><!-- --></A>
510<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
511<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
512<TD COLSPAN=1><FONT SIZE="+2">
513<B>Method Detail</B></FONT></TD>
514</TR>
515</TABLE>
516
517<A NAME="importDomain(java.lang.String, edu.stanford.rt.credential.ApplicationDomain)"><!-- --></A><H3>
518importDomain</H3>
519<PRE>
520public void <B>importDomain</B>(java.lang.String&nbsp;name,
521                         <A HREF="../../../../edu/stanford/rt/credential/ApplicationDomain.html">ApplicationDomain</A>&nbsp;spec)
522                  throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
523<DL>
524<DD>Method importDomain.
525                Add a newly imported domain map.
526<P>
527<DD><DL>
528<DT><B>Parameters:</B><DD><CODE>name</CODE> - the short name to refer to spec with the domain.<DD><CODE>spec</CODE> -
529<DT><B>Throws:</B>
530<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL>
531</DD>
532</DL>
533<HR>
534
535<A NAME="addType(edu.stanford.rt.datatype.DataType)"><!-- --></A><H3>
536addType</H3>
537<PRE>
538public void <B>addType</B>(<A HREF="../../../../edu/stanford/rt/datatype/DataType.html">DataType</A>&nbsp;type)
539             throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
540<DL>
541<DD>Method addType.
542                Add a new type declaration to the domain.<br>
543<P>
544<DD><DL>
545<DT><B>Parameters:</B><DD><CODE>type</CODE> -
546<DT><B>Throws:</B>
547<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE> - DomainSpecException when a duplicated type declaration,
548      i.e. a type declaration with the same name and same data
549      type, is added.</DL>
550</DD>
551</DL>
552<HR>
553
554<A NAME="addType(java.lang.String)"><!-- --></A><H3>
555addType</H3>
556<PRE>
557public void <B>addType</B>(java.lang.String&nbsp;typeName)
558             throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
559<DL>
560<DD>Method addType.
561                Add XML built-in type.
562<P>
563<DD><DL>
564<DT><B>Parameters:</B><DD><CODE>typeName</CODE> -
565<DT><B>Throws:</B>
566<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL>
567</DD>
568</DL>
569<HR>
570
571<A NAME="addRole(edu.stanford.rt.credential.RoleDeclaration)"><!-- --></A><H3>
572addRole</H3>
573<PRE>
574public void <B>addRole</B>(<A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A>&nbsp;role)
575             throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
576<DL>
577<DD>Method addRole.
578                Add a new role declaration to the domain.
579<P>
580<DD><DL>
581<DT><B>Parameters:</B><DD><CODE>role</CODE> -
582<DT><B>Throws:</B>
583<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL>
584</DD>
585</DL>
586<HR>
587
588<A NAME="setPrincipalType(edu.stanford.rt.datatype.SimpleType)"><!-- --></A><H3>
589setPrincipalType</H3>
590<PRE>
591public void <B>setPrincipalType</B>(<A HREF="../../../../edu/stanford/rt/datatype/SimpleType.html">SimpleType</A>&nbsp;prinType)
592                      throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
593<DL>
594<DD>Method setPrincipalType.
595<P>
596<DD><DL>
597<DT><B>Parameters:</B><DD><CODE>prinType</CODE> -
598<DT><B>Throws:</B>
599<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL>
600</DD>
601</DL>
602<HR>
603
604<A NAME="isComplete()"><!-- --></A><H3>
605isComplete</H3>
606<PRE>
607public boolean <B>isComplete</B>()</PRE>
608<DL>
609<DD>Method isComplete.
610  checks whether the parsing is completed.
611<P>
612<DD><DL>
613
614<DT><B>Returns:</B><DD>boolean</DL>
615</DD>
616</DL>
617<HR>
618
619<A NAME="setComplete()"><!-- --></A><H3>
620setComplete</H3>
621<PRE>
622public void <B>setComplete</B>()</PRE>
623<DL>
624<DD>Method setComplete.
625      marks the parsing status as complete, so no modification
626      is allowed for imported domains, type declarations , and
627      role declarations maps.
628<P>
629<DD><DL>
630</DL>
631</DD>
632</DL>
633<HR>
634
635<A NAME="lookupImportedDomain(java.lang.String)"><!-- --></A><H3>
636lookupImportedDomain</H3>
637<PRE>
638public <A HREF="../../../../edu/stanford/rt/credential/DomainSpecification.html">DomainSpecification</A> <B>lookupImportedDomain</B>(java.lang.String&nbsp;domainRef)
639                                         throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
640<DL>
641<DD>Method lookupImportedDomain.
642                Lookup an imported domain by the given domainRef
643      in the currnt domain.
644<P>
645<DD><DL>
646<DT><B>Parameters:</B><DD><CODE>domainRef</CODE> -
647<DT><B>Returns:</B><DD>DomainSpecification
648<DT><B>Throws:</B>
649<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE> - if cannot find one</DL>
650</DD>
651</DL>
652<HR>
653
654<A NAME="lookupType(java.lang.String)"><!-- --></A><H3>
655lookupType</H3>
656<PRE>
657public <A HREF="../../../../edu/stanford/rt/datatype/DataType.html">DataType</A> <B>lookupType</B>(java.lang.String&nbsp;typeName)
658                    throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
659<DL>
660<DD>Method lookupType.
661                Look up the DataType declaration by given typeName
662      in the current domain.
663<P>
664<DD><DL>
665<DT><B>Parameters:</B><DD><CODE>typeName</CODE> -
666<DT><B>Returns:</B><DD>DataType
667  returns null if cannot find one.
668<DT><B>Throws:</B>
669<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE> - if cannot find a DataType declaration by the given name.</DL>
670</DD>
671</DL>
672<HR>
673
674<A NAME="lookupType(java.lang.String, java.lang.String)"><!-- --></A><H3>
675lookupType</H3>
676<PRE>
677public <A HREF="../../../../edu/stanford/rt/datatype/DataType.html">DataType</A> <B>lookupType</B>(java.lang.String&nbsp;domainRef,
678                           java.lang.String&nbsp;typeName)
679                    throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
680<DL>
681<DD>Method lookupType.
682                Look up the DataType declaration by given typeName in the given domain.
683<P>
684<DD><DL>
685<DT><B>Parameters:</B><DD><CODE>domainRef</CODE> - specifies which domain to look up in. If domainRef is null or an
686                empty string, then look up in the current domain.<DD><CODE>typeName</CODE> -
687<DT><B>Returns:</B><DD>DataType
688<DT><B>Throws:</B>
689<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE> - if cannot find a DataType with given name.</DL>
690</DD>
691</DL>
692<HR>
693
694<A NAME="lookupRoleDeclaration(java.lang.String)"><!-- --></A><H3>
695lookupRoleDeclaration</H3>
696<PRE>
697public <A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A> <B>lookupRoleDeclaration</B>(java.lang.String&nbsp;roleName)
698                                      throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
699<DL>
700<DD>Method lookupRoleDeclaration.
701                Look up the role declaration by given roleName in the current domain.
702<P>
703<DD><DL>
704<DT><B>Parameters:</B><DD><CODE>roleName</CODE> -
705<DT><B>Returns:</B><DD>RoleDeclaration
706  returns null if cannot find one.
707<DT><B>Throws:</B>
708<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE> - if cannot find one.</DL>
709</DD>
710</DL>
711<HR>
712
713<A NAME="lookupRoleDeclaration(java.lang.String, java.lang.String)"><!-- --></A><H3>
714lookupRoleDeclaration</H3>
715<PRE>
716public <A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html">RoleDeclaration</A> <B>lookupRoleDeclaration</B>(java.lang.String&nbsp;domainRef,
717                                             java.lang.String&nbsp;roleName)
718                                      throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
719<DL>
720<DD>Method lookupRoleDeclaration.
721                looks up a role declaration by given roleName in the given domain.
722<P>
723<DD><DL>
724<DT><B>Parameters:</B><DD><CODE>domainRef</CODE> - specifies which domain to look up in.  If domainRef is null or an
725                empty string, then look up in the current domain.<DD><CODE>roleName</CODE> -
726<DT><B>Returns:</B><DD>RoleDeclaration
727<DT><B>Throws:</B>
728<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE> - if cannot find a one.</DL>
729</DD>
730</DL>
731<HR>
732
733<A NAME="getContext()"><!-- --></A><H3>
734getContext</H3>
735<PRE>
736public <A HREF="../../../../edu/stanford/rt/credential/RTContext.html">RTContext</A> <B>getContext</B>()</PRE>
737<DL>
738<DD>Method getContext.
739<P>
740<DD><DL>
741
742<DT><B>Returns:</B><DD>RTContext</DL>
743</DD>
744</DL>
745<HR>
746
747<A NAME="getTypeDeclarations()"><!-- --></A><H3>
748getTypeDeclarations</H3>
749<PRE>
750public <A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A> <B>getTypeDeclarations</B>()
751                               throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
752<DL>
753<DD>Method getTypeDeclarations.
754<P>
755<DD><DL>
756
757<DT><B>Returns:</B><DD>OrderedMap
758<DT><B>Throws:</B>
759<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE> - when parsing is not completed.</DL>
760</DD>
761</DL>
762<HR>
763
764<A NAME="getRoleDeclarations()"><!-- --></A><H3>
765getRoleDeclarations</H3>
766<PRE>
767public <A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A> <B>getRoleDeclarations</B>()
768                               throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
769<DL>
770<DD>Method getRoleDeclarations.
771<P>
772<DD><DL>
773
774<DT><B>Returns:</B><DD>OrderedMap
775<DT><B>Throws:</B>
776<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE> - when parsing is not completed.</DL>
777</DD>
778</DL>
779<HR>
780
781<A NAME="getImportedDomains()"><!-- --></A><H3>
782getImportedDomains</H3>
783<PRE>
784public <A HREF="../../../../edu/stanford/rt/credential/OrderedMap.html">OrderedMap</A> <B>getImportedDomains</B>()
785                              throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
786<DL>
787<DD>Method getImportedDomains.
788<P>
789<DD><DL>
790
791<DT><B>Returns:</B><DD>OrderedMap
792<DT><B>Throws:</B>
793<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE> - when parsing is not completed.</DL>
794</DD>
795</DL>
796<HR>
797
798<A NAME="getPrincipalType()"><!-- --></A><H3>
799getPrincipalType</H3>
800<PRE>
801public <A HREF="../../../../edu/stanford/rt/datatype/SimpleType.html">SimpleType</A> <B>getPrincipalType</B>()</PRE>
802<DL>
803<DD>Method getPrincipalType.
804<P>
805<DD><DL>
806
807<DT><B>Returns:</B><DD>SimpleType</DL>
808</DD>
809</DL>
810<HR>
811
812<A NAME="getHashID()"><!-- --></A><H3>
813getHashID</H3>
814<PRE>
815public <A HREF="../../../../edu/stanford/rt/credential/HashID.html">HashID</A> <B>getHashID</B>()</PRE>
816<DL>
817<DD>Returns the hashID.
818<P>
819<DD><DL>
820
821<DT><B>Returns:</B><DD>ApplicationDomainHashID</DL>
822</DD>
823</DL>
824<HR>
825
826<A NAME="setHashID(edu.stanford.rt.credential.HashID)"><!-- --></A><H3>
827setHashID</H3>
828<PRE>
829public void <B>setHashID</B>(<A HREF="../../../../edu/stanford/rt/credential/HashID.html">HashID</A>&nbsp;hashID)
830               throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
831<DL>
832<DD>Sets the hashID.
833<P>
834<DD><DL>
835<DT><B>Parameters:</B><DD><CODE>hashID</CODE> - The hashID to set
836<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL>
837</DD>
838</DL>
839<HR>
840
841<A NAME="typeExistsInSystemDomain(java.lang.String)"><!-- --></A><H3>
842typeExistsInSystemDomain</H3>
843<PRE>
844private boolean <B>typeExistsInSystemDomain</B>(java.lang.String&nbsp;typeName)</PRE>
845<DL>
846<DD>Method typeExistsInSystemDomain.
847  checks whether a DataType with given typeName is already
848  declcared in system domain.
849<P>
850<DD><DL>
851<DT><B>Parameters:</B><DD><CODE>typeName</CODE> -
852<DT><B>Returns:</B><DD>boolean</DL>
853</DD>
854</DL>
855<HR>
856
857<A NAME="roleExistsInSystemDomain(java.lang.String)"><!-- --></A><H3>
858roleExistsInSystemDomain</H3>
859<PRE>
860private boolean <B>roleExistsInSystemDomain</B>(java.lang.String&nbsp;roleName)</PRE>
861<DL>
862<DD>Method roleExistsInSystemDomain.
863  checks whether a RoleDeclaration with given roleName is already
864  declcared in system domain.
865<P>
866<DD><DL>
867<DT><B>Parameters:</B><DD><CODE>roleName</CODE> -
868<DT><B>Returns:</B><DD>boolean</DL>
869</DD>
870</DL>
871<!-- ========= END OF CLASS DATA ========= -->
872<HR>
873
874<!-- ========== START OF NAVBAR ========== -->
875<A NAME="navbar_bottom"><!-- --></A>
876<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
877<TR>
878<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
879<A NAME="navbar_bottom_firstrow"><!-- --></A>
880<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
881  <TR ALIGN="center" VALIGN="top">
882  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
883  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
884  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
885  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/DomainSpecification.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
886  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
887  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
888  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
889  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
890  </TR>
891</TABLE>
892</TD>
893<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
894</EM>
895</TD>
896</TR>
897
898<TR>
899<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
900&nbsp;<A HREF="../../../../edu/stanford/rt/credential/DelegationRole.html"><B>PREV CLASS</B></A>&nbsp;
901&nbsp;<A HREF="../../../../edu/stanford/rt/credential/HashID.html"><B>NEXT CLASS</B></A></FONT></TD>
902<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
903  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
904&nbsp;<A HREF="DomainSpecification.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
905&nbsp;
906<SCRIPT>
907  <!--
908  if(window==top) {
909    document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
910  }
911  //-->
912</SCRIPT>
913<NOSCRIPT>
914<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
915</NOSCRIPT>
916</FONT></TD>
917</TR>
918<TR>
919<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
920  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
921<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
922DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
923</TR>
924</TABLE>
925<!-- =========== END OF NAVBAR =========== -->
926
927<HR>
928
929</BODY>
930</HTML>
Note: See TracBrowser for help on using the repository browser.