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

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

public class ImplementationTypeImpl
extends java.lang.Object
implements IntentAttachPointType

Concrete implementation for a Implementation Type


Constructor Summary
ImplementationTypeImpl()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 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.
 int hashCode()
           
 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.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImplementationTypeImpl

public ImplementationTypeImpl()
Method Detail

getAlwaysProvidedIntents

public java.util.List<Intent> getAlwaysProvidedIntents()
Description copied from interface: IntentAttachPointType
Returns the list of names of policy intents that will always be provided by this Extension Type

Specified by:
getAlwaysProvidedIntents in interface IntentAttachPointType
Returns:
list of Policy Intent names

getMayProvideIntents

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

Specified by:
getMayProvideIntents in interface IntentAttachPointType
Returns:
list of Policy Intent names

getName

public javax.xml.namespace.QName getName()
Description copied from interface: IntentAttachPointType
Returns the name of the extension type defined by this instance e.g. implementation.java, binding.ws

Specified by:
getName in interface IntentAttachPointType
Returns:
the extension type QName

setName

public void setName(javax.xml.namespace.QName type)
Description copied from interface: IntentAttachPointType
Sets the name of the extension type

Specified by:
setName in interface IntentAttachPointType
Parameters:
type - the name of the extension type

isUnresolved

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

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

setUnresolved

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object