org.dmtf.schemas.wscim.vssd.util
Class VssdAdapterFactory

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
      extended by org.dmtf.schemas.wscim.vssd.util.VssdAdapterFactory
All Implemented Interfaces:
AdapterFactory

public class VssdAdapterFactory
extends AdapterFactoryImpl

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

See Also:
VssdPackage

Field Summary
protected static VssdPackage modelPackage
          The cached model package.
protected  VssdSwitch<Adapter> modelSwitch
          The switch that delegates to the createXXX methods.
 
Constructor Summary
VssdAdapterFactory()
          Creates an instance of the adapter factory.
 
Method Summary
 Adapter createAdapter(Notifier target)
          Creates an adapter for the target.
 Adapter createAutomaticRecoveryActionTypeAdapter()
          Creates a new adapter for an object of class 'Automatic Recovery Action Type'.
 Adapter createAutomaticShutdownActionTypeAdapter()
          Creates a new adapter for an object of class 'Automatic Shutdown Action Type'.
 Adapter createAutomaticStartupActionTypeAdapter()
          Creates a new adapter for an object of class 'Automatic Startup Action Type'.
 Adapter createCaptionTypeAdapter()
          Creates a new adapter for an object of class 'Caption Type'.
 Adapter createChangeableTypeTypeAdapter()
          Creates a new adapter for an object of class 'Changeable Type Type'.
 Adapter createCimAnySimpleTypeAdapter()
          Creates a new adapter for an object of class 'Cim Any Simple Type'.
 Adapter createCimStringAdapter()
          Creates a new adapter for an object of class 'Cim String'.
 Adapter createCimUnsignedShortAdapter()
          Creates a new adapter for an object of class 'Cim Unsigned Short'.
 Adapter createCIMVirtualSystemSettingDataTypeAdapter()
          Creates a new adapter for an object of class 'CIM Virtual System Setting Data Type'.
 Adapter createDocumentRootAdapter()
          Creates a new adapter for an object of class 'Document Root'.
 Adapter createEObjectAdapter()
          Creates a new adapter for the default case.
 boolean isFactoryForType(java.lang.Object object)
          Returns whether this factory is applicable for the type of the object.
 
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
adapt, adapt, adaptAllNew, adaptNew, associate, createAdapter, resolve
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modelPackage

protected static VssdPackage modelPackage
The cached model package.


modelSwitch

protected VssdSwitch<Adapter> modelSwitch
The switch that delegates to the createXXX methods.

Constructor Detail

VssdAdapterFactory

public VssdAdapterFactory()
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.

Specified by:
isFactoryForType in interface AdapterFactory
Overrides:
isFactoryForType in class AdapterFactoryImpl
Returns:
whether this factory is applicable for the type of the object.

createAdapter

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

Overrides:
createAdapter in class AdapterFactoryImpl
Parameters:
target - the object to adapt.
Returns:
the adapter for the target.

createAutomaticRecoveryActionTypeAdapter

public Adapter createAutomaticRecoveryActionTypeAdapter()
Creates a new adapter for an object of class 'Automatic Recovery Action 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:
AutomaticRecoveryActionType

createAutomaticShutdownActionTypeAdapter

public Adapter createAutomaticShutdownActionTypeAdapter()
Creates a new adapter for an object of class 'Automatic Shutdown Action 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:
AutomaticShutdownActionType

createAutomaticStartupActionTypeAdapter

public Adapter createAutomaticStartupActionTypeAdapter()
Creates a new adapter for an object of class 'Automatic Startup Action 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:
AutomaticStartupActionType

createCaptionTypeAdapter

public Adapter createCaptionTypeAdapter()
Creates a new adapter for an object of class 'Caption 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:
CaptionType

createChangeableTypeTypeAdapter

public Adapter createChangeableTypeTypeAdapter()
Creates a new adapter for an object of class 'Changeable Type 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:
ChangeableTypeType

createCIMVirtualSystemSettingDataTypeAdapter

public Adapter createCIMVirtualSystemSettingDataTypeAdapter()
Creates a new adapter for an object of class 'CIM Virtual System Setting Data 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:
CIMVirtualSystemSettingDataType

createDocumentRootAdapter

public Adapter createDocumentRootAdapter()
Creates a new adapter for an object of class 'Document 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:
DocumentRoot

createCimAnySimpleTypeAdapter

public Adapter createCimAnySimpleTypeAdapter()
Creates a new adapter for an object of class 'Cim Any Simple 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:
CimAnySimpleType

createCimStringAdapter

public Adapter createCimStringAdapter()
Creates a new adapter for an object of class 'Cim String'. 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:
CimString

createCimUnsignedShortAdapter

public Adapter createCimUnsignedShortAdapter()
Creates a new adapter for an object of class 'Cim Unsigned Short'. 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:
CimUnsignedShort

createEObjectAdapter

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

Returns:
the new adapter.


© Copyright 2008 IBM Corp. 2008 All Rights Reserved