org.apache.tuscany.sca.assembly
Interface ComponentType

All Superinterfaces:
Base
All Known Subinterfaces:
BaseJavaImplementation, BPELImplementation, Composite, ConfiguredNodeImplementation, EJBImplementation, Implementation, JavaImplementation, JEEImplementation, NodeImplementation, OSGiImplementation, ResourceImplementation, XQueryImplementation
All Known Implementing Classes:
AbstractImplementation, ComponentTypeImpl, CompositeImpl, DynamicImplementation, ImplementationImpl, JavaImplementationImpl, NotificationImplementationImpl, OSGiImplementationImpl, PojoImplementation, SpringImplementation, WidgetImplementation, XQueryImplementationImpl

public interface ComponentType
extends Base

Describes an implementation and represents its configurable aspects.


Method Summary
 ConstrainingType getConstrainingType()
          Returns a constraining type defining the shape of the implementation.
 java.util.List<Property> getProperties()
          Returns the list of properties that can be set.
 java.util.List<Reference> getReferences()
          Returns the list of reference types that are used.
 java.util.List<Service> getServices()
          Returns a list of services that are offered.
 java.lang.String getURI()
          Returns the URI of this component type.
 void setConstrainingType(ConstrainingType constrainingType)
          Sets a constraining type defining the shape of the implementation.
 void setURI(java.lang.String uri)
          Sets the URI of this component type.
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Base
isUnresolved, setUnresolved
 

Method Detail

getURI

java.lang.String getURI()
Returns the URI of this component type.

Returns:
the URI of the component type

setURI

void setURI(java.lang.String uri)
Sets the URI of this component type.

Parameters:
uri - the URI of the component type

getServices

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

Returns:
a list of services that are offered

getReferences

java.util.List<Reference> getReferences()
Returns the list of reference types that are used.

Returns:
the list of reference types that are used

getProperties

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

Returns:
the list of properties that can be set

getConstrainingType

ConstrainingType getConstrainingType()
Returns a constraining type defining the shape of the implementation.

Returns:
a constraining type

setConstrainingType

void setConstrainingType(ConstrainingType constrainingType)
Sets a constraining type defining the shape of the implementation.

Parameters:
constrainingType - the constraining type to set