org.apache.tuscany.sca.assembly
Interface ConstrainingType

All Superinterfaces:
Base, IntentAttachPoint

public interface ConstrainingType
extends Base, IntentAttachPoint

A constrainingType provides the "shape" for a component and its implementation. Any component configuration that points to a constrainingType is constrained by this shape. The constrainingType specifies the services, references and properties that must be implemented.

Version:
$Rev: 537391 $ $Date: 2007-05-12 12:42:45 +0100 (Sat, 12 May 2007) $

Method Summary
 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<AbstractService> getServices()
          Returns a list of services that are offered.
 void setName(javax.xml.namespace.QName name)
          Sets the name of the constrainingType.
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Base
getExtensions, isUnresolved, setUnresolved
 
Methods inherited from interface org.apache.tuscany.sca.policy.IntentAttachPoint
getRequiredIntents
 

Method Detail

getName

javax.xml.namespace.QName getName()
Returns the name of the constrainingType.

Returns:
the name of the constrainingType

setName

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

Parameters:
name - the name of the constrainingType

getServices

java.util.List<AbstractService> getServices()
Returns a list of services that are offered.

Returns:
a list of services that are offered

getReferences

java.util.List<AbstractReference> getReferences()
Returns the list of references that are used.

Returns:
the list of references that are used

getProperties

java.util.List<AbstractProperty> getProperties()
Returns the list of properties that can be set.

Returns:
the list of properties that can be set