source: fedd/abac-src/rtml/doc/edu/stanford/rt/credential/DataValuePrincipal.html @ af51a97

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

ABAC sources from Cobham

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