org.apache.tuscany.sca.policy
Interface IntentMap


public interface IntentMap

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


Method Summary
 IntentMap getDefaultQualifiedIntentMap()
          Returns the default qualified intent map.
 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.
 Intent getProvidedIntent()
          Returns the intent realized by this intent map.
 java.util.List<IntentMap> getQualifiedIntentMaps()
          Returns the list of children qualified intent maps.
 boolean isUnresolved()
          Returns true if the model element is unresolved.
 void setDefaultQualifiedIntentMap(IntentMap defaultQualifiedIntentMap)
          Sets the default qualified intent map.
 void setProvidedIntent(Intent providedIntent)
          Sets the intent realized by this intent map.
 void setUnresolved(boolean unresolved)
          Sets whether the model element is unresolved.
 

Method Detail

getProvidedIntent

Intent getProvidedIntent()
Returns the intent realized by this intent map.

Returns:
the intent realized by this intent map

setProvidedIntent

void setProvidedIntent(Intent providedIntent)
Sets the intent realized by this intent map.

Parameters:
providedIntent - the intent realized by this intent map

getDefaultQualifiedIntentMap

IntentMap getDefaultQualifiedIntentMap()
Returns the default qualified intent map.

Returns:
the default qualified intent map

setDefaultQualifiedIntentMap

void setDefaultQualifiedIntentMap(IntentMap defaultQualifiedIntentMap)
Sets the default qualified intent map.

Parameters:
defaultQualifiedIntentMap - the default qualified intent map

getQualifiedIntentMaps

java.util.List<IntentMap> getQualifiedIntentMaps()
Returns the list of children qualified intent maps.

Returns:

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