org.eclipse.emf.emfstore.internal.client.model.impl
Class ProjectSpaceImpl

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.common.model.impl.IdentifiableElementImpl
                  extended by org.eclipse.emf.emfstore.internal.client.model.impl.ProjectSpaceBase
                      extended by org.eclipse.emf.emfstore.internal.client.model.impl.ProjectSpaceImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, ESLoginObserver, ESObserver, ProjectSpace, APIDelegate<ESLocalProjectImpl>, ESDisposable, IdentifiableElement

public class ProjectSpaceImpl
extends ProjectSpaceBase

An implementation of the model object ' Project Container'.

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.client.model.ProjectSpace
RUNNABLE_CONTEXT_ID
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 PrimaryVersionSpec basicGetBaseVersion()
           
 ChangePackage basicGetLocalChangePackage()
           
 PrimaryVersionSpec basicGetMergedVersion()
           
 Project basicGetProject()
           
 ProjectId basicGetProjectId()
           
 Usersession basicGetUsersession()
           
 Workspace basicGetWorkspace()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetBaseVersion(PrimaryVersionSpec newBaseVersion, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetLocalChangePackage(ChangePackage newLocalChangePackage, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetMergedVersion(PrimaryVersionSpec newMergedVersion, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetProject(Project newProject, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetProjectId(ProjectId newProjectId, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetWorkspace(Workspace newWorkspace, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(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)
           
 PrimaryVersionSpec getBaseVersion()
           
 org.eclipse.emf.common.util.EList<EMFStoreProperty> getChangedSharedProperties()
           
 Date getLastUpdated()
           
 ChangePackage getLocalChangePackage()
           
 PrimaryVersionSpec getMergedVersion()
           
 org.eclipse.emf.common.util.EList<String> getOldLogMessages()
           
 Project getProject()
           
 String getProjectDescription()
           
 ProjectId getProjectId()
           
 String getProjectName()
           
 org.eclipse.emf.common.util.EList<EMFStoreProperty> getProperties()
           
 int getResourceCount()
           
 Usersession getUsersession()
           
 org.eclipse.emf.common.util.EList<FileIdentifier> getWaitingUploads()
           
 Workspace getWorkspace()
           
 boolean isDirty()
           
 void setBaseVersion(PrimaryVersionSpec newBaseVersion)
           
 void setDirty(boolean newDirty)
           
 void setLastUpdated(Date newLastUpdated)
           
 void setLocalChangePackage(ChangePackage newLocalChangePackage)
           
 void setMergedVersion(PrimaryVersionSpec newMergedVersion)
           
 void setProject(Project newProject)
           
 void setProjectDescription(String newProjectDescription)
           
 void setProjectId(ProjectId newProjectId)
           
 void setProjectName(String newProjectName)
           
 void setResourceCount(int newResourceCount)
           
 void setUsersession(Usersession newUsersession)
           
 void setWorkspace(Workspace newWorkspace)
           
 String toString()
           
 
Methods inherited from class org.eclipse.emf.emfstore.internal.client.model.impl.ProjectSpaceBase
addFile, addFile, addOperations, addTag, applyChanges, applyOperations, applyOperationsWithRerecording, beginCompositeOperation, cleanCutElements, commit, commit, commitToBranch, createAPI, delete, dispose, executeRunnable, exportLocalChanges, exportLocalChanges, exportProject, exportProject, findInverseCrossReferences, getBranches, getChanges, getFile, getFileInfo, getFileTransferManager, getLocalChangePackage, getNotificationRecorder, getOperationManager, getOperations, getProjectInfo, getPropertyManager, getResourceSet, getRunnableContext, hasUnsavedChanges, importLocalChanges, init, initResources, isShared, isTransient, isUpdated, loginCompleted, makeTransient, mergeBranch, mergeResolvedConflicts, removeTag, resolve, resolveVersionSpec, revert, save, saveProjectSpaceOnly, saveResource, setProperty, setResourceSet, setRunnableContext, shareProject, shareProject, startChangeRecording, stopChangeRecording, toAPI, transmitProperties, undoLastOperation, undoLastOperations, update, update, update, updateDirtyState
 
Methods inherited from class org.eclipse.emf.emfstore.internal.common.model.impl.IdentifiableElementImpl
getIdentifier, setIdentifier
 
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, 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
 
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.emfstore.internal.common.model.IdentifiableElement
getIdentifier, setIdentifier
 
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

basicGetBaseVersion

public PrimaryVersionSpec basicGetBaseVersion()


basicGetProject

public Project basicGetProject()


basicGetProjectId

public ProjectId basicGetProjectId()


basicGetUsersession

public Usersession basicGetUsersession()


basicGetWorkspace

public Workspace basicGetWorkspace()


basicSetBaseVersion

public org.eclipse.emf.common.notify.NotificationChain basicSetBaseVersion(PrimaryVersionSpec newBaseVersion,
                                                                           org.eclipse.emf.common.notify.NotificationChain msgs)


basicSetProject

public org.eclipse.emf.common.notify.NotificationChain basicSetProject(Project newProject,
                                                                       org.eclipse.emf.common.notify.NotificationChain msgs)


basicSetProjectId

public org.eclipse.emf.common.notify.NotificationChain basicSetProjectId(ProjectId newProjectId,
                                                                         org.eclipse.emf.common.notify.NotificationChain msgs)


basicSetWorkspace

public org.eclipse.emf.common.notify.NotificationChain basicSetWorkspace(Workspace newWorkspace,
                                                                         org.eclipse.emf.common.notify.NotificationChain msgs)


eBasicRemoveFromContainerFeature

public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eBasicRemoveFromContainerFeature in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eGet

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

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

eInverseAdd

public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                   int featureID,
                                                                   org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseAdd in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eIsSet

public boolean eIsSet(int featureID)

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

eSet

public void eSet(int featureID,
                 Object newValue)

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

eUnset

public void eUnset(int featureID)

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

getBaseVersion

public PrimaryVersionSpec getBaseVersion()

Returns:
the value of the 'Base Version' containment reference.
See Also:
ProjectSpace.setBaseVersion(PrimaryVersionSpec), ModelPackage.getProjectSpace_BaseVersion()

getChangedSharedProperties

public org.eclipse.emf.common.util.EList<EMFStoreProperty> getChangedSharedProperties()

Returns:
the value of the 'Changed Shared Properties' reference list.
See Also:
ModelPackage.getProjectSpace_ChangedSharedProperties()

getLastUpdated

public Date getLastUpdated()

Returns:
the value of the 'Last Updated' attribute.
See Also:
ProjectSpace.setLastUpdated(Date), ModelPackage.getProjectSpace_LastUpdated()

getOldLogMessages

public org.eclipse.emf.common.util.EList<String> getOldLogMessages()

Returns:
the value of the 'Old Log Messages' attribute list.
See Also:
ModelPackage.getProjectSpace_OldLogMessages()

getProject

public Project getProject()

Returns:
the value of the 'Project' containment reference.
See Also:
ProjectSpace.setProject(Project), ModelPackage.getProjectSpace_Project()

getProjectDescription

public String getProjectDescription()

Returns:
the value of the 'Project Description' attribute.
See Also:
ProjectSpace.setProjectDescription(String), ModelPackage.getProjectSpace_ProjectDescription()

getProjectId

public ProjectId getProjectId()

Returns:
the value of the 'Project Id' containment reference.
See Also:
ProjectSpace.setProjectId(ProjectId), ModelPackage.getProjectSpace_ProjectId()

getProjectName

public String getProjectName()

Returns:
the value of the 'Project Name' attribute.
See Also:
ProjectSpace.setProjectName(String), ModelPackage.getProjectSpace_ProjectName()

getProperties

public org.eclipse.emf.common.util.EList<EMFStoreProperty> getProperties()

Returns:
the value of the 'Properties' containment reference list.
See Also:
ModelPackage.getProjectSpace_Properties()

getResourceCount

public int getResourceCount()

Returns:
the value of the 'Resource Count' attribute.
See Also:
ProjectSpace.setResourceCount(int), ModelPackage.getProjectSpace_ResourceCount()

getUsersession

public Usersession getUsersession()

Returns:
the value of the 'Usersession' reference.
See Also:
ProjectSpace.setUsersession(Usersession), ModelPackage.getProjectSpace_Usersession()

getWaitingUploads

public org.eclipse.emf.common.util.EList<FileIdentifier> getWaitingUploads()

Returns:
the value of the 'Waiting Uploads' containment reference list.
See Also:
ModelPackage.getProjectSpace_WaitingUploads()

getWorkspace

public Workspace getWorkspace()

Returns:
the value of the 'Workspace' container reference.
See Also:
ProjectSpace.setWorkspace(Workspace), ModelPackage.getProjectSpace_Workspace(), Workspace.getProjectSpaces()

isDirty

public boolean isDirty()

Returns:
the value of the 'Dirty' attribute.
See Also:
ProjectSpace.setDirty(boolean), ModelPackage.getProjectSpace_Dirty()

setBaseVersion

public void setBaseVersion(PrimaryVersionSpec newBaseVersion)

Parameters:
newBaseVersion - the new value of the 'Base Version' containment reference.
See Also:
ProjectSpace.getBaseVersion()

setDirty

public void setDirty(boolean newDirty)

Parameters:
newDirty - the new value of the 'Dirty' attribute.
See Also:
ProjectSpace.isDirty()

setLastUpdated

public void setLastUpdated(Date newLastUpdated)

Parameters:
newLastUpdated - the new value of the 'Last Updated' attribute.
See Also:
ProjectSpace.getLastUpdated()

setProject

public void setProject(Project newProject)

Parameters:
newProject - the new value of the 'Project' containment reference.
See Also:
ProjectSpace.getProject()

setProjectDescription

public void setProjectDescription(String newProjectDescription)

Parameters:
newProjectDescription - the new value of the 'Project Description' attribute.
See Also:
ProjectSpace.getProjectDescription()

setProjectId

public void setProjectId(ProjectId newProjectId)

Parameters:
newProjectId - the new value of the 'Project Id' containment reference.
See Also:
ProjectSpace.getProjectId()

setProjectName

public void setProjectName(String newProjectName)

Parameters:
newProjectName - the new value of the 'Project Name' attribute.
See Also:
ProjectSpace.getProjectName()

setResourceCount

public void setResourceCount(int newResourceCount)

Parameters:
newResourceCount - the new value of the 'Resource Count' attribute.
See Also:
ProjectSpace.getResourceCount()

setUsersession

public void setUsersession(Usersession newUsersession)

Parameters:
newUsersession - the new value of the 'Usersession' reference.
See Also:
ProjectSpace.getUsersession()

setWorkspace

public void setWorkspace(Workspace newWorkspace)

Parameters:
newWorkspace - the new value of the 'Workspace' container reference.
See Also:
ProjectSpace.getWorkspace()

getLocalChangePackage

public ChangePackage getLocalChangePackage()

Returns:
the value of the 'Local Change Package' containment reference.
See Also:
ProjectSpace.setLocalChangePackage(ChangePackage), ModelPackage.getProjectSpace_LocalChangePackage()

basicGetLocalChangePackage

public ChangePackage basicGetLocalChangePackage()


basicSetLocalChangePackage

public org.eclipse.emf.common.notify.NotificationChain basicSetLocalChangePackage(ChangePackage newLocalChangePackage,
                                                                                  org.eclipse.emf.common.notify.NotificationChain msgs)


setLocalChangePackage

public void setLocalChangePackage(ChangePackage newLocalChangePackage)

Parameters:
newLocalChangePackage - the new value of the 'Local Change Package' containment reference.
See Also:
ProjectSpace.getLocalChangePackage()

getMergedVersion

public PrimaryVersionSpec getMergedVersion()

Returns:
the value of the 'Merged Version' containment reference.
See Also:
ProjectSpace.setMergedVersion(PrimaryVersionSpec), ModelPackage.getProjectSpace_MergedVersion()

basicGetMergedVersion

public PrimaryVersionSpec basicGetMergedVersion()


basicSetMergedVersion

public org.eclipse.emf.common.notify.NotificationChain basicSetMergedVersion(PrimaryVersionSpec newMergedVersion,
                                                                             org.eclipse.emf.common.notify.NotificationChain msgs)


setMergedVersion

public void setMergedVersion(PrimaryVersionSpec newMergedVersion)

Parameters:
newMergedVersion - the new value of the 'Merged Version' containment reference.
See Also:
ProjectSpace.getMergedVersion()

toString

public String toString()

Overrides:
toString in class IdentifiableElementImpl


Copyright © 2015. All Rights Reserved.