Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


oracle.wsm.policy.model.impl
Class PolicyAttachment

java.lang.Object
  extended by oracle.wsm.policy.model.impl.PolicyAttachment

All Implemented Interfaces:
Serializable, IPolicyAttachment

public class PolicyAttachment
extends Object
implements IPolicyAttachment
See Also:
Serialized Form

Field Summary

 

Fields inherited from interface oracle.wsm.policy.model.IPolicyAttachment
attachmentNameAttrQName

 

Constructor Summary
PolicyAttachment()
           
PolicyAttachment(String domainExpression, IPolicy policy)
           
PolicyAttachment(String domainExpression, IPolicyReference policyReference)
           

 

Method Summary
 void addPolicy(IPolicy policy)
           
 void addPolicyReference(IPolicyReference policyReference)
           
 void addPolicySubject(String expr)
           
 void addPolicySubjectObj(IPolicySubject expr)
           
 boolean equals(Object obj)
           
 String getAttachmentName()
           
 Map<QName,String> getAttributes()
           
 List<IPolicy> getPolicies()
           
 List<IPolicyReference> getPolicyReferences()
           
 List<String> getPolicySubjects()
          Return all the Policy Subjects to which the Policies are attached.
 List<IPolicySubject> getPolicySubjectsObj()
          Return all the Policy Subjects to which the Policies are attached.
 QName getQName()
           
 int hashCode()
           
 boolean removePolicy(IPolicy policy)
           
 boolean removePolicyReference(IPolicyReference policyReference)
           
 boolean removePolicySubject(String expr)
           
 boolean removePolicySubjectObj(IPolicySubject expr)
           
 void setAttachmentName(String attachmentName)
           
 void setAttributes(Map<QName,String> attributes)
           
 void setPolicies(List<IPolicy> policies)
           
 void setPolicyReferences(List<IPolicyReference> policyReferences)
           
 void setPolicySubjects(List<String> domainExpressions)
          Set the Policy Subjects to which the Policy or Policy References are attached.
 void setPolicySubjectsObj(List<IPolicySubject> domainExpressions)
          Set the Policy Subjects to which the Policy or Policy References are attached.
 String toString()
           
 void validate(IValidationContext context)
          Validate a Policy Attachment.

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

 

Constructor Detail

PolicyAttachment

public PolicyAttachment()

PolicyAttachment

public PolicyAttachment(String domainExpression,
                        IPolicy policy)

PolicyAttachment

public PolicyAttachment(String domainExpression,
                        IPolicyReference policyReference)

Method Detail

getQName

public QName getQName()
Specified by:
getQName in interface IPolicyAttachment

addPolicySubject

public void addPolicySubject(String expr)
Specified by:
addPolicySubject in interface IPolicyAttachment

addPolicySubjectObj

public void addPolicySubjectObj(IPolicySubject expr)
Specified by:
addPolicySubjectObj in interface IPolicyAttachment

setPolicySubjects

public void setPolicySubjects(List<String> domainExpressions)
Description copied from interface: IPolicyAttachment
Set the Policy Subjects to which the Policy or Policy References are attached.
Specified by:
setPolicySubjects in interface IPolicyAttachment

setPolicySubjectsObj

public void setPolicySubjectsObj(List<IPolicySubject> domainExpressions)
Description copied from interface: IPolicyAttachment
Set the Policy Subjects to which the Policy or Policy References are attached.
Specified by:
setPolicySubjectsObj in interface IPolicyAttachment
Parameters:
domainExpressions - - list of IPolicySubject

getPolicySubjects

public List<String> getPolicySubjects()
Description copied from interface: IPolicyAttachment
Return all the Policy Subjects to which the Policies are attached. Policy Subjects are represented by resource pattern Examples of resource patterns include: http://www.globalcompany.com/ns/OrderBooking#wsdl.endpoint(OrderBooking/OrderBookingPort)
Specified by:
getPolicySubjects in interface IPolicyAttachment
Returns:
List<String>

getPolicySubjectsObj

public List<IPolicySubject> getPolicySubjectsObj()
Description copied from interface: IPolicyAttachment
Return all the Policy Subjects to which the Policies are attached. Policy Subjects are represented by resource pattern Examples of resource patterns include: http://www.globalcompany.com/ns/OrderBooking#wsdl.endpoint(OrderBooking/OrderBookingPort)
Specified by:
getPolicySubjectsObj in interface IPolicyAttachment
Returns:
List<IPolicySubject>

removePolicySubject

public boolean removePolicySubject(String expr)
Specified by:
removePolicySubject in interface IPolicyAttachment

removePolicySubjectObj

public boolean removePolicySubjectObj(IPolicySubject expr)
Specified by:
removePolicySubjectObj in interface IPolicyAttachment

setPolicies

public void setPolicies(List<IPolicy> policies)
Specified by:
setPolicies in interface IPolicyAttachment

getPolicies

public List<IPolicy> getPolicies()
Specified by:
getPolicies in interface IPolicyAttachment

addPolicy

public void addPolicy(IPolicy policy)
Specified by:
addPolicy in interface IPolicyAttachment

removePolicy

public boolean removePolicy(IPolicy policy)
Specified by:
removePolicy in interface IPolicyAttachment

setPolicyReferences

public void setPolicyReferences(List<IPolicyReference> policyReferences)
Specified by:
setPolicyReferences in interface IPolicyAttachment

getPolicyReferences

public List<IPolicyReference> getPolicyReferences()
Specified by:
getPolicyReferences in interface IPolicyAttachment

addPolicyReference

public void addPolicyReference(IPolicyReference policyReference)
Specified by:
addPolicyReference in interface IPolicyAttachment

removePolicyReference

public boolean removePolicyReference(IPolicyReference policyReference)
Specified by:
removePolicyReference in interface IPolicyAttachment

setAttachmentName

public void setAttachmentName(String attachmentName)
Specified by:
setAttachmentName in interface IPolicyAttachment

getAttachmentName

public String getAttachmentName()
Specified by:
getAttachmentName in interface IPolicyAttachment

setAttributes

public void setAttributes(Map<QName,String> attributes)
Specified by:
setAttributes in interface IPolicyAttachment

getAttributes

public Map<QName,String> getAttributes()
Specified by:
getAttributes in interface IPolicyAttachment

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

validate

public void validate(IValidationContext context)
Description copied from interface: IPolicyAttachment
Validate a Policy Attachment. If a Policy Attachment contains Policies, then performs Policy Subject Validation.
Specified by:
validate in interface IPolicyAttachment

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


Copyright © 2007, 2009, Oracle and/or its affiliates. All rights reserved.