|
XMOJO 5 API Docs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.management.relation.Role
Represents a role: includes a role name and referenced MBeans (via their ObjectNames). The role value is always represented as an ArrayList collection (of ObjectNames) to homogenise the access.
Constructor Summary | |
Role(java.lang.String theRoleName,
java.util.List theRoleValue)
Constructor. |
Method Summary | |
java.lang.Object |
clone()
Cloning.Creates a duplicate copy for the current Role object Overrides: clone in class java.lang.Object |
java.lang.String |
getRoleName()
Retrieves role name |
java.util.List |
getRoleValue()
Retrieves role value |
static java.lang.String |
roleValueToString(java.util.List theRoleValue)
Returns a string for the given role value |
void |
setRoleName(java.lang.String theRoleName)
Sets role name |
void |
setRoleValue(java.util.List theRoleValue)
Sets role value |
java.lang.String |
toString()
Prints a string describing the role Overrides: toString in class java.lang.Object |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Role(java.lang.String theRoleName, java.util.List theRoleValue) throws java.lang.IllegalArgumentException
theRoleName
- - role nametheRoleValue
- - role value (ArrayList of ObjectName objects)java.lang.IllegalArgumentException
- - if null parameterMethod Detail |
public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.String getRoleName()
public java.util.List getRoleValue()
public static java.lang.String roleValueToString(java.util.List theRoleValue) throws java.lang.IllegalArgumentException
theRoleValue
- - ArrayList of ObjectName objectsjava.lang.IllegalArgumentException
- - if null parameterpublic void setRoleName(java.lang.String theRoleName) throws java.lang.IllegalArgumentException
theRoleName
- - role namejava.lang.IllegalArgumentException
- - if null parameterpublic void setRoleValue(java.util.List theRoleValue) throws java.lang.IllegalArgumentException
theRoleValue
- - ArrayList of ObjectName objects for referenced MBeans.java.lang.IllegalArgumentException
- - if null parameterpublic java.lang.String toString()
toString
in class java.lang.Object
|
XMOJO 5 API Docs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |