Skip navigation links
oracle.security.jps.mas.mgmt.jmx.policy
Class PortableApplicationRole
java.lang.Object
oracle.security.jps.mas.mgmt.jmx.policy.PortablePrincipal
oracle.security.jps.mas.mgmt.jmx.policy.PortableApplicationRole
- All Implemented Interfaces:
- java.io.Serializable
-
public class PortableApplicationRole
- extends PortablePrincipal
Encapsulating class to make an Application Role as serializable.
- See Also:
- Serialized Form
Constructor Summary |
PortableApplicationRole(java.lang.String name, java.lang.String displayName, java.lang.String description, java.lang.String guid, java.lang.String appId)
Constructor. |
Method Summary |
boolean |
equals(java.lang.Object that)
|
static PortableApplicationRole |
from(javax.management.openmbean.CompositeData cd)
Create an instance of the model specific class out of an associated CompositeData instance. |
java.lang.String |
getApplicationId()
|
java.lang.String |
getDescription()
|
java.lang.String |
getDisplayName()
|
java.lang.String |
getGuid()
|
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()
|
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
PortableApplicationRole
public PortableApplicationRole(java.lang.String name,
java.lang.String displayName,
java.lang.String description,
java.lang.String guid,
java.lang.String appId)
- Constructor.
- Parameters:
name
- Name of the Role
displayName
- Display Name
description
- description
guid
- Guid
getDescription
public java.lang.String getDescription()
-
- Returns:
- Returns the description.
getDisplayName
public java.lang.String getDisplayName()
-
- Returns:
- Returns the displayName.
getGuid
public java.lang.String getGuid()
-
- Returns:
- Returns the gUID.
getApplicationId
public java.lang.String getApplicationId()
-
- Returns:
- Returns the Application Id
toString
public java.lang.String toString()
-
- Overrides:
toString
in class PortablePrincipal
toCompositeType
public static javax.management.openmbean.CompositeType toCompositeType()
- Returns the CompositeType that describes this model specific class.
-
- Returns:
- CompositeType assiciated with this class.
toCompositeData
public javax.management.openmbean.CompositeData toCompositeData(javax.management.openmbean.CompositeType ct)
- Convert an instance of this model specific type to a CompositeData. This ensure that clients that do not have access to the model specific class can still use the MBean.
-
- Overrides:
toCompositeData
in class PortablePrincipal
-
- Parameters:
ct
- - This parameter is there only for future compatibility reasons with JDK 6.0. It can be ignored at this point.
- Returns:
- CompositeData which represents this class
from
public static PortableApplicationRole from(javax.management.openmbean.CompositeData cd)
- Create an instance of the model specific class out of an associated CompositeData instance.
-
- Parameters:
cd
- Composite Data which has information regarding the object
- Returns:
- Object of this specific class got after retrieving information from the Composite Data
equals
public boolean equals(java.lang.Object that)
-
- Overrides:
equals
in class PortablePrincipal
Skip navigation links
Copyright © 2013 Oracle. All rights reserved.