| 
 | J2EE1.4 SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.management.relation.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(java.lang.String theRoleName,
               java.util.List theRoleValue,
               int thePbType)Constructor. | |
| Method Summary | |
|  java.lang.Object | clone()Clone this object. | 
|  int | getProblemType()Retrieves problem type. | 
|  java.lang.String | getRoleName()Retrieves role name. | 
|  java.util.List | getRoleValue()Retrieves role value. | 
|  void | setProblemType(int thePbType)Sets problem type. | 
|  void | setRoleName(java.lang.String theRoleName)Sets role name. | 
|  void | setRoleValue(java.util.List theRoleValue)Sets role value. | 
|  java.lang.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(java.lang.String theRoleName,
                      java.util.List theRoleValue,
                      int thePbType)
               throws java.lang.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).
java.lang.IllegalArgumentException - if null parameter or incorrect
 problem type| Method Detail | 
public java.lang.String getRoleName()
setRoleName(java.lang.String)public java.util.List getRoleValue()
setRoleValue(java.util.List)public int getProblemType()
setProblemType(int)
public void setRoleName(java.lang.String theRoleName)
                 throws java.lang.IllegalArgumentException
theRoleName - the new role name.
java.lang.IllegalArgumentException - if null parametergetRoleName()public void setRoleValue(java.util.List theRoleValue)
theRoleValue - List of ObjectName objects for referenced
 MBeans not set in role.getRoleValue()
public void setProblemType(int thePbType)
                    throws java.lang.IllegalArgumentException
thePbType - integer corresponding to a problem. Must be one of
 those described as static final members of current class.
java.lang.IllegalArgumentException - if incorrect problem typegetProblemType()public java.lang.Object clone()
public java.lang.String toString()
| 
 | J2EE1.4 SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2003 Sun Microsystems, Inc. All rights reserved.