Remote Systems
v6.4.1

com.ibm.etools.systems.subsystems.util
Class SubsystemsAdapterFactory

java.lang.Object
  extended byAdapterFactoryImpl
      extended bycom.ibm.etools.systems.subsystems.util.SubsystemsAdapterFactory

public class SubsystemsAdapterFactory
extends AdapterFactoryImpl

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

See Also:
SubsystemsPackage, Serialized Form

Field Summary
static String copyright
           
protected static SubsystemsPackage modelPackage
          The cached model package
protected  SubsystemsSwitch modelSwitch
          The switch the delegates to the createXXX methods
 
Constructor Summary
SubsystemsAdapterFactory()
          Creates an instance of the adapter factory
 
Method Summary
 Adapter createAdapter(Notifier target)
          Creates an adapter for the target
 Adapter createEObjectAdapter()
          Creates a new adapter for the default case
 Adapter createIBMServerLauncherAdapter()
          Creates a new adapter for an object of class 'IBM Server Launcher'
 Adapter createRemoteCmdSubSystemAdapter()
          Creates a new adapter for an object of class 'Remote Cmd Sub System'
 Adapter createRemoteCmdSubSystemFactoryAdapter()
          Creates a new adapter for an object of class 'Remote Cmd Sub System Factory'
 Adapter createRemoteFileSubSystemAdapter()
          Creates a new adapter for an object of class 'Remote File Sub System'
 Adapter createRemoteFileSubSystemFactoryAdapter()
          Creates a new adapter for an object of class 'Remote File Sub System Factory'
 Adapter createRemoteJobSubSystemAdapter()
          Creates a new adapter for an object of class 'Remote Job Sub System'
 Adapter createRemoteJobSubSystemFactoryAdapter()
          Creates a new adapter for an object of class 'Remote Job Sub System Factory'
 Adapter createRemoteSystemEnvVarAdapter()
          Creates a new adapter for an object of class 'Remote System Env Var'
 Adapter createServerLauncherAdapter()
          Creates a new adapter for an object of class 'Server Launcher'
 Adapter createSubSystemAdapter()
          Creates a new adapter for an object of class 'Sub System'
 Adapter createSubSystemFactoryAdapter()
          Creates a new adapter for an object of class 'Sub System Factory'
 boolean isFactoryForType(Object object)
          Returns whether this factory is applicable for the type of the object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values

modelPackage

protected static SubsystemsPackage modelPackage
The cached model package.


modelSwitch

protected SubsystemsSwitch modelSwitch
The switch the delegates to the createXXX methods.

Constructor Detail

SubsystemsAdapterFactory

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

Method Detail

isFactoryForType

public boolean isFactoryForType(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.

createSubSystemAdapter

public Adapter createSubSystemAdapter()
Creates a new adapter for an object of class 'Sub System'. 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

createSubSystemFactoryAdapter

public Adapter createSubSystemFactoryAdapter()
Creates a new adapter for an object of class 'Sub System Factory'. 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:
SubSystemFactory

createRemoteCmdSubSystemAdapter

public Adapter createRemoteCmdSubSystemAdapter()
Creates a new adapter for an object of class 'Remote Cmd Sub System'. 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:
RemoteCmdSubSystem

createRemoteJobSubSystemAdapter

public Adapter createRemoteJobSubSystemAdapter()
Creates a new adapter for an object of class 'Remote Job Sub System'. 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:
RemoteJobSubSystem

createRemoteCmdSubSystemFactoryAdapter

public Adapter createRemoteCmdSubSystemFactoryAdapter()
Creates a new adapter for an object of class 'Remote Cmd Sub System Factory'. 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:
RemoteCmdSubSystemFactory

createRemoteJobSubSystemFactoryAdapter

public Adapter createRemoteJobSubSystemFactoryAdapter()
Creates a new adapter for an object of class 'Remote Job Sub System Factory'. 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:
RemoteJobSubSystemFactory

createRemoteFileSubSystemFactoryAdapter

public Adapter createRemoteFileSubSystemFactoryAdapter()
Creates a new adapter for an object of class 'Remote File Sub System Factory'. 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:
RemoteFileSubSystemFactory

createRemoteFileSubSystemAdapter

public Adapter createRemoteFileSubSystemAdapter()
Creates a new adapter for an object of class 'Remote File Sub System'. 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:
RemoteFileSubSystem

createRemoteSystemEnvVarAdapter

public Adapter createRemoteSystemEnvVarAdapter()
Creates a new adapter for an object of class 'Remote System Env Var'. 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:
RemoteSystemEnvVar

createServerLauncherAdapter

public Adapter createServerLauncherAdapter()
Creates a new adapter for an object of class 'Server Launcher'. 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:
ServerLauncher

createIBMServerLauncherAdapter

public Adapter createIBMServerLauncherAdapter()
Creates a new adapter for an object of class 'IBM Server Launcher'. 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:
IBMServerLauncher

createEObjectAdapter

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

Returns:
the new adapter.

Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.