| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.management.relation.RoleUnresolved
public class RoleUnresolved
Represents an unresolved role: a role not retrieved from a relation due to a problem. It provides the role name, value (if problem when trying to set the role) and an integer defining the problem (constants defined in RoleStatus).
| Constructor Summary | |
|---|---|
| RoleUnresolved(String theRoleName,
               List theRoleValue,
               int thePbType)Constructor. | |
| Method Summary | |
|---|---|
|  Object | clone()Clone this object. | 
|  int | getProblemType()Retrieves problem type. | 
|  String | getRoleName()Retrieves role name. | 
|  List | getRoleValue()Retrieves role value. | 
|  void | setProblemType(int thePbType)Sets problem type. | 
|  void | setRoleName(String theRoleName)Sets role name. | 
|  void | setRoleValue(List theRoleValue)Sets role value. | 
|  String | toString()Return a string describing this object. | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public RoleUnresolved(String theRoleName,
                      List theRoleValue,
                      int thePbType)
               throws IllegalArgumentException
theRoleName - name of the roletheRoleValue - value of the role (if problem when setting the
 role)thePbType - type of problem (according to known problem types,
 listed as static final members).
IllegalArgumentException - if null parameter or incorrect
 problem type| Method Detail | 
|---|
public String getRoleName()
setRoleName(java.lang.String)public List getRoleValue()
setRoleValue(java.util.List)public int getProblemType()
setProblemType(int)
public void setRoleName(String theRoleName)
                 throws IllegalArgumentException
theRoleName - the new role name.
IllegalArgumentException - if null parametergetRoleName()public void setRoleValue(List theRoleValue)
theRoleValue - List of ObjectName objects for referenced
 MBeans not set in role.getRoleValue()
public void setProblemType(int thePbType)
                    throws IllegalArgumentException
thePbType - integer corresponding to a problem. Must be one of
 those described as static final members of current class.
IllegalArgumentException - if incorrect problem typegetProblemType()public Object clone()
clone in class ObjectCloneablepublic String toString()
toString in class Object| 
 | JavaTM 2 Platform Standard Ed. 5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.