org.apache.tuscany.sca.policy
Interface IntentAttachPointType

All Known Implementing Classes:
BindingTypeImpl, ImplementationTypeImpl

public interface IntentAttachPointType

Base interface for representing the model type of assembly model objects that can be have policy intents attached to them.


Method Summary
 java.util.List<Intent> getAlwaysProvidedIntents()
          Returns the list of names of policy intents that will always be provided by this Extension Type
 java.util.List<Intent> getMayProvideIntents()
          Returns the list of names of policy intents that may be provided by this Extension Type thro appropriate configuration
 javax.xml.namespace.QName getName()
          Returns the name of the extension type defined by this instance e.g.
 boolean isUnresolved()
          Returns true if the model element is unresolved.
 void setName(javax.xml.namespace.QName type)
          Sets the name of the extension type
 void setUnresolved(boolean unresolved)
          Sets whether the model element is unresolved.
 

Method Detail

getName

javax.xml.namespace.QName getName()
Returns the name of the extension type defined by this instance e.g. implementation.java, binding.ws

Returns:
the extension type QName

setName

void setName(javax.xml.namespace.QName type)
Sets the name of the extension type

Parameters:
type - the name of the extension type

getAlwaysProvidedIntents

java.util.List<Intent> getAlwaysProvidedIntents()
Returns the list of names of policy intents that will always be provided by this Extension Type

Returns:
list of Policy Intent names

getMayProvideIntents

java.util.List<Intent> getMayProvideIntents()
Returns the list of names of policy intents that may be provided by this Extension Type thro appropriate configuration

Returns:
list of Policy Intent names

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