org.eclipse.stp.core.sca.util
Class SCAAdapterFactory

java.lang.Object
  extended by AdapterFactoryImpl
      extended by org.eclipse.stp.core.sca.util.SCAAdapterFactory
Direct Known Subclasses:
SCAItemProviderAdapterFactory

public class SCAAdapterFactory
extends AdapterFactoryImpl

The Adapter Factory for the model. It provides an adapter createXXX method for each class of the model.

See Also:
SCAPackage

Field Summary
static java.lang.String copyright
           
 
Constructor Summary
SCAAdapterFactory()
          Creates an instance of the adapter factory.
 
Method Summary
 Adapter createAbstractImplementationAdapter()
          Creates a new adapter for an object of class 'Abstract Implementation'.
 Adapter createAdapter(Notifier target)
          Creates an adapter for the target.
 Adapter createBindingAdapter()
          Creates a new adapter for an object of class 'Binding'.
 Adapter createComponentAdapter()
          Creates a new adapter for an object of class 'Component'.
 Adapter createComponentTypeAdapter()
          Creates a new adapter for an object of class 'Component Type'.
 Adapter createCompositeAdapter()
          Creates a new adapter for an object of class 'Composite'.
 Adapter createEntryPointAdapter()
          Creates a new adapter for an object of class 'Entry Point'.
 Adapter createEObjectAdapter()
          Creates a new adapter for the default case.
 Adapter createExternalServiceAdapter()
          Creates a new adapter for an object of class 'External Service'.
 Adapter createImplementationAdapter()
          Creates a new adapter for an object of class 'Implementation'.
 Adapter createImplementationComponentAdapter()
          Creates a new adapter for an object of class 'Implementation Component'.
 Adapter createInterfaceAdapter()
          Creates a new adapter for an object of class 'Interface'.
 Adapter createJavaImplementationAdapter()
          Creates a new adapter for an object of class 'Java Implementation'.
 Adapter createJavaInterfaceAdapter()
          Creates a new adapter for an object of class 'Java Interface'.
 Adapter createModuleAdapter()
          Creates a new adapter for an object of class 'Module'.
 Adapter createModuleComponentAdapter()
          Creates a new adapter for an object of class 'Module Component'.
 Adapter createModuleFragmentAdapter()
          Creates a new adapter for an object of class 'Module Fragment'.
 Adapter createModuleReferenceAdapter()
          Creates a new adapter for an object of class 'Module Reference'.
 Adapter createModuleServiceAdapter()
          Creates a new adapter for an object of class 'Module Service'.
 Adapter createModuleWireAdapter()
          Creates a new adapter for an object of class 'Module Wire'.
 Adapter createPropertyAdapter()
          Creates a new adapter for an object of class 'Property'.
 Adapter createPropertyValueAdapter()
          Creates a new adapter for an object of class 'Property Value'.
 Adapter createPropertyValuesSetAdapter()
          Creates a new adapter for an object of class 'Property Values Set'.
 Adapter createReferenceAdapter()
          Creates a new adapter for an object of class 'Reference'.
 Adapter createReferenceValueAdapter()
          Creates a new adapter for an object of class 'Reference Value'.
 Adapter createReferenceValuesSetAdapter()
          Creates a new adapter for an object of class 'Reference Values Set'.
 Adapter createSCABindingAdapter()
          Creates a new adapter for an object of class 'Binding'.
 Adapter createSCACoreRootAdapter()
          Creates a new adapter for an object of class 'Core Root'.
 Adapter createServiceAdapter()
          Creates a new adapter for an object of class 'Service'.
 Adapter createSLSBBindingAdapter()
          Creates a new adapter for an object of class 'SLSB Binding'.
 Adapter createSubsystemAdapter()
          Creates a new adapter for an object of class 'Subsystem'.
 Adapter createSystemWireAdapter()
          Creates a new adapter for an object of class 'System Wire'.
 Adapter createUnknownImplementationAdapter()
          Creates a new adapter for an object of class 'Unknown Implementation'.
 Adapter createWebServiceBindingAdapter()
          Creates a new adapter for an object of class 'Web Service Binding'.
 Adapter createWSDLPortTypeAdapter()
          Creates a new adapter for an object of class 'WSDL Port Type'.
 boolean isFactoryForType(java.lang.Object object)
          Returns whether this factory is applicable for the type of the object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values
Constructor Detail

SCAAdapterFactory

public SCAAdapterFactory()
Creates an instance of the adapter factory.

Method Detail

isFactoryForType

public boolean isFactoryForType(java.lang.Object object)
Returns whether this factory is applicable for the type of the object. This implementation returns true if the object is either the model's package or is an instance object of the model.

Returns:
whether this factory is applicable for the type of the object.

createAdapter

public Adapter createAdapter(Notifier target)
Creates an adapter for the target.

Parameters:
target - the object to adapt.
Returns:
the adapter for the target.

createAbstractImplementationAdapter

public Adapter createAbstractImplementationAdapter()
Creates a new adapter for an object of class 'Abstract Implementation'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
AbstractImplementation

createBindingAdapter

public Adapter createBindingAdapter()
Creates a new adapter for an object of class 'Binding'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
Binding

createComponentAdapter

public Adapter createComponentAdapter()
Creates a new adapter for an object of class 'Component'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
Component

createComponentTypeAdapter

public Adapter createComponentTypeAdapter()
Creates a new adapter for an object of class 'Component Type'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
ComponentType

createCompositeAdapter

public Adapter createCompositeAdapter()
Creates a new adapter for an object of class 'Composite'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
Composite

createEntryPointAdapter

public Adapter createEntryPointAdapter()
Creates a new adapter for an object of class 'Entry Point'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
EntryPoint

createExternalServiceAdapter

public Adapter createExternalServiceAdapter()
Creates a new adapter for an object of class 'External Service'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
ExternalService

createImplementationAdapter

public Adapter createImplementationAdapter()
Creates a new adapter for an object of class 'Implementation'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
Implementation

createImplementationComponentAdapter

public Adapter createImplementationComponentAdapter()
Creates a new adapter for an object of class 'Implementation Component'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
ImplementationComponent

createInterfaceAdapter

public Adapter createInterfaceAdapter()
Creates a new adapter for an object of class 'Interface'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
Interface

createJavaImplementationAdapter

public Adapter createJavaImplementationAdapter()
Creates a new adapter for an object of class 'Java Implementation'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
JavaImplementation

createJavaInterfaceAdapter

public Adapter createJavaInterfaceAdapter()
Creates a new adapter for an object of class 'Java Interface'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
JavaInterface

createModuleAdapter

public Adapter createModuleAdapter()
Creates a new adapter for an object of class 'Module'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
Module

createModuleComponentAdapter

public Adapter createModuleComponentAdapter()
Creates a new adapter for an object of class 'Module Component'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
ModuleComponent

createModuleFragmentAdapter

public Adapter createModuleFragmentAdapter()
Creates a new adapter for an object of class 'Module Fragment'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
ModuleFragment

createModuleReferenceAdapter

public Adapter createModuleReferenceAdapter()
Creates a new adapter for an object of class 'Module Reference'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
ModuleReference

createModuleServiceAdapter

public Adapter createModuleServiceAdapter()
Creates a new adapter for an object of class 'Module Service'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
ModuleService

createModuleWireAdapter

public Adapter createModuleWireAdapter()
Creates a new adapter for an object of class 'Module Wire'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
ModuleWire

createPropertyAdapter

public Adapter createPropertyAdapter()
Creates a new adapter for an object of class 'Property'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
Property

createPropertyValueAdapter

public Adapter createPropertyValueAdapter()
Creates a new adapter for an object of class 'Property Value'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
PropertyValue

createPropertyValuesSetAdapter

public Adapter createPropertyValuesSetAdapter()
Creates a new adapter for an object of class 'Property Values Set'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
PropertyValuesSet

createReferenceAdapter

public Adapter createReferenceAdapter()
Creates a new adapter for an object of class 'Reference'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
Reference

createReferenceValueAdapter

public Adapter createReferenceValueAdapter()
Creates a new adapter for an object of class 'Reference Value'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
ReferenceValue

createReferenceValuesSetAdapter

public Adapter createReferenceValuesSetAdapter()
Creates a new adapter for an object of class 'Reference Values Set'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
ReferenceValuesSet

createSCABindingAdapter

public Adapter createSCABindingAdapter()
Creates a new adapter for an object of class 'Binding'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
SCABinding

createSCACoreRootAdapter

public Adapter createSCACoreRootAdapter()
Creates a new adapter for an object of class 'Core Root'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
SCACoreRoot

createServiceAdapter

public Adapter createServiceAdapter()
Creates a new adapter for an object of class 'Service'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
Service

createSLSBBindingAdapter

public Adapter createSLSBBindingAdapter()
Creates a new adapter for an object of class 'SLSB Binding'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
SLSBBinding

createSubsystemAdapter

public Adapter createSubsystemAdapter()
Creates a new adapter for an object of class 'Subsystem'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
Subsystem

createSystemWireAdapter

public Adapter createSystemWireAdapter()
Creates a new adapter for an object of class 'System Wire'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
SystemWire

createUnknownImplementationAdapter

public Adapter createUnknownImplementationAdapter()
Creates a new adapter for an object of class 'Unknown Implementation'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
UnknownImplementation

createWebServiceBindingAdapter

public Adapter createWebServiceBindingAdapter()
Creates a new adapter for an object of class 'Web Service Binding'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
WebServiceBinding

createWSDLPortTypeAdapter

public Adapter createWSDLPortTypeAdapter()
Creates a new adapter for an object of class 'WSDL Port Type'. This default implementation returns null so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway.

Returns:
the new adapter.
See Also:
WSDLPortType

createEObjectAdapter

public Adapter createEObjectAdapter()
Creates a new adapter for the default case. This default implementation returns null.

Returns:
the new adapter.