| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tuscany.sca.policy.impl.PolicySetImpl
public class PolicySetImpl
Represents a policy set.
| Constructor Summary | |
|---|---|
protected  | 
PolicySetImpl()
 | 
| Method Summary | |
|---|---|
 boolean | 
equals(java.lang.Object obj)
 | 
 java.lang.String | 
getAlwaysAppliesTo()
Gets the XPath expression that is to be used to evaluate the SCA Artifacts that this policyset will always apply to immaterial of an intent declared on the SCA Artifact  | 
 javax.xml.xpath.XPathExpression | 
getAlwaysAppliesToXPathExpression()
Get the XPath expression for the alwaysAppliesTo attribute  | 
 java.lang.String | 
getAppliesTo()
Returns the XPath expression that is to be used to evaluate if this PolicySet applies to specific attachment point  | 
 javax.xml.xpath.XPathExpression | 
getAppliesToXPathExpression()
Get the XPath expression for the appliesTo attribute  | 
 java.util.Map<Intent,java.util.List<java.lang.Object>> | 
getMappedPolicies()
Returns the policies / policy attachments provided thro intent maps  | 
 javax.xml.namespace.QName | 
getName()
Returns the intent name.  | 
 java.util.List<java.lang.Object> | 
getPolicies()
Returns the list of concrete policies, either WS-Policy policy attachments, policy references, or policies expressed in another policy language.  | 
 java.util.List<Intent> | 
getProvidedIntents()
Returns the list of provided intents  | 
 java.util.List<PolicySet> | 
getReferencedPolicySets()
Returns the list of  | 
 int | 
hashCode()
 | 
 boolean | 
isUnresolved()
Returns true if the model element is unresolved.  | 
 void | 
setAlwaysAppliesTo(java.lang.String alwaysAppliesTo)
Sets the XPath expression that is to be used to evaluate the SCA Artifacts that this policyset will always apply to immaterial of an intent declared on the SCA Artifact  | 
 void | 
setAlwaysAppliesToXPathExpression(javax.xml.xpath.XPathExpression alwaysAppliesToXPathExpression)
Set the XPath expression for the alwaysAppliesTo attribute  | 
 void | 
setAppliesTo(java.lang.String appliesTo)
Sets the XPath expression that is to be used to evaluate if this PolicySet applies to specific attachment point  | 
 void | 
setAppliesToXPathExpression(javax.xml.xpath.XPathExpression appliesToXPathExpression)
Set the XPath expression for the appliesTo attribute  | 
 void | 
setName(javax.xml.namespace.QName name)
Sets the intent name  | 
 void | 
setUnresolved(boolean unresolved)
Sets whether the model element is unresolved.  | 
 java.lang.String | 
toString()
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
protected PolicySetImpl()
| Method Detail | 
|---|
public java.lang.String getAlwaysAppliesTo()
PolicySet
getAlwaysAppliesTo in interface PolicySetpublic void setAlwaysAppliesTo(java.lang.String alwaysAppliesTo)
PolicySet
setAlwaysAppliesTo in interface PolicySetpublic javax.xml.namespace.QName getName()
PolicySet
getName in interface PolicySetpublic void setName(javax.xml.namespace.QName name)
PolicySet
setName in interface PolicySetname - the intent namepublic java.lang.String getAppliesTo()
PolicySet
getAppliesTo in interface PolicySetpublic void setAppliesTo(java.lang.String appliesTo)
PolicySet
setAppliesTo in interface PolicySetpublic java.util.List<Intent> getProvidedIntents()
PolicySet
getProvidedIntents in interface PolicySetpublic java.util.List<PolicySet> getReferencedPolicySets()
PolicySet
getReferencedPolicySets in interface PolicySetpublic java.util.List<java.lang.Object> getPolicies()
PolicySet
getPolicies in interface PolicySetpublic boolean isUnresolved()
PolicySet
isUnresolved in interface PolicySetpublic void setUnresolved(boolean unresolved)
PolicySet
setUnresolved in interface PolicySetunresolved - whether the model element is unresolvedpublic java.util.Map<Intent,java.util.List<java.lang.Object>> getMappedPolicies()
PolicySet
getMappedPolicies in interface PolicySetpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic javax.xml.xpath.XPathExpression getAppliesToXPathExpression()
PolicySet
getAppliesToXPathExpression in interface PolicySetpublic void setAppliesToXPathExpression(javax.xml.xpath.XPathExpression appliesToXPathExpression)
PolicySet
setAppliesToXPathExpression in interface PolicySetappliesToXPathExpression - the XPath expression for the appliesTo attributepublic javax.xml.xpath.XPathExpression getAlwaysAppliesToXPathExpression()
PolicySet
getAlwaysAppliesToXPathExpression in interface PolicySetpublic void setAlwaysAppliesToXPathExpression(javax.xml.xpath.XPathExpression alwaysAppliesToXPathExpression)
PolicySet
setAlwaysAppliesToXPathExpression in interface PolicySetalwaysAppliesToXPathExpression - the XPath expression for the alwaysAppliesTo attribute
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||