|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 PolicySet
public void setAlwaysAppliesTo(java.lang.String alwaysAppliesTo)
PolicySet
setAlwaysAppliesTo
in interface PolicySet
public javax.xml.namespace.QName getName()
PolicySet
getName
in interface PolicySet
public void setName(javax.xml.namespace.QName name)
PolicySet
setName
in interface PolicySet
name
- the intent namepublic java.lang.String getAppliesTo()
PolicySet
getAppliesTo
in interface PolicySet
public void setAppliesTo(java.lang.String appliesTo)
PolicySet
setAppliesTo
in interface PolicySet
public java.util.List<Intent> getProvidedIntents()
PolicySet
getProvidedIntents
in interface PolicySet
public java.util.List<PolicySet> getReferencedPolicySets()
PolicySet
getReferencedPolicySets
in interface PolicySet
public java.util.List<java.lang.Object> getPolicies()
PolicySet
getPolicies
in interface PolicySet
public boolean isUnresolved()
PolicySet
isUnresolved
in interface PolicySet
public void setUnresolved(boolean unresolved)
PolicySet
setUnresolved
in interface PolicySet
unresolved
- whether the model element is unresolvedpublic java.util.Map<Intent,java.util.List<java.lang.Object>> getMappedPolicies()
PolicySet
getMappedPolicies
in interface PolicySet
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public javax.xml.xpath.XPathExpression getAppliesToXPathExpression()
PolicySet
getAppliesToXPathExpression
in interface PolicySet
public void setAppliesToXPathExpression(javax.xml.xpath.XPathExpression appliesToXPathExpression)
PolicySet
setAppliesToXPathExpression
in interface PolicySet
appliesToXPathExpression
- the XPath expression for the appliesTo attributepublic javax.xml.xpath.XPathExpression getAlwaysAppliesToXPathExpression()
PolicySet
getAlwaysAppliesToXPathExpression
in interface PolicySet
public void setAlwaysAppliesToXPathExpression(javax.xml.xpath.XPathExpression alwaysAppliesToXPathExpression)
PolicySet
setAlwaysAppliesToXPathExpression
in interface PolicySet
alwaysAppliesToXPathExpression
- the XPath expression for the alwaysAppliesTo attribute
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |