| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public class RoleUnresolved extends Object implements Serializable
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).
The serialVersionUID of this class is -48350262537070138L
.
Constructor Summary | |
---|---|
RoleUnresolved(String name, List value, int pbType) Constructor. |
Method Summary | |
---|---|
Object |
clone() Clone this object. |
int |
Retrieves problem type. |
String |
Retrieves role name. |
List |
Retrieves role value. |
void |
setProblemType(int pbType) Sets problem type. |
void |
setRoleName(String name) Sets role name. |
void |
setRoleValue(List value) Sets role value. |
String |
toString() Return a string describing this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RoleUnresolved(String name, List value, int pbType) throws IllegalArgumentException
name
- name of the rolevalue
- value of the role (if problem when setting the
role)pbType
- type of problem (according to known problem types,
listed as static final members).IllegalArgumentException
- if null parameter or incorrect
problem typeMethod Detail |
---|
public Object clone()
clone
in class Object
public int getProblemType()
public String getRoleName()
public List getRoleValue()
public void setProblemType(int pbType) throws IllegalArgumentException
pbType
- integer corresponding to a problem. Must be one of
those described as static final members of current class.IllegalArgumentException
- if incorrect problem typepublic void setRoleName(String name) throws IllegalArgumentException
name
- the new role name.IllegalArgumentException
- if null parameterpublic void setRoleValue(List value)
value
- List of ObjectName objects for referenced
MBeans not set in role.public String toString()
toString
in class Object
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |