source: fedd/abac-src/rtml/doc/edu/stanford/rt/credential/RoleDefinition.html @ 4b362df

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

ABAC sources from Cobham

  • Property mode set to 100644
File size: 15.3 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:58 PDT 2002 -->
6<TITLE>
7RoleDefinition
8</TITLE>
9<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
10</HEAD>
11<SCRIPT>
12function asd()
13{
14parent.document.title="RoleDefinition";
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/RoleDefinition.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/RoleDeclaration.html"><B>PREV CLASS</B></A>&nbsp;
46&nbsp;<A HREF="../../../../edu/stanford/rt/credential/RoleIntersection.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="RoleDefinition.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  RoleDefinition</H2>
79<PRE>
80java.lang.Object
81  |
82  +--<B>edu.stanford.rt.credential.RoleDefinition</B>
83</PRE>
84<HR>
85<DL>
86<DT>public class <B>RoleDefinition</B><DT>extends java.lang.Object</DL>
87
88<P>
89<DL>
90<DT><B>Author:</B><DD>Ninghui Li, Sandra Qiu<br>
91
92 Implementation of role definition in RTML, which is represented by
93 <code>Definition</code> group element.
94 
95 A role definition has a head and a body.</DD>
96</DD>
97</DL>
98<HR>
99
100<P>
101<!-- ======== NESTED CLASS SUMMARY ======== -->
102
103
104<!-- =========== FIELD SUMMARY =========== -->
105
106<A NAME="field_summary"><!-- --></A>
107<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
108<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
109<TD COLSPAN=2><FONT SIZE="+2">
110<B>Field Summary</B></FONT></TD>
111</TR>
112<TR BGCOLOR="white" CLASS="TableRowColor">
113<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
114<CODE>private &nbsp;<A HREF="../../../../edu/stanford/rt/credential/PrincipalExpression.html">PrincipalExpression</A></CODE></FONT></TD>
115<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDefinition.html#body">body</A></B></CODE>
116
117<BR>
118&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Role body.</TD>
119</TR>
120<TR BGCOLOR="white" CLASS="TableRowColor">
121<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
122<CODE>private &nbsp;<A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A></CODE></FONT></TD>
123<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDefinition.html#context">context</A></B></CODE>
124
125<BR>
126&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;role definition context</TD>
127</TR>
128<TR BGCOLOR="white" CLASS="TableRowColor">
129<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
130<CODE>private &nbsp;<A HREF="../../../../edu/stanford/rt/credential/Role.html">Role</A></CODE></FONT></TD>
131<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDefinition.html#head">head</A></B></CODE>
132
133<BR>
134&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Role head.</TD>
135</TR>
136</TABLE>
137&nbsp;
138<!-- ======== CONSTRUCTOR SUMMARY ======== -->
139
140<A NAME="constructor_summary"><!-- --></A>
141<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
142<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
143<TD COLSPAN=2><FONT SIZE="+2">
144<B>Constructor Summary</B></FONT></TD>
145</TR>
146<TR BGCOLOR="white" CLASS="TableRowColor">
147<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDefinition.html#RoleDefinition(edu.stanford.rt.credential.CredentialDomain, edu.stanford.rt.credential.Role, edu.stanford.rt.credential.PrincipalExpression)">RoleDefinition</A></B>(<A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A>&nbsp;context,
148               <A HREF="../../../../edu/stanford/rt/credential/Role.html">Role</A>&nbsp;head,
149               <A HREF="../../../../edu/stanford/rt/credential/PrincipalExpression.html">PrincipalExpression</A>&nbsp;body)</CODE>
150
151<BR>
152&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor for RoleDefinition.</TD>
153</TR>
154</TABLE>
155&nbsp;
156<!-- ========== METHOD SUMMARY =========== -->
157
158<A NAME="method_summary"><!-- --></A>
159<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
160<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
161<TD COLSPAN=2><FONT SIZE="+2">
162<B>Method Summary</B></FONT></TD>
163</TR>
164<TR BGCOLOR="white" CLASS="TableRowColor">
165<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
166<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/credential/PrincipalExpression.html">PrincipalExpression</A></CODE></FONT></TD>
167<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDefinition.html#getBody()">getBody</A></B>()</CODE>
168
169<BR>
170&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the body.</TD>
171</TR>
172<TR BGCOLOR="white" CLASS="TableRowColor">
173<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
174<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A></CODE></FONT></TD>
175<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDefinition.html#getContext()">getContext</A></B>()</CODE>
176
177<BR>
178&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method getContext.</TD>
179</TR>
180<TR BGCOLOR="white" CLASS="TableRowColor">
181<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
182<CODE>&nbsp;<A HREF="../../../../edu/stanford/rt/credential/Role.html">Role</A></CODE></FONT></TD>
183<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDefinition.html#getHead()">getHead</A></B>()</CODE>
184
185<BR>
186&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the head.</TD>
187</TR>
188<TR BGCOLOR="white" CLASS="TableRowColor">
189<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
190<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
191<TD><CODE><B><A HREF="../../../../edu/stanford/rt/credential/RoleDefinition.html#toString(java.lang.String)">toString</A></B>(java.lang.String&nbsp;indent)</CODE>
192
193<BR>
194&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Method toString.</TD>
195</TR>
196</TABLE>
197&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
198<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
199<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
200<TD><B>Methods inherited from class java.lang.Object</B></TD>
201</TR>
202<TR BGCOLOR="white" CLASS="TableRowColor">
203<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
204</TR>
205</TABLE>
206&nbsp;
207<P>
208
209<!-- ============ FIELD DETAIL =========== -->
210
211<A NAME="field_detail"><!-- --></A>
212<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
213<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
214<TD COLSPAN=1><FONT SIZE="+2">
215<B>Field Detail</B></FONT></TD>
216</TR>
217</TABLE>
218
219<A NAME="head"><!-- --></A><H3>
220head</H3>
221<PRE>
222private <A HREF="../../../../edu/stanford/rt/credential/Role.html">Role</A> <B>head</B></PRE>
223<DL>
224<DD>Role head.
225<P>
226<DL>
227</DL>
228</DL>
229<HR>
230
231<A NAME="body"><!-- --></A><H3>
232body</H3>
233<PRE>
234private <A HREF="../../../../edu/stanford/rt/credential/PrincipalExpression.html">PrincipalExpression</A> <B>body</B></PRE>
235<DL>
236<DD>Role body.
237<P>
238<DL>
239</DL>
240</DL>
241<HR>
242
243<A NAME="context"><!-- --></A><H3>
244context</H3>
245<PRE>
246private <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A> <B>context</B></PRE>
247<DL>
248<DD>role definition context
249<P>
250<DL>
251</DL>
252</DL>
253
254<!-- ========= CONSTRUCTOR DETAIL ======== -->
255
256<A NAME="constructor_detail"><!-- --></A>
257<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
258<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
259<TD COLSPAN=1><FONT SIZE="+2">
260<B>Constructor Detail</B></FONT></TD>
261</TR>
262</TABLE>
263
264<A NAME="RoleDefinition(edu.stanford.rt.credential.CredentialDomain, edu.stanford.rt.credential.Role, edu.stanford.rt.credential.PrincipalExpression)"><!-- --></A><H3>
265RoleDefinition</H3>
266<PRE>
267public <B>RoleDefinition</B>(<A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A>&nbsp;context,
268                      <A HREF="../../../../edu/stanford/rt/credential/Role.html">Role</A>&nbsp;head,
269                      <A HREF="../../../../edu/stanford/rt/credential/PrincipalExpression.html">PrincipalExpression</A>&nbsp;body)</PRE>
270<DL>
271<DD>Constructor for RoleDefinition.
272<P>
273</DL>
274
275<!-- ============ METHOD DETAIL ========== -->
276
277<A NAME="method_detail"><!-- --></A>
278<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
279<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
280<TD COLSPAN=1><FONT SIZE="+2">
281<B>Method Detail</B></FONT></TD>
282</TR>
283</TABLE>
284
285<A NAME="getBody()"><!-- --></A><H3>
286getBody</H3>
287<PRE>
288public <A HREF="../../../../edu/stanford/rt/credential/PrincipalExpression.html">PrincipalExpression</A> <B>getBody</B>()</PRE>
289<DL>
290<DD>Returns the body.
291<P>
292<DD><DL>
293
294<DT><B>Returns:</B><DD>PrincipalExpression</DL>
295</DD>
296</DL>
297<HR>
298
299<A NAME="getHead()"><!-- --></A><H3>
300getHead</H3>
301<PRE>
302public <A HREF="../../../../edu/stanford/rt/credential/Role.html">Role</A> <B>getHead</B>()</PRE>
303<DL>
304<DD>Returns the head.
305<P>
306<DD><DL>
307
308<DT><B>Returns:</B><DD>Role</DL>
309</DD>
310</DL>
311<HR>
312
313<A NAME="getContext()"><!-- --></A><H3>
314getContext</H3>
315<PRE>
316public <A HREF="../../../../edu/stanford/rt/credential/CredentialDomain.html">CredentialDomain</A> <B>getContext</B>()
317                            throws <A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></PRE>
318<DL>
319<DD>Method getContext.
320<P>
321<DD><DL>
322
323<DT><B>Returns:</B><DD>CredentialDomain
324<DD><CODE><A HREF="../../../../edu/stanford/rt/credential/DomainSpecException.html">DomainSpecException</A></CODE></DL>
325</DD>
326</DL>
327<HR>
328
329<A NAME="toString(java.lang.String)"><!-- --></A><H3>
330toString</H3>
331<PRE>
332public java.lang.String <B>toString</B>(java.lang.String&nbsp;indent)</PRE>
333<DL>
334<DD>Method toString.
335<P>
336<DD><DL>
337<DT><B>Parameters:</B><DD><CODE>indent</CODE> -
338<DT><B>Returns:</B><DD>String</DL>
339</DD>
340</DL>
341<!-- ========= END OF CLASS DATA ========= -->
342<HR>
343
344<!-- ========== START OF NAVBAR ========== -->
345<A NAME="navbar_bottom"><!-- --></A>
346<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
347<TR>
348<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
349<A NAME="navbar_bottom_firstrow"><!-- --></A>
350<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
351  <TR ALIGN="center" VALIGN="top">
352  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
353  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
354  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
355  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/RoleDefinition.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
356  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
357  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
358  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
359  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
360  </TR>
361</TABLE>
362</TD>
363<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
364</EM>
365</TD>
366</TR>
367
368<TR>
369<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
370&nbsp;<A HREF="../../../../edu/stanford/rt/credential/RoleDeclaration.html"><B>PREV CLASS</B></A>&nbsp;
371&nbsp;<A HREF="../../../../edu/stanford/rt/credential/RoleIntersection.html"><B>NEXT CLASS</B></A></FONT></TD>
372<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
373  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
374&nbsp;<A HREF="RoleDefinition.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
375&nbsp;
376<SCRIPT>
377  <!--
378  if(window==top) {
379    document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
380  }
381  //-->
382</SCRIPT>
383<NOSCRIPT>
384<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
385</NOSCRIPT>
386</FONT></TD>
387</TR>
388<TR>
389<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
390  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>
391<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
392DETAIL:&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>
393</TR>
394</TABLE>
395<!-- =========== END OF NAVBAR =========== -->
396
397<HR>
398
399</BODY>
400</HTML>
Note: See TracBrowser for help on using the repository browser.