📄 roleinfo.html
字号:
</DL><HR><A NAME="isReadable()"><!-- --></A><H3>isReadable</H3><PRE>public boolean <B>isReadable</B>()</PRE><DL><DD>Returns read access mode for the role (true if it is readable).<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if the role is readable.</DL></DD></DL><HR><A NAME="isWritable()"><!-- --></A><H3>isWritable</H3><PRE>public boolean <B>isWritable</B>()</PRE><DL><DD>Returns write access mode for the role (true if it is writable).<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if the role is writable.</DL></DD></DL><HR><A NAME="getDescription()"><!-- --></A><H3>getDescription</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getDescription</B>()</PRE><DL><DD>Returns description text for the role.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the description of the role.</DL></DD></DL><HR><A NAME="getMinDegree()"><!-- --></A><H3>getMinDegree</H3><PRE>public int <B>getMinDegree</B>()</PRE><DL><DD>Returns minimum degree for corresponding role reference.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the minimum degree.</DL></DD></DL><HR><A NAME="getMaxDegree()"><!-- --></A><H3>getMaxDegree</H3><PRE>public int <B>getMaxDegree</B>()</PRE><DL><DD>Returns maximum degree for corresponding role reference.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the maximum degree.</DL></DD></DL><HR><A NAME="getRefMBeanClassName()"><!-- --></A><H3>getRefMBeanClassName</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getRefMBeanClassName</B>()</PRE><DL><DD><p>Returns name of type of MBean expected to be referenced in corresponding role.</p><P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the name of the referenced type.</DL></DD></DL><HR><A NAME="checkMinDegree(int)"><!-- --></A><H3>checkMinDegree</H3><PRE>public boolean <B>checkMinDegree</B>(int theValue)</PRE><DL><DD>Returns a boolean to specify if given value is greater or equal than expected minimum degree (true if yes).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>theValue</CODE> - value<DT><B>Returns:</B><DD>true if greater or equal than minimum degree, false otherwise.</DL></DD></DL><HR><A NAME="checkMaxDegree(int)"><!-- --></A><H3>checkMaxDegree</H3><PRE>public boolean <B>checkMaxDegree</B>(int theValue)</PRE><DL><DD>Returns a boolean to specify if given value is less or equal than expected maximum degree (true if yes).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>theValue</CODE> - value<DT><B>Returns:</B><DD>true if less or equal than maximum degree, false otherwise.</DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE><DL><DD>Returns a string describing the role info.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a description of the role info.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Ent. Ed. v1.4</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../javax/management/relation/Role.html" title="class in javax.management.relation"><B>PREV CLASS</B></A> <A HREF="../../../javax/management/relation/RoleList.html" title="class in javax.management.relation"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="RoleInfo.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><font size="-1"><a href="http://java.sun.com/webapps/bugreport">Submit a bug or feature</a> <p>Copyright 2003 Sun Microsystems, Inc. All rights reserved.</font></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -