Package com.sun.identity.policy.remote
Class PolicyChangeNotification
- java.lang.Object
-
- com.sun.identity.policy.remote.PolicyChangeNotification
-
public class PolicyChangeNotification extends Object
ThisPolicyChangeNotificationclass represents a PolicyChangeNotification XML document. The PolicyChangeNotification DTD is defined as the following:
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPolicyChangeType()Returns the policy change type.SetgetResourceNames()Returns the resource names.StringgetServiceName()Returns the service name to which this notification is sent.static PolicyChangeNotificationparseXML(Node pNode)ReturnsPolicyChangeNotificationobject constructed from the XML.voidsetPolicyChangeType(String type)Sets the policy change type.voidsetServiceName(String sn)Sets the service name to which this notification is sent.StringtoXMLString()Returns a XML representation of this object.
-
-
-
Method Detail
-
getServiceName
public String getServiceName()
Returns the service name to which this notification is sent.- Returns:
- service name
-
setServiceName
public void setServiceName(String sn)
Sets the service name to which this notification is sent.- Parameters:
sn- Service name.
-
getPolicyChangeType
public String getPolicyChangeType()
Returns the policy change type.- Returns:
- the policy change type.
-
setPolicyChangeType
public void setPolicyChangeType(String type)
Sets the policy change type.- Parameters:
type- Policy change type.
-
getResourceNames
public Set getResourceNames()
Returns the resource names.- Returns:
- resource names.
-
parseXML
public static PolicyChangeNotification parseXML(Node pNode) throws PolicyEvaluationException
ReturnsPolicyChangeNotificationobject constructed from the XML.- Parameters:
pNode- the XML DOM node for thePolicyChangeNotificationobject.- Returns:
- constructed
PolicyChangeNotificationobject. - Throws:
PolicyEvaluationException
-
toXMLString
public String toXMLString()
Returns a XML representation of this object.- Returns:
- a XML representation of this object.
-
-