org.mod4j.dsl.datacontract.mm.DataContractDsl.util
Class DataContractDslAdapterFactory

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
      extended by org.mod4j.dsl.datacontract.mm.DataContractDsl.util.DataContractDslAdapterFactory
All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory

public class DataContractDslAdapterFactory
extends org.eclipse.emf.common.notify.impl.AdapterFactoryImpl

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

See Also:
DataContractDslPackage

Field Summary
protected static DataContractDslPackage modelPackage
          The cached model package.
protected  DataContractDslSwitch<org.eclipse.emf.common.notify.Adapter> modelSwitch
          The switch that delegates to the createXXX methods.
 
Constructor Summary
DataContractDslAdapterFactory()
          Creates an instance of the adapter factory.
 
Method Summary
 org.eclipse.emf.common.notify.Adapter createAdapter(org.eclipse.emf.common.notify.Notifier target)
          Creates an adapter for the target.
 org.eclipse.emf.common.notify.Adapter createBusinessClassAssociationRoleReferenceAdapter()
          Creates a new adapter for an object of class 'Business Class Association Role Reference'.
 org.eclipse.emf.common.notify.Adapter createBusinessClassDtoAdapter()
          Creates a new adapter for an object of class 'Business Class Dto'.
 org.eclipse.emf.common.notify.Adapter createBusinessClassPropertyReferenceAdapter()
          Creates a new adapter for an object of class 'Business Class Property Reference'.
 org.eclipse.emf.common.notify.Adapter createCustomDtoAdapter()
          Creates a new adapter for an object of class 'Custom Dto'.
 org.eclipse.emf.common.notify.Adapter createDataContractModelAdapter()
          Creates a new adapter for an object of class 'Data Contract Model'.
 org.eclipse.emf.common.notify.Adapter createDtoAdapter()
          Creates a new adapter for an object of class 'Dto'.
 org.eclipse.emf.common.notify.Adapter createDtoAssociationRolePropertyAdapter()
          Creates a new adapter for an object of class 'Dto Association Role Property'.
 org.eclipse.emf.common.notify.Adapter createDtoBooleanPropertyAdapter()
          Creates a new adapter for an object of class 'Dto Boolean Property'.
 org.eclipse.emf.common.notify.Adapter createDtoDataPropertyAdapter()
          Creates a new adapter for an object of class 'Dto Data Property'.
 org.eclipse.emf.common.notify.Adapter createDtoDateTimePropertyAdapter()
          Creates a new adapter for an object of class 'Dto Date Time Property'.
 org.eclipse.emf.common.notify.Adapter createDtoDecimalPropertyAdapter()
          Creates a new adapter for an object of class 'Dto Decimal Property'.
 org.eclipse.emf.common.notify.Adapter createDtoEnumerationPropertyAdapter()
          Creates a new adapter for an object of class 'Dto Enumeration Property'.
 org.eclipse.emf.common.notify.Adapter createDtoIntegerPropertyAdapter()
          Creates a new adapter for an object of class 'Dto Integer Property'.
 org.eclipse.emf.common.notify.Adapter createDtoPropertyAdapter()
          Creates a new adapter for an object of class 'Dto Property'.
 org.eclipse.emf.common.notify.Adapter createDtoPropertyReferenceAdapter()
          Creates a new adapter for an object of class 'Dto Property Reference'.
 org.eclipse.emf.common.notify.Adapter createDtoStringPropertyAdapter()
          Creates a new adapter for an object of class 'Dto String Property'.
 org.eclipse.emf.common.notify.Adapter createEnumerationDtoAdapter()
          Creates a new adapter for an object of class 'Enumeration Dto'.
 org.eclipse.emf.common.notify.Adapter createEnumerationDtoLiteralAdapter()
          Creates a new adapter for an object of class 'Enumeration Dto Literal'.
 org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
          Creates a new adapter for the default case.
 org.eclipse.emf.common.notify.Adapter createExternalReferenceAdapter()
          Creates a new adapter for an object of class 'External Reference'.
 org.eclipse.emf.common.notify.Adapter createListDtoAdapter()
          Creates a new adapter for an object of class 'List Dto'.
 org.eclipse.emf.common.notify.Adapter createModelElementAdapter()
          Creates a new adapter for an object of class 'Model Element'.
 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 DataContractDslPackage modelPackage
The cached model package.


modelSwitch

protected DataContractDslSwitch<org.eclipse.emf.common.notify.Adapter> modelSwitch
The switch that delegates to the createXXX methods.

Constructor Detail

DataContractDslAdapterFactory

public DataContractDslAdapterFactory()
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 org.eclipse.emf.common.notify.AdapterFactory
Overrides:
isFactoryForType in class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
Returns:
whether this factory is applicable for the type of the object.

createAdapter

public org.eclipse.emf.common.notify.Adapter createAdapter(org.eclipse.emf.common.notify.Notifier target)
Creates an adapter for the target.

Overrides:
createAdapter in class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
Parameters:
target - the object to adapt.
Returns:
the adapter for the target.

createDataContractModelAdapter

public org.eclipse.emf.common.notify.Adapter createDataContractModelAdapter()
Creates a new adapter for an object of class 'Data Contract Model'. 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:
DataContractModel

createDtoAdapter

public org.eclipse.emf.common.notify.Adapter createDtoAdapter()
Creates a new adapter for an object of class 'Dto'. 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:
Dto

createBusinessClassDtoAdapter

public org.eclipse.emf.common.notify.Adapter createBusinessClassDtoAdapter()
Creates a new adapter for an object of class 'Business Class Dto'. 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:
BusinessClassDto

createListDtoAdapter

public org.eclipse.emf.common.notify.Adapter createListDtoAdapter()
Creates a new adapter for an object of class 'List Dto'. 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:
ListDto

createDtoPropertyAdapter

public org.eclipse.emf.common.notify.Adapter createDtoPropertyAdapter()
Creates a new adapter for an object of class 'Dto 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:
DtoProperty

createDtoPropertyReferenceAdapter

public org.eclipse.emf.common.notify.Adapter createDtoPropertyReferenceAdapter()
Creates a new adapter for an object of class 'Dto Property 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:
DtoPropertyReference

createDtoDataPropertyAdapter

public org.eclipse.emf.common.notify.Adapter createDtoDataPropertyAdapter()
Creates a new adapter for an object of class 'Dto Data 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:
DtoDataProperty

createDtoStringPropertyAdapter

public org.eclipse.emf.common.notify.Adapter createDtoStringPropertyAdapter()
Creates a new adapter for an object of class 'Dto String 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:
DtoStringProperty

createDtoBooleanPropertyAdapter

public org.eclipse.emf.common.notify.Adapter createDtoBooleanPropertyAdapter()
Creates a new adapter for an object of class 'Dto Boolean 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:
DtoBooleanProperty

createEnumerationDtoAdapter

public org.eclipse.emf.common.notify.Adapter createEnumerationDtoAdapter()
Creates a new adapter for an object of class 'Enumeration Dto'. 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:
EnumerationDto

createEnumerationDtoLiteralAdapter

public org.eclipse.emf.common.notify.Adapter createEnumerationDtoLiteralAdapter()
Creates a new adapter for an object of class 'Enumeration Dto Literal'. 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:
EnumerationDtoLiteral

createModelElementAdapter

public org.eclipse.emf.common.notify.Adapter createModelElementAdapter()
Creates a new adapter for an object of class 'Model Element'. 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:
ModelElement

createCustomDtoAdapter

public org.eclipse.emf.common.notify.Adapter createCustomDtoAdapter()
Creates a new adapter for an object of class 'Custom Dto'. 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:
CustomDto

createDtoIntegerPropertyAdapter

public org.eclipse.emf.common.notify.Adapter createDtoIntegerPropertyAdapter()
Creates a new adapter for an object of class 'Dto Integer 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:
DtoIntegerProperty

createDtoDecimalPropertyAdapter

public org.eclipse.emf.common.notify.Adapter createDtoDecimalPropertyAdapter()
Creates a new adapter for an object of class 'Dto Decimal 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:
DtoDecimalProperty

createDtoEnumerationPropertyAdapter

public org.eclipse.emf.common.notify.Adapter createDtoEnumerationPropertyAdapter()
Creates a new adapter for an object of class 'Dto Enumeration 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:
DtoEnumerationProperty

createDtoDateTimePropertyAdapter

public org.eclipse.emf.common.notify.Adapter createDtoDateTimePropertyAdapter()
Creates a new adapter for an object of class 'Dto Date Time 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:
DtoDateTimeProperty

createBusinessClassPropertyReferenceAdapter

public org.eclipse.emf.common.notify.Adapter createBusinessClassPropertyReferenceAdapter()
Creates a new adapter for an object of class 'Business Class Property 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:
BusinessClassPropertyReference

createBusinessClassAssociationRoleReferenceAdapter

public org.eclipse.emf.common.notify.Adapter createBusinessClassAssociationRoleReferenceAdapter()
Creates a new adapter for an object of class 'Business Class Association Role 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:
BusinessClassAssociationRoleReference

createDtoAssociationRolePropertyAdapter

public org.eclipse.emf.common.notify.Adapter createDtoAssociationRolePropertyAdapter()
Creates a new adapter for an object of class 'Dto Association Role 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:
DtoAssociationRoleProperty

createExternalReferenceAdapter

public org.eclipse.emf.common.notify.Adapter createExternalReferenceAdapter()
Creates a new adapter for an object of class 'External 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:
ExternalReference

createEObjectAdapter

public org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
Creates a new adapter for the default case. This default implementation returns null.

Returns:
the new adapter.


Copyright © 2009 Mod4j. All Rights Reserved.