org.eclipse.emf.emfstore.internal.server.model.versioning.impl
Class PrimaryVersionSpecImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.emf.emfstore.internal.server.model.versioning.impl.VersionSpecImpl
                  extended by org.eclipse.emf.emfstore.internal.server.model.versioning.impl.PrimaryVersionSpecImpl
All Implemented Interfaces:
Comparable<PrimaryVersionSpec>, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, APIDelegate<ESPrimaryVersionSpec>, PrimaryVersionSpec, VersionSpec

public class PrimaryVersionSpecImpl
extends VersionSpecImpl
implements PrimaryVersionSpec

An implementation of the model object ' Primary Version Spec'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.emf.emfstore.internal.server.model.versioning.VersionSpec
BRANCH_DEFAULT_NAME, GLOBAL, HEAD_VERSION
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 int compareTo(PrimaryVersionSpec o)
          
 ESPrimaryVersionSpecImpl createAPI()
          Creates the API interface for this class.
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 boolean equals(Object object)
          
 void eSet(int featureID, Object newValue)
           
 void eUnset(int featureID)
           
 int getIdentifier()
           
 long getProjectStateChecksum()
           
 int hashCode()
          
 void setIdentifier(int newIdentifier)
           
 void setProjectStateChecksum(long newProjectStateChecksum)
           
 ESPrimaryVersionSpecImpl toAPI()
          Returns the API interface of this class.
 String toString()
           
 
Methods inherited from class org.eclipse.emf.emfstore.internal.server.model.versioning.impl.VersionSpecImpl
getBranch, setBranch
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.emfstore.internal.server.model.versioning.VersionSpec
getBranch, setBranch
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Method Detail

getIdentifier

public int getIdentifier()

Specified by:
getIdentifier in interface PrimaryVersionSpec
Returns:
the value of the 'Identifier' attribute.
See Also:
PrimaryVersionSpec.setIdentifier(int), VersioningPackage.getPrimaryVersionSpec_Identifier()

setIdentifier

public void setIdentifier(int newIdentifier)

Specified by:
setIdentifier in interface PrimaryVersionSpec
Parameters:
newIdentifier - the new value of the 'Identifier' attribute.
See Also:
PrimaryVersionSpec.getIdentifier()

getProjectStateChecksum

public long getProjectStateChecksum()

Specified by:
getProjectStateChecksum in interface PrimaryVersionSpec
Returns:
the value of the 'Project State Checksum' attribute.
See Also:
PrimaryVersionSpec.setProjectStateChecksum(long), VersioningPackage.getPrimaryVersionSpec_ProjectStateChecksum()

setProjectStateChecksum

public void setProjectStateChecksum(long newProjectStateChecksum)

Specified by:
setProjectStateChecksum in interface PrimaryVersionSpec
Parameters:
newProjectStateChecksum - the new value of the 'Project State Checksum' attribute.
See Also:
PrimaryVersionSpec.getProjectStateChecksum()

eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class VersionSpecImpl

eSet

public void eSet(int featureID,
                 Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class VersionSpecImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class VersionSpecImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class VersionSpecImpl

toString

public String toString()

Overrides:
toString in class VersionSpecImpl

equals

public boolean equals(Object object)

Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()

Overrides:
hashCode in class Object
See Also:
Object.hashCode()

compareTo

public int compareTo(PrimaryVersionSpec o)

Specified by:
compareTo in interface Comparable<PrimaryVersionSpec>
See Also:
Comparable.compareTo(java.lang.Object)

toAPI

public ESPrimaryVersionSpecImpl toAPI()
Returns the API interface of this class.

Specified by:
toAPI in interface APIDelegate<ESPrimaryVersionSpec>
Returns:
the API interface of this class
See Also:
APIDelegate.toAPI()

createAPI

public ESPrimaryVersionSpecImpl createAPI()
Creates the API interface for this class.

Specified by:
createAPI in interface APIDelegate<ESPrimaryVersionSpec>
Returns:
the API interface of this class
See Also:
APIDelegate.createAPI()


Copyright © 2015. All Rights Reserved.