org.eclipse.emf.emfstore.internal.server.model.impl
Class ServerSpaceImpl

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.impl.ServerSpaceImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, ACDAOFacade, ACGroupDAO, ACUserDAO, DAO, ProjectDAO, ServerSpace

public class ServerSpaceImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements ServerSpace

An implementation of the model object ' Server Space'. h


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.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 void add(ACGroup group)
          Add a group.
 void add(ACUser user)
          Add a user.
 void add(ProjectHistory history)
          Add a project history.
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 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)
           
 org.eclipse.emf.common.util.EList<ACGroup> getGroups()
           
 org.eclipse.emf.common.util.EList<SessionId> getOpenSessions()
           
 org.eclipse.emf.common.util.EList<ProjectHistory> getProjects()
           
 org.eclipse.emf.common.util.EList<ACUser> getUsers()
           
 void remove(ACGroup group)
          Removes a group.
 void remove(ACUser user)
          Removes a user.
 void remove(ProjectHistory history)
          Removes a project history.
 void save()
          Make the current ServerSpace state persistent.
 void setResource(org.eclipse.emf.ecore.resource.Resource resource)
          Set the resource the ServerSpace is contained in.
 
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, 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
 

Method Detail

getGroups

public org.eclipse.emf.common.util.EList<ACGroup> getGroups()

Specified by:
getGroups in interface ACGroupDAO
Specified by:
getGroups in interface ServerSpace
Returns:
the value of the 'Groups' containment reference list.
See Also:
ModelPackage.getServerSpace_Groups()

getProjects

public org.eclipse.emf.common.util.EList<ProjectHistory> getProjects()

Specified by:
getProjects in interface ProjectDAO
Specified by:
getProjects in interface ServerSpace
Returns:
the value of the 'Projects' reference list.
See Also:
ModelPackage.getServerSpace_Projects()

getOpenSessions

public org.eclipse.emf.common.util.EList<SessionId> getOpenSessions()

Specified by:
getOpenSessions in interface ServerSpace
Returns:
the value of the 'Open Sessions' containment reference list.
See Also:
ModelPackage.getServerSpace_OpenSessions()

getUsers

public org.eclipse.emf.common.util.EList<ACUser> getUsers()

Specified by:
getUsers in interface ACUserDAO
Specified by:
getUsers in interface ServerSpace
Returns:
the value of the 'Users' containment reference list.
See Also:
ModelPackage.getServerSpace_Users()

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

eGet

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

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

eSet

public void eSet(int featureID,
                 Object newValue)

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

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset 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 org.eclipse.emf.ecore.impl.BasicEObjectImpl

save

public void save()
          throws IOException
Make the current ServerSpace state persistent.

Specified by:
save in interface DAO
Specified by:
save in interface ServerSpace
Throws:
IOException

setResource

public void setResource(org.eclipse.emf.ecore.resource.Resource resource)
Set the resource the ServerSpace is contained in.

Specified by:
setResource in interface ServerSpace
Parameters:
resource - the resource

add

public void add(ACUser user)
Add a user.

Specified by:
add in interface ACUserDAO
Parameters:
user - the user to be added
See Also:
ACUserDAO.add(org.eclipse.emf.emfstore.internal.server.model.accesscontrol.ACUser)

remove

public void remove(ACUser user)
Removes a user.

Specified by:
remove in interface ACUserDAO
Parameters:
user - the user to be removed
See Also:
ACUserDAO.remove(org.eclipse.emf.emfstore.internal.server.model.accesscontrol.ACUser)

add

public void add(ACGroup group)
Add a group.

Specified by:
add in interface ACGroupDAO
Parameters:
group - the group to be added
See Also:
ACGroupDAO.add(org.eclipse.emf.emfstore.internal.server.model.accesscontrol.ACGroup)

remove

public void remove(ACGroup group)
Removes a group.

Specified by:
remove in interface ACGroupDAO
Parameters:
group - the group to be removed
See Also:
ACGroupDAO.remove(org.eclipse.emf.emfstore.internal.server.model.accesscontrol.ACGroup)

add

public void add(ProjectHistory history)
Add a project history.

Specified by:
add in interface ProjectDAO
Parameters:
history - the history to be added
See Also:
ProjectDAO.add(org.eclipse.emf.emfstore.internal.server.model.ProjectHistory)

remove

public void remove(ProjectHistory history)
Removes a project history.

Specified by:
remove in interface ProjectDAO
Parameters:
history - the project history to be removed
See Also:
ProjectDAO.remove(org.eclipse.emf.emfstore.internal.server.model.ProjectHistory)


Copyright © 2015. All Rights Reserved.