org.apache.tuscany.sca.implementation.widget
Class WidgetImplementation

java.lang.Object
  extended by org.apache.tuscany.sca.implementation.widget.WidgetImplementation
All Implemented Interfaces:
Base, ComponentType, Implementation

public class WidgetImplementation
extends java.lang.Object
implements Implementation

The model representing a widget implementation in an SCA assembly model.


Method Summary
 ConstrainingType getConstrainingType()
          Returns a constraining type defining the shape of the implementation.
 java.lang.String getLocation()
           
 java.net.URL getLocationURL()
           
 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.
 boolean isUnresolved()
          Returns true if the model element is unresolved.
 void setConstrainingType(ConstrainingType constrainingType)
          Sets a constraining type defining the shape of the implementation.
 void setLocation(java.lang.String location)
           
 void setLocationURL(java.net.URL url)
           
 void setUnresolved(boolean unresolved)
          Sets whether the model element is unresolved.
 void setURI(java.lang.String uri)
          Sets the URI of this component type.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getLocation

public java.lang.String getLocation()

setLocation

public void setLocation(java.lang.String location)

getLocationURL

public java.net.URL getLocationURL()

setLocationURL

public void setLocationURL(java.net.URL url)

getConstrainingType

public ConstrainingType getConstrainingType()
Description copied from interface: ComponentType
Returns a constraining type defining the shape of the implementation.

Specified by:
getConstrainingType in interface ComponentType
Returns:
a constraining type

getProperties

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

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

getServices

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

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

getReferences

public java.util.List<Reference> getReferences()
Description copied from interface: ComponentType
Returns the list of reference types that are used.

Specified by:
getReferences in interface ComponentType
Returns:
the list of reference types that are used

getURI

public java.lang.String getURI()
Description copied from interface: ComponentType
Returns the URI of this component type.

Specified by:
getURI in interface ComponentType
Returns:
the URI of the component type

setConstrainingType

public void setConstrainingType(ConstrainingType constrainingType)
Description copied from interface: ComponentType
Sets a constraining type defining the shape of the implementation.

Specified by:
setConstrainingType in interface ComponentType
Parameters:
constrainingType - the constraining type to set

setURI

public void setURI(java.lang.String uri)
Description copied from interface: ComponentType
Sets the URI of this component type.

Specified by:
setURI in interface ComponentType
Parameters:
uri - the URI of the component type

isUnresolved

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

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

setUnresolved

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

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

toString

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