org.eclipse.emf.emfstore.internal.server.model.versioning.util
Class VersioningAdapterFactory

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
      extended by org.eclipse.emf.emfstore.internal.server.model.versioning.util.VersioningAdapterFactory
All Implemented Interfaces:
org.eclipse.emf.common.notify.AdapterFactory
Direct Known Subclasses:
VersioningItemProviderAdapterFactory

public class VersioningAdapterFactory
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:
VersioningPackage

Constructor Summary
VersioningAdapterFactory()
          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 createAncestorVersionSpecAdapter()
          Creates a new adapter for an object of class ' Ancestor Version Spec'.
 org.eclipse.emf.common.notify.Adapter createBranchInfoAdapter()
          Creates a new adapter for an object of class ' Branch Info'.
 org.eclipse.emf.common.notify.Adapter createBranchVersionSpecAdapter()
          Creates a new adapter for an object of class ' Branch Version Spec '.
 org.eclipse.emf.common.notify.Adapter createChangePackageAdapter()
          Creates a new adapter for an object of class ' Change Package'.
 org.eclipse.emf.common.notify.Adapter createDateVersionSpecAdapter()
          Creates a new adapter for an object of class ' Date Version Spec'.
 org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
          Creates a new adapter for the default case.
 org.eclipse.emf.common.notify.Adapter createHeadVersionSpecAdapter()
          Creates a new adapter for an object of class ' Head Version Spec'.
 org.eclipse.emf.common.notify.Adapter createHistoryInfoAdapter()
          Creates a new adapter for an object of class ' History Info'.
 org.eclipse.emf.common.notify.Adapter createHistoryQueryAdapter()
          Creates a new adapter for an object of class ' History Query'.
 org.eclipse.emf.common.notify.Adapter createLogMessageAdapter()
          Creates a new adapter for an object of class ' Log Message'.
 org.eclipse.emf.common.notify.Adapter createModelElementQueryAdapter()
          Creates a new adapter for an object of class ' Model Element Query '.
 org.eclipse.emf.common.notify.Adapter createPagedUpdateVersionSpecAdapter()
          Creates a new adapter for an object of class ' Paged Update Version Spec'.
 org.eclipse.emf.common.notify.Adapter createPathQueryAdapter()
          Creates a new adapter for an object of class ' Path Query'.
 org.eclipse.emf.common.notify.Adapter createPrimaryVersionSpecAdapter()
          Creates a new adapter for an object of class ' Primary Version Spec'.
 org.eclipse.emf.common.notify.Adapter createRangeQueryAdapter()
          Creates a new adapter for an object of class ' Range Query'.
 org.eclipse.emf.common.notify.Adapter createTagVersionSpecAdapter()
          Creates a new adapter for an object of class ' Tag Version Spec'.
 org.eclipse.emf.common.notify.Adapter createVersionAdapter()
          Creates a new adapter for an object of class ' Version'.
 org.eclipse.emf.common.notify.Adapter createVersionPropertyAdapter()
          Creates a new adapter for an object of class ' Version Property'.
 org.eclipse.emf.common.notify.Adapter createVersionSpecAdapter()
          Creates a new adapter for an object of class ' Version Spec'.
 boolean isFactoryForType(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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersioningAdapterFactory

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

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.

createTagVersionSpecAdapter

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

createDateVersionSpecAdapter

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

createPrimaryVersionSpecAdapter

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

createVersionSpecAdapter

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

createLogMessageAdapter

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

createChangePackageAdapter

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

createHistoryInfoAdapter

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

createHistoryQueryAdapter

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

createRangeQueryAdapter

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

createPathQueryAdapter

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

createModelElementQueryAdapter

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

createVersionAdapter

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

createHeadVersionSpecAdapter

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

createVersionPropertyAdapter

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

createBranchVersionSpecAdapter

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

createBranchInfoAdapter

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

createAncestorVersionSpecAdapter

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

createPagedUpdateVersionSpecAdapter

public org.eclipse.emf.common.notify.Adapter createPagedUpdateVersionSpecAdapter()
Creates a new adapter for an object of class ' Paged Update Version Spec'. 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:
PagedUpdateVersionSpec

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