org.apache.tuscany.sca.assembly.impl
Class ConstrainingTypeImpl

java.lang.Object
  extended by org.apache.tuscany.sca.assembly.impl.BaseImpl
      extended by org.apache.tuscany.sca.assembly.impl.ExtensibleImpl
          extended by org.apache.tuscany.sca.assembly.impl.ConstrainingTypeImpl
All Implemented Interfaces:
Base, ConstrainingType, Extensible, IntentAttachPoint

public class ConstrainingTypeImpl
extends ExtensibleImpl
implements ConstrainingType

Represents a constraining type.


Constructor Summary
protected ConstrainingTypeImpl()
          Constructs a new ConstrainingType
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 javax.xml.namespace.QName getName()
          Returns the name of the constrainingType.
 java.util.List<AbstractProperty> getProperties()
          Returns the list of properties that can be set.
 java.util.List<AbstractReference> getReferences()
          Returns the list of references that are used.
 java.util.List<Intent> getRequiredIntents()
          Returns a list of policy intents.
 java.util.List<AbstractService> getServices()
          Returns a list of services that are offered.
 IntentAttachPointType getType()
          Returns the type of the attach point such as a BindingType or an ImplementationType and so on
 int hashCode()
           
 void setName(javax.xml.namespace.QName name)
          Sets the name of the constrainingType.
 void setRequiredIntents(java.util.List<Intent> intents)
           
 void setType(IntentAttachPointType type)
          Sets the type of the attach point such as a BindingType or an ImplementationType and so on
 
Methods inherited from class org.apache.tuscany.sca.assembly.impl.ExtensibleImpl
getExtensions
 
Methods inherited from class org.apache.tuscany.sca.assembly.impl.BaseImpl
isUnresolved, setUnresolved
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Base
isUnresolved, setUnresolved
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Extensible
getExtensions
 

Constructor Detail

ConstrainingTypeImpl

protected ConstrainingTypeImpl()
Constructs a new ConstrainingType

Method Detail

getName

public javax.xml.namespace.QName getName()
Description copied from interface: ConstrainingType
Returns the name of the constrainingType.

Specified by:
getName in interface ConstrainingType
Returns:
the name of the constrainingType

setName

public void setName(javax.xml.namespace.QName name)
Description copied from interface: ConstrainingType
Sets the name of the constrainingType.

Specified by:
setName in interface ConstrainingType
Parameters:
name - the name of the constrainingType

getProperties

public java.util.List<AbstractProperty> getProperties()
Description copied from interface: ConstrainingType
Returns the list of properties that can be set.

Specified by:
getProperties in interface ConstrainingType
Returns:
the list of properties that can be set

getReferences

public java.util.List<AbstractReference> getReferences()
Description copied from interface: ConstrainingType
Returns the list of references that are used.

Specified by:
getReferences in interface ConstrainingType
Returns:
the list of references that are used

getServices

public java.util.List<AbstractService> getServices()
Description copied from interface: ConstrainingType
Returns a list of services that are offered.

Specified by:
getServices in interface ConstrainingType
Returns:
a list of services that are offered

getRequiredIntents

public java.util.List<Intent> getRequiredIntents()
Description copied from interface: IntentAttachPoint
Returns a list of policy intents. See the Policy Framework specification for a description of this attribute.

Specified by:
getRequiredIntents in interface IntentAttachPoint
Returns:
a list of policy intents.

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

getType

public IntentAttachPointType getType()
Description copied from interface: IntentAttachPoint
Returns the type of the attach point such as a BindingType or an ImplementationType and so on

Specified by:
getType in interface IntentAttachPoint
Returns:

setType

public void setType(IntentAttachPointType type)
Description copied from interface: IntentAttachPoint
Sets the type of the attach point such as a BindingType or an ImplementationType and so on

Specified by:
setType in interface IntentAttachPoint

setRequiredIntents

public void setRequiredIntents(java.util.List<Intent> intents)