org.apache.tuscany.sca.policy
Interface PolicySet


public interface PolicySet

Represents a policy set. See the Policy Framework specification for a description of this element.


Method Summary
 java.util.List<javax.xml.namespace.QName> getAppliesTo()
          Returns the list of SCA constructs that this policy set is meant to configure.
 javax.xml.namespace.QName getName()
          Returns the intent name.
 java.util.List<Operation> getOperations()
          Returns the list of operations that this policy set applies to.
 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
 boolean isUnresolved()
          Returns true if the model element is unresolved.
 void setName(javax.xml.namespace.QName name)
          Sets the intent name
 void setUnresolved(boolean unresolved)
          Sets whether the model element is unresolved.
 

Method Detail

getName

javax.xml.namespace.QName getName()
Returns the intent name.

Returns:
the intent name

setName

void setName(javax.xml.namespace.QName name)
Sets the intent name

Parameters:
name - the intent name

getOperations

java.util.List<Operation> getOperations()
Returns the list of operations that this policy set applies to.

Returns:

getReferencedPolicySets

java.util.List<PolicySet> getReferencedPolicySets()
Returns the list of

Returns:

getProvidedIntents

java.util.List<Intent> getProvidedIntents()
Returns the list of provided intents

Returns:

getAppliesTo

java.util.List<javax.xml.namespace.QName> getAppliesTo()
Returns the list of SCA constructs that this policy set is meant to configure.

Returns:
the list of SCA constructs that this policy set is meant to configure

getPolicies

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.

Returns:
the list of concrete policies

isUnresolved

boolean isUnresolved()
Returns true if the model element is unresolved.

Returns:
true if the model element is unresolved.

setUnresolved

void setUnresolved(boolean unresolved)
Sets whether the model element is unresolved.

Parameters:
unresolved - whether the model element is unresolved