Top Description Fields Constructors Methods
javax.management.relation

public Class RoleResult

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Annotations
@SuppressWarnings:serial
Imports
com.sun.jmx.mbeanserver.GetPropertyAction, java.io.IOException, .ObjectInputStream, .ObjectOutputStream, .ObjectStreamField, .Serializable, java.security.AccessController

Represents the result of a multiple access to several roles of a relation (either for reading or writing).

The serialVersionUID of this class is -6304063118040985512L.

Since
1.5

Field Summary

Modifier and TypeField and Description
private static boolean
private static final ObjectStreamField[]
private static final long
private static final ObjectStreamField[]
private static final long
private RoleList
private static final ObjectStreamField[]
private static final long
private RoleUnresolvedList

Constructor Summary

AccessConstructor and Description
public
RoleResult(RoleList
list of roles successfully accessed.
list
,
RoleUnresolvedList
list of roles not accessed (with problem descriptions).
unresolvedList
)

Constructor.

Method Summary

Modifier and TypeMethod and Description
public RoleList

Returns:

a RoleList
getRoles
()

Retrieves list of roles successfully accessed.

public RoleUnresolvedList

Returns:

a RoleUnresolvedList.
getRolesUnresolved
()

Retrieves list of roles unsuccessfully accessed.

private void
public void
setRoles(RoleList
list of roles successfully accessed
list
)

Sets list of roles successfully accessed.

public void
setRolesUnresolved(RoleUnresolvedList
list of roles unsuccessfully accessed
unresolvedList
)

Sets list of roles unsuccessfully accessed.

private void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

compatback to summary
private static boolean compat
newSerialPersistentFieldsback to summary
private static final ObjectStreamField[] newSerialPersistentFields
newSerialVersionUIDback to summary
private static final long newSerialVersionUID
oldSerialPersistentFieldsback to summary
private static final ObjectStreamField[] oldSerialPersistentFields
oldSerialVersionUIDback to summary
private static final long oldSerialVersionUID
roleListback to summary
private RoleList roleList
serialPersistentFieldsback to summary
private static final ObjectStreamField[] serialPersistentFields
Serial Fields:
roleList:RoleList
List of roles successfully accessed
unresolvedRoleList:RoleUnresolvedList
List of roles unsuccessfully accessed
serialVersionUIDback to summary
private static final long serialVersionUID
unresolvedRoleListback to summary
private RoleUnresolvedList unresolvedRoleList

Constructor Detail

RoleResultback to summary
public RoleResult(RoleList list, RoleUnresolvedList unresolvedList)

Constructor.

Parameters
list:RoleList

list of roles successfully accessed.

unresolvedList:RoleUnresolvedList

list of roles not accessed (with problem descriptions).

Method Detail

getRolesback to summary
public RoleList getRoles()

Retrieves list of roles successfully accessed.

Returns:RoleList

a RoleList

See Also
setRoles
getRolesUnresolvedback to summary
public RoleUnresolvedList getRolesUnresolved()

Retrieves list of roles unsuccessfully accessed.

Returns:RoleUnresolvedList

a RoleUnresolvedList.

See Also
setRolesUnresolved
readObjectback to summary
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException

Deserializes a RoleResult from an ObjectInputStream.

setRolesback to summary
public void setRoles(RoleList list)

Sets list of roles successfully accessed.

Parameters
list:RoleList

list of roles successfully accessed

See Also
getRoles
setRolesUnresolvedback to summary
public void setRolesUnresolved(RoleUnresolvedList unresolvedList)

Sets list of roles unsuccessfully accessed.

Parameters
unresolvedList:RoleUnresolvedList

list of roles unsuccessfully accessed

See Also
getRolesUnresolved
writeObjectback to summary
private void writeObject(ObjectOutputStream out) throws IOException

Serializes a RoleResult to an ObjectOutputStream.