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

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.client.model.impl.UsersessionImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, Usersession, APIDelegate<ESUsersessionImpl>

public class UsersessionImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements Usersession

An implementation of the model object ' Usersession'.

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.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 ACUser basicGetACUser()
           
 ServerInfo basicGetServerInfo()
           
 SessionId basicGetSessionId()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetACUser(ACUser newACUser, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 ESUsersessionImpl createAPI()
          Creates the API interface for this class.
 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)
           
 ACUser getACUser()
           
 org.eclipse.emf.common.util.EList<OrgUnitProperty> getChangedProperties()
           
 String getPassword()
          Returns the value of the 'Password' attribute.
 String getPasswordGen()
           
 String getPersistentPassword()
           
 ServerInfo getServerInfo()
           
 SessionId getSessionId()
          Returns the value of the 'Session Id' reference.
 SessionId getSessionIdGen()
           
 String getUsername()
           
 boolean isLoggedIn()
          Return whether session is logged in.
 boolean isSavePassword()
           
 void logIn()
          Log in.
 void logout()
          Sends a logout call to the server.
 void setACUser(ACUser newACUser)
           
 void setPassword(String newPassword)
          Sets the value of the 'Password' attribute.
 void setPasswordGen(String newPassword)
           
 void setPersistentPassword(String newPersistentPassword)
          Sets the value of the 'Persistent Password' attribute.
 void setPersistentPasswordGen(String newPersistentPassword)
           
 void setSavePassword(boolean newSavePassword)
          Sets the value of the 'Save Password' attribute.
 void setSavePasswordGen(boolean newSavePassword)
           
 void setServerInfo(ServerInfo newServerInfo)
           
 void setSessionId(SessionId newSessionId)
           
 void setUsername(String newUsername)
           
 ESUsersessionImpl toAPI()
          Returns the API interface of this class.
 String toString()
          
 
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
 
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

getUsername

public String getUsername()

Specified by:
getUsername in interface Usersession
Returns:
the value of the 'Username' attribute.
See Also:
Usersession.setUsername(String), ModelPackage.getUsersession_Username()

setUsername

public void setUsername(String newUsername)

Specified by:
setUsername in interface Usersession
Parameters:
newUsername - the new value of the 'Username' attribute.
See Also:
Usersession.getUsername()

getPasswordGen

public String getPasswordGen()


getPassword

public String getPassword()
Returns the value of the 'Password' attribute.

If the meaning of the 'Password' attribute isn't clear, there really should be more of a description here...

Specified by:
getPassword in interface Usersession
Returns:
the value of the 'Password' attribute.
See Also:
Usersession.getPassword()

setPasswordGen

public void setPasswordGen(String newPassword)


setPassword

public void setPassword(String newPassword)
Sets the value of the 'Password' attribute.

Specified by:
setPassword in interface Usersession
Parameters:
newPassword - the new value of the 'Password' attribute.
See Also:
Usersession.setPassword(java.lang.String)

getSessionIdGen

public SessionId getSessionIdGen()


basicGetSessionId

public SessionId basicGetSessionId()


setSessionId

public void setSessionId(SessionId newSessionId)

Specified by:
setSessionId in interface Usersession
Parameters:
newSessionId - the new value of the 'Session Id' reference.
See Also:
Usersession.getSessionId()

getPersistentPassword

public String getPersistentPassword()

Specified by:
getPersistentPassword in interface Usersession
Returns:
the value of the 'Persistent Password' attribute.
See Also:
Usersession.setPersistentPassword(String), ModelPackage.getUsersession_PersistentPassword()

setPersistentPasswordGen

public void setPersistentPasswordGen(String newPersistentPassword)


setPersistentPassword

public void setPersistentPassword(String newPersistentPassword)
Sets the value of the 'Persistent Password' attribute.

Specified by:
setPersistentPassword in interface Usersession
Parameters:
newPersistentPassword - the new value of the 'Persistent Password' attribute.
See Also:
Usersession.setPersistentPassword(java.lang.String)

getServerInfo

public ServerInfo getServerInfo()

Specified by:
getServerInfo in interface Usersession
Returns:
the value of the 'Server Info' reference.
See Also:
Usersession.setServerInfo(ServerInfo), ModelPackage.getUsersession_ServerInfo()

basicGetServerInfo

public ServerInfo basicGetServerInfo()


setServerInfo

public void setServerInfo(ServerInfo newServerInfo)

Specified by:
setServerInfo in interface Usersession
Parameters:
newServerInfo - the new value of the 'Server Info' reference.
See Also:
Usersession.getServerInfo()

isSavePassword

public boolean isSavePassword()

Specified by:
isSavePassword in interface Usersession
Returns:
the value of the 'Save Password' attribute.
See Also:
Usersession.setSavePassword(boolean), ModelPackage.getUsersession_SavePassword()

setSavePasswordGen

public void setSavePasswordGen(boolean newSavePassword)


setSavePassword

public void setSavePassword(boolean newSavePassword)
Sets the value of the 'Save Password' attribute.

Specified by:
setSavePassword in interface Usersession
Parameters:
newSavePassword - the new value of the 'Save Password' attribute.
See Also:
Usersession.setSavePassword(boolean)

getACUser

public ACUser getACUser()

Specified by:
getACUser in interface Usersession
Returns:
the value of the 'AC User' containment reference.
See Also:
Usersession.setACUser(ACUser), ModelPackage.getUsersession_ACUser()

basicGetACUser

public ACUser basicGetACUser()


basicSetACUser

public org.eclipse.emf.common.notify.NotificationChain basicSetACUser(ACUser newACUser,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)


setACUser

public void setACUser(ACUser newACUser)

Specified by:
setACUser in interface Usersession
Parameters:
newACUser - the new value of the 'AC User' containment reference.
See Also:
Usersession.getACUser()

getChangedProperties

public org.eclipse.emf.common.util.EList<OrgUnitProperty> getChangedProperties()

Specified by:
getChangedProperties in interface Usersession
Returns:
the value of the 'Changed Properties' containment reference list.
See Also:
ModelPackage.getUsersession_ChangedProperties()

isLoggedIn

public boolean isLoggedIn()
Return whether session is logged in.

Specified by:
isLoggedIn in interface Usersession
Returns:
true if session is logged in

logIn

public void logIn()
           throws ESException,
                  AccessControlException
Log in.

Specified by:
logIn in interface Usersession
Throws:
AccessControlException - if login fails.
ESException - if anything else fails.
See Also:
Usersession.logIn()

logout

public void logout()
            throws ESException
Sends a logout call to the server.

Specified by:
logout in interface Usersession
Throws:
ESException - forwards any exception.

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

toString

public String toString()

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

getSessionId

public SessionId getSessionId()
Returns the value of the 'Session Id' reference.

If the meaning of the 'Session Id' reference isn't clear, there really should be more of a description here...

Specified by:
getSessionId in interface Usersession
Returns:
the value of the 'Session Id' reference.
See Also:
Usersession.getSessionId()

toAPI

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

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

createAPI

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

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


Copyright © 2015. All Rights Reserved.