|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.aries.jmx.codec.RoleData
public class RoleData
RoleData represents Role Type @see UserAdminMBean.ROLE_TYPE.It is a codec
for the CompositeData representing a Role.
| Field Summary | |
|---|---|
protected String |
name
role name. |
protected int |
type
role type. |
| Constructor Summary | |
|---|---|
RoleData(org.osgi.service.useradmin.Role role)
Constructs new RoleData from Role object. |
|
RoleData(String name,
int type)
Constructs new RoleData. |
|
| Method Summary | |
|---|---|
static RoleData |
from(CompositeData data)
Static factory method to create RoleData from CompositeData object. |
String |
getName()
|
int |
getType()
|
protected static Dictionary<String,Object> |
propertiesFrom(TabularData data)
Creates properties from TabularData object. |
CompositeData |
toCompositeData()
Translates RoleData to CompositeData represented by compositeType UserAdminMBean.ROLE_TYPE. |
protected static TabularData |
toTabularData(Dictionary<String,Object> props)
Creates TabularData from Dictionary. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String name
protected int type
| Constructor Detail |
|---|
public RoleData(org.osgi.service.useradmin.Role role)
role - Role instance.
public RoleData(String name,
int type)
name - role name.type - role type.| Method Detail |
|---|
public CompositeData toCompositeData()
UserAdminMBean.ROLE_TYPE.
public static RoleData from(CompositeData data)
data - CompositeData instance.
protected static TabularData toTabularData(Dictionary<String,Object> props)
props - Dictionary instance.
protected static Dictionary<String,Object> propertiesFrom(TabularData data)
data - TabularData instance.
Dictionary.public String getName()
public int getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||