BusinessDomainDsl.util
Class BusinessDomainDslAdapterFactory

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
      extended by BusinessDomainDsl.util.BusinessDomainDslAdapterFactory
All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory

public class BusinessDomainDslAdapterFactory
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:
BusinessDomainDslPackage

Field Summary
protected static BusinessDomainDslPackage modelPackage
          The cached model package.
protected  BusinessDomainDslSwitch<org.eclipse.emf.common.notify.Adapter> modelSwitch
          The switch that delegates to the createXXX methods.
 
Constructor Summary
BusinessDomainDslAdapterFactory()
          Creates an instance of the adapter factory.
 
Method Summary
 org.eclipse.emf.common.notify.Adapter createAbstractBusinessClassAdapter()
          Creates a new adapter for an object of class 'Abstract Business Class'.
 org.eclipse.emf.common.notify.Adapter createAbstractBusinessRuleAdapter()
          Creates a new adapter for an object of class 'Abstract Business Rule'.
 org.eclipse.emf.common.notify.Adapter createAbstractTypeAdapter()
          Creates a new adapter for an object of class 'Abstract Type'.
 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 createAssociationAdapter()
          Creates a new adapter for an object of class 'Association'.
 org.eclipse.emf.common.notify.Adapter createBlobBinaryPropertyAdapter()
          Creates a new adapter for an object of class 'Blob Binary Property'.
 org.eclipse.emf.common.notify.Adapter createBlobTextPropertyAdapter()
          Creates a new adapter for an object of class 'Blob Text Property'.
 org.eclipse.emf.common.notify.Adapter createBoolPropertyAdapter()
          Creates a new adapter for an object of class 'Bool Property'.
 org.eclipse.emf.common.notify.Adapter createBusinessClassAdapter()
          Creates a new adapter for an object of class 'Business Class'.
 org.eclipse.emf.common.notify.Adapter createBusinessClassReferenceAdapter()
          Creates a new adapter for an object of class 'Business Class Reference'.
 org.eclipse.emf.common.notify.Adapter createBusinessDomainModelAdapter()
          Creates a new adapter for an object of class 'Business Domain Model'.
 org.eclipse.emf.common.notify.Adapter createBusinessRuleAdapter()
          Creates a new adapter for an object of class 'Business Rule'.
 org.eclipse.emf.common.notify.Adapter createDateTimePropertyAdapter()
          Creates a new adapter for an object of class 'Date Time Property'.
 org.eclipse.emf.common.notify.Adapter createDecimalPropertyAdapter()
          Creates a new adapter for an object of class 'Decimal Property'.
 org.eclipse.emf.common.notify.Adapter createEnumerationAdapter()
          Creates a new adapter for an object of class 'Enumeration'.
 org.eclipse.emf.common.notify.Adapter createEnumerationLiteralAdapter()
          Creates a new adapter for an object of class 'Enumeration Literal'.
 org.eclipse.emf.common.notify.Adapter createEnumerationPropertyAdapter()
          Creates a new adapter for an object of class 'Enumeration Property'.
 org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
          Creates a new adapter for the default case.
 org.eclipse.emf.common.notify.Adapter createIntegerPropertyAdapter()
          Creates a new adapter for an object of class 'Integer Property'.
 org.eclipse.emf.common.notify.Adapter createModelElementAdapter()
          Creates a new adapter for an object of class 'Model Element'.
 org.eclipse.emf.common.notify.Adapter createPropertyAdapter()
          Creates a new adapter for an object of class 'Property'.
 org.eclipse.emf.common.notify.Adapter createStringPropertyAdapter()
          Creates a new adapter for an object of class 'String Property'.
 org.eclipse.emf.common.notify.Adapter createUniqueRuleAdapter()
          Creates a new adapter for an object of class 'Unique Rule'.
 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 BusinessDomainDslPackage modelPackage
The cached model package.


modelSwitch

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

Constructor Detail

BusinessDomainDslAdapterFactory

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

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

createBusinessDomainModelAdapter

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

createBusinessClassAdapter

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

createPropertyAdapter

public org.eclipse.emf.common.notify.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

createEnumerationAdapter

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

createEnumerationLiteralAdapter

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

createAbstractBusinessRuleAdapter

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

createBoolPropertyAdapter

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

createDateTimePropertyAdapter

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

createEnumerationPropertyAdapter

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

createIntegerPropertyAdapter

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

createStringPropertyAdapter

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

createAbstractTypeAdapter

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

createBlobBinaryPropertyAdapter

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

createBlobTextPropertyAdapter

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

createAssociationAdapter

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

createDecimalPropertyAdapter

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

createAbstractBusinessClassAdapter

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

createBusinessClassReferenceAdapter

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

createUniqueRuleAdapter

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

createBusinessRuleAdapter

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

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 © 2010 Mod4j. All Rights Reserved.