public class PortableRoleMember extends PortablePrincipal implements java.io.Serializable
PortablePrincipal.PrincipalType
Constructor and Description |
---|
PortableRoleMember(java.lang.String principalName, PortablePrincipal.PrincipalType principalType, java.lang.String appId, java.lang.String guid, java.lang.String uniquename)
Constructor This is used for all well known Principals
|
PortableRoleMember(java.lang.String principalClzName, java.lang.String principalName, PortablePrincipal.PrincipalType principalType)
Constructor.
|
PortableRoleMember(java.lang.String principalClzName, java.lang.String principalName, PortablePrincipal.PrincipalType principalType, java.lang.String appId)
Constructor
|
PortableRoleMember(java.lang.String principalClzName, java.lang.String principalName, PortablePrincipal.PrincipalType principalType, java.lang.String appId, java.lang.String guid, java.lang.String uniquename)
Constructor
|
PortableRoleMember(java.lang.String principalClzName, java.lang.String principalName, java.lang.String appId, java.lang.String guid, java.lang.String uniquename)
Constructor This is used for Custom Principals
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object that) |
static PortableRoleMember |
from(javax.management.openmbean.CompositeData cd)
Create an instance of the model specific class out of an associated CompositeData instance.
|
java.lang.String |
getApplicationId()
Method to get the application Id
|
java.lang.String |
getGuid()
Method to get the guid
|
java.lang.String |
getUniqueName()
Method to get the uniquename
|
int |
hashCode() |
javax.management.openmbean.CompositeData |
toCompositeData(javax.management.openmbean.CompositeType ct)
Convert an instance of this model specific type to a CompositeData.
|
static javax.management.openmbean.CompositeType |
toCompositeType()
Returns the CompositeType that describes this model specific class.
|
java.lang.String |
toString() |
getPrincipalClassName, getPrincipalName, getType
public PortableRoleMember(java.lang.String principalClzName, java.lang.String principalName, PortablePrincipal.PrincipalType principalType)
principalClzName
- The Class Name of the PrincipalprincipalName
- Name of the PrincipalprincipalType
- The Type of the Principalpublic PortableRoleMember(java.lang.String principalClzName, java.lang.String principalName, PortablePrincipal.PrincipalType principalType, java.lang.String appId)
principalClzName
- The Class Name of the PrincipalprincipalName
- Name of the PrincipalprincipalType
- The Type of the PrincipalappId
- The Application Idpublic PortableRoleMember(java.lang.String principalClzName, java.lang.String principalName, PortablePrincipal.PrincipalType principalType, java.lang.String appId, java.lang.String guid, java.lang.String uniquename)
principalClzName
- The Class Name of the PrincipalprincipalName
- Name of the PrincipalprincipalType
- The Type of the PrincipalappId
- The Application Idguid
- The guid of the role memberuniquename
- The uniquename of role memberpublic PortableRoleMember(java.lang.String principalName, PortablePrincipal.PrincipalType principalType, java.lang.String appId, java.lang.String guid, java.lang.String uniquename)
principalName
- Name of the PrincipalprincipalType
- The Type of the PrincipalappId
- The Application Idguid
- The guid of the role memberuniquename
- The uniquename of role memberpublic PortableRoleMember(java.lang.String principalClzName, java.lang.String principalName, java.lang.String appId, java.lang.String guid, java.lang.String uniquename)
principalName
- Name of the PrincipalprincipalType
- The Type of the PrincipalappId
- The Application Idguid
- The guid of the role memberuniquename
- The uniquename of role memberpublic java.lang.String toString()
toString
in class PortablePrincipal
public static javax.management.openmbean.CompositeType toCompositeType()
public javax.management.openmbean.CompositeData toCompositeData(javax.management.openmbean.CompositeType ct)
toCompositeData
in class PortablePrincipal
ct
- - This parameter is there only for future compatibility reasons with JDK 6.0. It can be ignored at this point.public static PortableRoleMember from(javax.management.openmbean.CompositeData cd)
cd
- Composite Data which has information regarding the objectpublic boolean equals(java.lang.Object that)
equals
in class PortablePrincipal
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getApplicationId()
public java.lang.String getGuid()
public java.lang.String getUniqueName()