|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.emf.emfstore.internal.server.model.versioning.impl.VersionImpl
public class VersionImpl
An implementation of the model object ' Version'.
The following features are implemented:
Primary Spec
Tag Specs
Next Version
Previous
VersionLog Message
Ancestor
Version
Branched VersionsMerged
To VersionMerged
From Version
| 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 | |
|---|---|
static String |
CHANGEPACKAGES_SEGMENT
The EMFStore URI segment for a changepackage. |
static String |
FILE_EXTENSION_CHANGEPACKAGE
File extension for main file: emfstore change package. |
static String |
FILE_EXTENSION_PROJECTSTATE
File extension for main file: emfstore project state. |
static String |
FILE_PREFIX_CHANGEPACKAGE
File prefix for file: changepackage. |
static String |
FILE_PREFIX_PROJECTSTATE
File prefix for file: projectstate. |
static String |
PROJECTSTATES_SEGMENT
The EMFStore URI segment for a projectstate. |
| Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
ELAST_EOBJECT_FLAG |
| Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
EOPPOSITE_FEATURE_BASE |
| Method Summary | |
|---|---|
Version |
basicGetAncestorVersion()
|
LogMessage |
basicGetLogMessage()
|
Version |
basicGetNextVersion()
|
Version |
basicGetPreviousVersion()
|
PrimaryVersionSpec |
basicGetPrimarySpec()
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetAncestorVersion(Version newAncestorVersion,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetLogMessage(LogMessage newLogMessage,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetNextVersion(Version newNextVersion,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetPreviousVersion(Version newPreviousVersion,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetPrimarySpec(PrimaryVersionSpec newPrimarySpec,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
org.eclipse.emf.common.notify.NotificationChain |
eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
Object newValue)
|
void |
eUnset(int featureID)
|
Version |
getAncestorVersion()
|
org.eclipse.emf.common.util.EList<Version> |
getBranchedVersions()
|
ChangePackage |
getChanges()
Allows to retrieve the ChangePackage associated with this version. |
LogMessage |
getLogMessage()
|
org.eclipse.emf.common.util.EList<Version> |
getMergedFromVersion()
|
org.eclipse.emf.common.util.EList<Version> |
getMergedToVersion()
|
Version |
getNextVersion()
|
Version |
getPreviousVersion()
|
PrimaryVersionSpec |
getPrimarySpec()
|
Project |
getProjectState()
Allows to retrieve the project state associated with this version. |
org.eclipse.emf.common.util.EList<TagVersionSpec> |
getTagSpecs()
|
void |
setAncestorVersion(Version newAncestorVersion)
|
void |
setChangeResource(org.eclipse.emf.ecore.resource.Resource resource)
Allows for setting the resource containing the changePackage the getChanges()-method is to return. |
void |
setLogMessage(LogMessage newLogMessage)
|
void |
setNextVersion(Version newNextVersion)
|
void |
setPreviousVersion(Version newPreviousVersion)
|
void |
setPrimarySpec(PrimaryVersionSpec newPrimarySpec)
|
void |
setProjectStateResource(org.eclipse.emf.ecore.resource.Resource resource)
Allows for setting the resource containing the project state the getProjectState()-method is to return. |
| 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, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset, toString |
| Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
eNotificationRequired, eNotify |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 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 |
| Field Detail |
|---|
public static final String FILE_EXTENSION_PROJECTSTATE
public static final String FILE_EXTENSION_CHANGEPACKAGE
public static final String FILE_PREFIX_CHANGEPACKAGE
public static final String FILE_PREFIX_PROJECTSTATE
public static final String CHANGEPACKAGES_SEGMENT
public static final String PROJECTSTATES_SEGMENT
| Method Detail |
|---|
public PrimaryVersionSpec getPrimarySpec()
getPrimarySpec in interface VersionVersion.setPrimarySpec(PrimaryVersionSpec),
VersioningPackage.getVersion_PrimarySpec()public PrimaryVersionSpec basicGetPrimarySpec()
public org.eclipse.emf.common.notify.NotificationChain basicSetPrimarySpec(PrimaryVersionSpec newPrimarySpec,
org.eclipse.emf.common.notify.NotificationChain msgs)
public void setPrimarySpec(PrimaryVersionSpec newPrimarySpec)
setPrimarySpec in interface VersionnewPrimarySpec - the new value of the 'Primary Spec' containment reference.Version.getPrimarySpec()public org.eclipse.emf.common.util.EList<TagVersionSpec> getTagSpecs()
getTagSpecs in interface VersionVersioningPackage.getVersion_TagSpecs()public Version getNextVersion()
getNextVersion in interface VersionVersion.setNextVersion(Version),
VersioningPackage.getVersion_NextVersion(),
Version.getPreviousVersion()public Version basicGetNextVersion()
public org.eclipse.emf.common.notify.NotificationChain basicSetNextVersion(Version newNextVersion,
org.eclipse.emf.common.notify.NotificationChain msgs)
public void setNextVersion(Version newNextVersion)
setNextVersion in interface VersionnewNextVersion - the new value of the 'Next Version' reference.Version.getNextVersion()public Version getPreviousVersion()
getPreviousVersion in interface VersionVersion.setPreviousVersion(Version),
VersioningPackage.getVersion_PreviousVersion(),
Version.getNextVersion()public Version basicGetPreviousVersion()
public org.eclipse.emf.common.notify.NotificationChain basicSetPreviousVersion(Version newPreviousVersion,
org.eclipse.emf.common.notify.NotificationChain msgs)
public void setPreviousVersion(Version newPreviousVersion)
setPreviousVersion in interface VersionnewPreviousVersion - the new value of the 'Previous Version' reference.Version.getPreviousVersion()public LogMessage getLogMessage()
getLogMessage in interface VersionVersion.setLogMessage(LogMessage),
VersioningPackage.getVersion_LogMessage()public LogMessage basicGetLogMessage()
public org.eclipse.emf.common.notify.NotificationChain basicSetLogMessage(LogMessage newLogMessage,
org.eclipse.emf.common.notify.NotificationChain msgs)
public void setLogMessage(LogMessage newLogMessage)
setLogMessage in interface VersionnewLogMessage - the new value of the 'Log Message' containment reference.Version.getLogMessage()public Version getAncestorVersion()
getAncestorVersion in interface VersionVersion.setAncestorVersion(Version),
VersioningPackage.getVersion_AncestorVersion(),
Version.getBranchedVersions()public Version basicGetAncestorVersion()
public org.eclipse.emf.common.notify.NotificationChain basicSetAncestorVersion(Version newAncestorVersion,
org.eclipse.emf.common.notify.NotificationChain msgs)
public void setAncestorVersion(Version newAncestorVersion)
setAncestorVersion in interface VersionnewAncestorVersion - the new value of the 'Ancestor Version' reference.Version.getAncestorVersion()public org.eclipse.emf.common.util.EList<Version> getBranchedVersions()
getBranchedVersions in interface VersionVersioningPackage.getVersion_BranchedVersions(),
Version.getAncestorVersion()public org.eclipse.emf.common.util.EList<Version> getMergedToVersion()
getMergedToVersion in interface VersionVersioningPackage.getVersion_MergedToVersion(),
Version.getMergedFromVersion()public org.eclipse.emf.common.util.EList<Version> getMergedFromVersion()
getMergedFromVersion in interface VersionVersioningPackage.getVersion_MergedFromVersion(),
Version.getMergedToVersion()
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseAdd in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eSet(int featureID,
Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic Project getProjectState()
Version
getProjectState in interface Versionpublic ChangePackage getChanges()
Version
getChanges in interface Versionpublic void setChangeResource(org.eclipse.emf.ecore.resource.Resource resource)
Version
setChangeResource in interface Versionresource - the new change resourcepublic void setProjectStateResource(org.eclipse.emf.ecore.resource.Resource resource)
Version
setProjectStateResource in interface Versionresource - the new project state resource
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||