public class RoleData
extends java.lang.Object
RoleData represents Role Type @see UserAdminMBean.ROLE_TYPE.It is a codec
for the CompositeData representing a Role.
| Constructor and Description |
|---|
RoleData(Role role)
Constructs new RoleData from Role object.
|
RoleData(java.lang.String name,
int type)
Constructs new RoleData.
|
RoleData(java.lang.String name,
int type,
java.util.Dictionary properties)
Constructs new RoleData.
|
| Modifier and Type | Method and Description |
|---|---|
static RoleData |
from(javax.management.openmbean.CompositeData data)
Static factory method to create RoleData from CompositeData object.
|
java.lang.String |
getName() |
int |
getType() |
javax.management.openmbean.CompositeData |
toCompositeData()
Translates RoleData to CompositeData represented by
compositeType
UserAdminMBean.ROLE_TYPE. |
public RoleData(Role role)
role - Role instance.public RoleData(java.lang.String name,
int type)
name - role name.type - role type.public RoleData(java.lang.String name,
int type,
java.util.Dictionary properties)
name - role name.type - role type.properties - role properties.public javax.management.openmbean.CompositeData toCompositeData()
UserAdminMBean.ROLE_TYPE.public static RoleData from(javax.management.openmbean.CompositeData data)
data - CompositeData instance.public java.lang.String getName()
public int getType()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"