|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjavax.management.relation.RoleUnresolved
public class RoleUnresolved
表示未解析的角色:由于存在问题而无法从关系中检索到的角色。它提供该角色名称、值(如果试图设置该角色时出现问题)和定义问题的整数(在 RoleStatus 中定义的常量)。
| 构造方法摘要 | |
|---|---|
RoleUnresolved(String theRoleName,
List theRoleValue,
int thePbType)
构造方法。 |
|
| 方法摘要 | |
|---|---|
Object |
clone()
克隆此对象。 |
int |
getProblemType()
检索问题类型。 |
String |
getRoleName()
检索角色名称。 |
List |
getRoleValue()
检索角色值。 |
void |
setProblemType(int thePbType)
设置问题类型。 |
void |
setRoleName(String theRoleName)
设置角色名称。 |
void |
setRoleValue(List theRoleValue)
设置角色值。 |
String |
toString()
返回描述此对象的字符串。 |
| 从类 java.lang.Object 继承的方法 |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 构造方法详细信息 |
|---|
public RoleUnresolved(String theRoleName,
List theRoleValue,
int thePbType)
throws IllegalArgumentException
theRoleName - 角色的名称theRoleValue - 角色的值(设置角色时是否存在问题)thePbType - 问题的类型(依据已知的问题类型,作为静态最终成员列出)。
IllegalArgumentException - 如果参数为 null 或问题类型不正确| 方法详细信息 |
|---|
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 - 新角色名称。
IllegalArgumentException - 如果是 null 参数getRoleName()public void setRoleValue(List theRoleValue)
theRoleValue - 未在角色中设置的引用 MBean 的 ObjectName 对象列表。getRoleValue()
public void setProblemType(int thePbType)
throws IllegalArgumentException
thePbType - 对应于问题的整数。必须是描述为当前类的静态最终成员的某个整数。
IllegalArgumentException - 如果问题类型不正确getProblemType()public Object clone()
Object 中的 cloneCloneablepublic String toString()
Object 中的 toString
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2004 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。