public class PolicyService extends Object
PolicyService
class repolicyResents a PolicyService
XML document. The PolicyService DTD is defined as the following:
Modifier and Type | Field and Description |
---|---|
static int |
POLICY_NOTIFICATION_ID
Policy Notification ID.
|
static int |
POLICY_REQUEST_ID
Policy Request ID.
|
static int |
POLICY_RESPONSE_ID
Policy Response ID.
|
static String |
POLICY_SERVICE
Policy Service name.
|
Constructor and Description |
---|
PolicyService()
Default Constructor for
PolicyService . |
Modifier and Type | Method and Description |
---|---|
int |
getMethodID()
Returns the method id of the Policy Service.
|
PolicyNotification |
getPolicyNotification()
Returns the
PolicyNotification object. |
PolicyRequest |
getPolicyRequest()
Returns the
PolicyRequest object. |
PolicyResponse |
getPolicyResponse()
Returns the
PolicyResponse object. |
String |
getRevision()
Returns the service revision number of the Policy Service.
|
String |
getVersion()
Returns the version number of the Policy Service.
|
static PolicyService |
parseXML(String xml)
Returns
PolicyService object constructed from XML. |
void |
setMethodID(int id)
Sets the method id of the Policy Service.
|
void |
setPolicyNotification(PolicyNotification noti)
Sets the
PolicyNotification of the Policy Service. |
void |
setPolicyRequest(PolicyRequest req)
Sets the
PolicyRequest of the Policy Service. |
void |
setPolicyResponse(PolicyResponse res)
Sets the
PolicyResponse of the Policy Service. |
void |
setRevision(String revision)
Sets the service revision number for the Policy Service.
|
void |
setVersion(String ver)
Sets the version for the Policy Service.
|
String |
toXMLString()
Returns string representation of this object.
|
public static final String POLICY_SERVICE
public static final int POLICY_REQUEST_ID
public static final int POLICY_RESPONSE_ID
public static final int POLICY_NOTIFICATION_ID
public String getRevision()
public void setRevision(String revision)
revision
- the revisionpublic String getVersion()
public void setVersion(String ver)
ver
- the version.public int getMethodID()
public void setMethodID(int id)
id
- the method id of this Policy Servicepublic PolicyRequest getPolicyRequest()
PolicyRequest
object.PolicyRequest
object.public void setPolicyRequest(PolicyRequest req)
PolicyRequest
of the Policy Service.req
- the PolicyRequest
of this Policy Servicepublic PolicyResponse getPolicyResponse()
PolicyResponse
object.PolicyResponse
object.public void setPolicyResponse(PolicyResponse res)
PolicyResponse
of the Policy Service.res
- the PolicyResponse
of this Policy Service.public PolicyNotification getPolicyNotification()
PolicyNotification
object.public void setPolicyNotification(PolicyNotification noti)
PolicyNotification
of the Policy Service.noti
- The PolicyNotification
of this Policy Service.public static PolicyService parseXML(String xml) throws PolicyEvaluationException
PolicyService
object constructed from XML.xml
- the XML document for the PolicyService
object.PolicyService
object.PolicyEvaluationException
public String toXMLString()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.