org.apache.tuscany.sca.policy.impl
Class IntentMapImpl

java.lang.Object
  extended by org.apache.tuscany.sca.policy.impl.IntentMapImpl
All Implemented Interfaces:
IntentMap

public class IntentMapImpl
extends java.lang.Object
implements IntentMap

Represents an intent map.


Constructor Summary
protected IntentMapImpl()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntentMapImpl

protected IntentMapImpl()
Method Detail

getDefaultQualifiedIntentMap

public IntentMap getDefaultQualifiedIntentMap()
Description copied from interface: IntentMap
Returns the default qualified intent map.

Specified by:
getDefaultQualifiedIntentMap in interface IntentMap
Returns:
the default qualified intent map

getPolicies

public java.util.List<java.lang.Object> getPolicies()
Description copied from interface: IntentMap
Returns the list of concrete policies, either WS-Policy policy attachments, policy references, or policies expressed in another policy language.

Specified by:
getPolicies in interface IntentMap
Returns:
the list of concrete policies

getProvidedIntent

public Intent getProvidedIntent()
Description copied from interface: IntentMap
Returns the intent realized by this intent map.

Specified by:
getProvidedIntent in interface IntentMap
Returns:
the intent realized by this intent map

getQualifiedIntentMaps

public java.util.List<IntentMap> getQualifiedIntentMaps()
Description copied from interface: IntentMap
Returns the list of children qualified intent maps.

Specified by:
getQualifiedIntentMaps in interface IntentMap
Returns:

setDefaultQualifiedIntentMap

public void setDefaultQualifiedIntentMap(IntentMap defaultQualifiedIntentMap)
Description copied from interface: IntentMap
Sets the default qualified intent map.

Specified by:
setDefaultQualifiedIntentMap in interface IntentMap
Parameters:
defaultQualifiedIntentMap - the default qualified intent map

setProvidedIntent

public void setProvidedIntent(Intent providedIntent)
Description copied from interface: IntentMap
Sets the intent realized by this intent map.

Specified by:
setProvidedIntent in interface IntentMap
Parameters:
providedIntent - the intent realized by this intent map

isUnresolved

public boolean isUnresolved()
Description copied from interface: IntentMap
Returns true if the model element is unresolved.

Specified by:
isUnresolved in interface IntentMap
Returns:
true if the model element is unresolved.

setUnresolved

public void setUnresolved(boolean unresolved)
Description copied from interface: IntentMap
Sets whether the model element is unresolved.

Specified by:
setUnresolved in interface IntentMap
Parameters:
unresolved - whether the model element is unresolved