org.dmtf.schemas.ovf.envelope.util
Class EnvelopeAdapterFactory

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
      extended by org.dmtf.schemas.ovf.envelope.util.EnvelopeAdapterFactory
All Implemented Interfaces:
AdapterFactory

public class EnvelopeAdapterFactory
extends AdapterFactoryImpl

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

See Also:
EnvelopePackage

Field Summary
protected static EnvelopePackage modelPackage
          The cached model package.
protected  EnvelopeSwitch<Adapter> modelSwitch
          The switch that delegates to the createXXX methods.
 
Constructor Summary
EnvelopeAdapterFactory()
          Creates an instance of the adapter factory.
 
Method Summary
 Adapter createAdapter(Notifier target)
          Creates an adapter for the target.
 Adapter createAnnotationSectionTypeAdapter()
          Creates a new adapter for an object of class 'Annotation Section Type'.
 Adapter createCIMResourceAllocationSettingDataTypeAdapter()
          Creates a new adapter for an object of class 'CIM Resource Allocation Setting Data Type'.
 Adapter createCIMVirtualSystemSettingDataTypeAdapter()
          Creates a new adapter for an object of class 'CIM Virtual System Setting Data Type'.
 Adapter createConfigurationTypeAdapter()
          Creates a new adapter for an object of class 'Configuration Type'.
 Adapter createContentTypeAdapter()
          Creates a new adapter for an object of class 'Content Type'.
 Adapter createDeploymentOptionSectionTypeAdapter()
          Creates a new adapter for an object of class 'Deployment Option Section Type'.
 Adapter createDiskSectionTypeAdapter()
          Creates a new adapter for an object of class 'Disk Section Type'.
 Adapter createDocumentRootAdapter()
          Creates a new adapter for an object of class 'Document Root'.
 Adapter createEnvelopeTypeAdapter()
          Creates a new adapter for an object of class 'Type'.
 Adapter createEObjectAdapter()
          Creates a new adapter for the default case.
 Adapter createEulaSectionTypeAdapter()
          Creates a new adapter for an object of class 'Eula Section Type'.
 Adapter createFileTypeAdapter()
          Creates a new adapter for an object of class 'File Type'.
 Adapter createIconTypeAdapter()
          Creates a new adapter for an object of class 'Icon Type'.
 Adapter createInstallSectionTypeAdapter()
          Creates a new adapter for an object of class 'Install Section Type'.
 Adapter createItemTypeAdapter()
          Creates a new adapter for an object of class 'Item Type'.
 Adapter createLocalHostResourceAdapter()
          Creates a new adapter for an object of class 'Local Host Resource'.
 Adapter createMsgTypeAdapter()
          Creates a new adapter for an object of class 'Msg Type'.
 Adapter createNetworkSectionTypeAdapter()
          Creates a new adapter for an object of class 'Network Section Type'.
 Adapter createNetworkTypeAdapter()
          Creates a new adapter for an object of class 'Network Type'.
 Adapter createOperatingSystemSectionTypeAdapter()
          Creates a new adapter for an object of class 'Operating System Section Type'.
 Adapter createProductSectionTypeAdapter()
          Creates a new adapter for an object of class 'Product Section Type'.
 Adapter createPropertyConfigurationValueTypeAdapter()
          Creates a new adapter for an object of class 'Property Configuration Value Type'.
 Adapter createPropertyTypeAdapter()
          Creates a new adapter for an object of class 'Property Type'.
 Adapter createRASDTypeAdapter()
          Creates a new adapter for an object of class 'RASD Type'.
 Adapter createReferencesTypeAdapter()
          Creates a new adapter for an object of class 'References Type'.
 Adapter createResourceAllocationSectionTypeAdapter()
          Creates a new adapter for an object of class 'Resource Allocation Section Type'.
 Adapter createSectionTypeAdapter()
          Creates a new adapter for an object of class 'Section Type'.
 Adapter createStartupSectionTypeAdapter()
          Creates a new adapter for an object of class 'Startup Section Type'.
 Adapter createStringMsgAdapter()
          Creates a new adapter for an object of class 'String Msg'.
 Adapter createStringsTypeAdapter()
          Creates a new adapter for an object of class 'Strings Type'.
 Adapter createVirtualDiskDescTypeAdapter()
          Creates a new adapter for an object of class 'Virtual Disk Desc Type'.
 Adapter createVirtualHardwareSectionTypeAdapter()
          Creates a new adapter for an object of class 'Virtual Hardware Section Type'.
 Adapter createVirtualSystemCollectionTypeAdapter()
          Creates a new adapter for an object of class 'Virtual System Collection Type'.
 Adapter createVirtualSystemTypeAdapter()
          Creates a new adapter for an object of class 'Virtual System Type'.
 Adapter createVSSDTypeAdapter()
          Creates a new adapter for an object of class 'VSSD Type'.
 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 EnvelopePackage modelPackage
The cached model package.


modelSwitch

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

Constructor Detail

EnvelopeAdapterFactory

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

createAnnotationSectionTypeAdapter

public Adapter createAnnotationSectionTypeAdapter()
Creates a new adapter for an object of class 'Annotation Section 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:
AnnotationSectionType

createConfigurationTypeAdapter

public Adapter createConfigurationTypeAdapter()
Creates a new adapter for an object of class 'Configuration 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:
ConfigurationType

createContentTypeAdapter

public Adapter createContentTypeAdapter()
Creates a new adapter for an object of class 'Content 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:
ContentType

createDeploymentOptionSectionTypeAdapter

public Adapter createDeploymentOptionSectionTypeAdapter()
Creates a new adapter for an object of class 'Deployment Option Section 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:
DeploymentOptionSectionType

createDiskSectionTypeAdapter

public Adapter createDiskSectionTypeAdapter()
Creates a new adapter for an object of class 'Disk Section 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:
DiskSectionType

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

createEnvelopeTypeAdapter

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

createEulaSectionTypeAdapter

public Adapter createEulaSectionTypeAdapter()
Creates a new adapter for an object of class 'Eula Section 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:
EulaSectionType

createFileTypeAdapter

public Adapter createFileTypeAdapter()
Creates a new adapter for an object of class 'File 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:
FileType

createIconTypeAdapter

public Adapter createIconTypeAdapter()
Creates a new adapter for an object of class 'Icon 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:
IconType

createInstallSectionTypeAdapter

public Adapter createInstallSectionTypeAdapter()
Creates a new adapter for an object of class 'Install Section 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:
InstallSectionType

createItemTypeAdapter

public Adapter createItemTypeAdapter()
Creates a new adapter for an object of class 'Item 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:
ItemType

createMsgTypeAdapter

public Adapter createMsgTypeAdapter()
Creates a new adapter for an object of class 'Msg 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:
MsgType

createNetworkSectionTypeAdapter

public Adapter createNetworkSectionTypeAdapter()
Creates a new adapter for an object of class 'Network Section 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:
NetworkSectionType

createNetworkTypeAdapter

public Adapter createNetworkTypeAdapter()
Creates a new adapter for an object of class 'Network 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:
NetworkType

createOperatingSystemSectionTypeAdapter

public Adapter createOperatingSystemSectionTypeAdapter()
Creates a new adapter for an object of class 'Operating System Section 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:
OperatingSystemSectionType

createProductSectionTypeAdapter

public Adapter createProductSectionTypeAdapter()
Creates a new adapter for an object of class 'Product Section 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:
ProductSectionType

createPropertyConfigurationValueTypeAdapter

public Adapter createPropertyConfigurationValueTypeAdapter()
Creates a new adapter for an object of class 'Property Configuration Value 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:
PropertyConfigurationValueType

createPropertyTypeAdapter

public Adapter createPropertyTypeAdapter()
Creates a new adapter for an object of class 'Property 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:
PropertyType

createRASDTypeAdapter

public Adapter createRASDTypeAdapter()
Creates a new adapter for an object of class 'RASD 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:
RASDType

createReferencesTypeAdapter

public Adapter createReferencesTypeAdapter()
Creates a new adapter for an object of class 'References 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:
ReferencesType

createResourceAllocationSectionTypeAdapter

public Adapter createResourceAllocationSectionTypeAdapter()
Creates a new adapter for an object of class 'Resource Allocation Section 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:
ResourceAllocationSectionType

createSectionTypeAdapter

public Adapter createSectionTypeAdapter()
Creates a new adapter for an object of class 'Section 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:
SectionType

createStartupSectionTypeAdapter

public Adapter createStartupSectionTypeAdapter()
Creates a new adapter for an object of class 'Startup Section 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:
StartupSectionType

createStringMsgAdapter

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

createStringsTypeAdapter

public Adapter createStringsTypeAdapter()
Creates a new adapter for an object of class 'Strings 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:
StringsType

createVirtualDiskDescTypeAdapter

public Adapter createVirtualDiskDescTypeAdapter()
Creates a new adapter for an object of class 'Virtual Disk Desc 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:
VirtualDiskDescType

createVirtualHardwareSectionTypeAdapter

public Adapter createVirtualHardwareSectionTypeAdapter()
Creates a new adapter for an object of class 'Virtual Hardware Section 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:
VirtualHardwareSectionType

createVirtualSystemCollectionTypeAdapter

public Adapter createVirtualSystemCollectionTypeAdapter()
Creates a new adapter for an object of class 'Virtual System Collection 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:
VirtualSystemCollectionType

createVirtualSystemTypeAdapter

public Adapter createVirtualSystemTypeAdapter()
Creates a new adapter for an object of class 'Virtual System 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:
VirtualSystemType

createVSSDTypeAdapter

public Adapter createVSSDTypeAdapter()
Creates a new adapter for an object of class 'VSSD 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:
VSSDType

createLocalHostResourceAdapter

public Adapter createLocalHostResourceAdapter()
Creates a new adapter for an object of class 'Local Host Resource'. 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:
LocalHostResource

createCIMResourceAllocationSettingDataTypeAdapter

public Adapter createCIMResourceAllocationSettingDataTypeAdapter()
Creates a new adapter for an object of class 'CIM Resource Allocation 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:
CIMResourceAllocationSettingDataType

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

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