public class UsersessionImpl extends org.eclipse.emf.ecore.impl.EObjectImpl implements Usersession
The following features are implemented:
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| Modifier and Type | Method and Description |
|---|---|
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() |
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURIeAllContents, 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, eVirtualUnseteNotificationRequired, eNotifyequals, getClass, hashCode, notify, notifyAll, wait, wait, waiteAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetpublic String getUsername()
getUsername in interface UsersessionUsersession.setUsername(String),
ModelPackage.getUsersession_Username()public void setUsername(String newUsername)
setUsername in interface UsersessionnewUsername - the new value of the 'Username' attribute.Usersession.getUsername()public String getPasswordGen()
public String getPassword()
If the meaning of the 'Password' attribute isn't clear, there really should be more of a description here...
getPassword in interface UsersessionUsersession.getPassword()public void setPasswordGen(String newPassword)
public void setPassword(String newPassword)
Password' attribute.
setPassword in interface UsersessionnewPassword - the new value of the 'Password' attribute.Usersession.setPassword(java.lang.String)public SessionId getSessionIdGen()
public SessionId basicGetSessionId()
public void setSessionId(SessionId newSessionId)
setSessionId in interface UsersessionnewSessionId - the new value of the 'Session Id' reference.Usersession.getSessionId()public String getPersistentPassword()
getPersistentPassword in interface UsersessionUsersession.setPersistentPassword(String),
ModelPackage.getUsersession_PersistentPassword()public void setPersistentPasswordGen(String newPersistentPassword)
public void setPersistentPassword(String newPersistentPassword)
Persistent Password' attribute.
setPersistentPassword in interface UsersessionnewPersistentPassword - the new value of the 'Persistent Password' attribute.Usersession.setPersistentPassword(java.lang.String)public ServerInfo getServerInfo()
getServerInfo in interface UsersessionUsersession.setServerInfo(ServerInfo),
ModelPackage.getUsersession_ServerInfo()public ServerInfo basicGetServerInfo()
public void setServerInfo(ServerInfo newServerInfo)
setServerInfo in interface UsersessionnewServerInfo - the new value of the 'Server Info' reference.Usersession.getServerInfo()public boolean isSavePassword()
isSavePassword in interface UsersessionUsersession.setSavePassword(boolean),
ModelPackage.getUsersession_SavePassword()public void setSavePasswordGen(boolean newSavePassword)
public void setSavePassword(boolean newSavePassword)
Save Password' attribute.
setSavePassword in interface UsersessionnewSavePassword - the new value of the 'Save Password' attribute.Usersession.setSavePassword(boolean)public ACUser getACUser()
getACUser in interface UsersessionUsersession.setACUser(ACUser),
ModelPackage.getUsersession_ACUser()public ACUser basicGetACUser()
public org.eclipse.emf.common.notify.NotificationChain basicSetACUser(ACUser newACUser, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setACUser(ACUser newACUser)
setACUser in interface UsersessionnewACUser - the new value of the 'AC User' containment reference.Usersession.getACUser()public org.eclipse.emf.common.util.EList<OrgUnitProperty> getChangedProperties()
getChangedProperties in interface UsersessionModelPackage.getUsersession_ChangedProperties()public boolean isLoggedIn()
isLoggedIn in interface Usersessionpublic void logIn()
throws ESException,
AccessControlException
logIn in interface UsersessionAccessControlException - if login fails.ESException - if anything else fails. Usersession.logIn()public void logout()
throws ESException
logout in interface UsersessionESException - forwards any exception.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.BasicEObjectImplpublic Object eGet(int featureID, boolean resolve, boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic 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 String toString()
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic SessionId getSessionId()
If the meaning of the 'Session Id' reference isn't clear, there really should be more of a description here...
getSessionId in interface UsersessionUsersession.getSessionId()public ESUsersessionImpl toAPI()
toAPI in interface APIDelegate<ESUsersessionImpl>APIDelegate.toAPI()public ESUsersessionImpl createAPI()
createAPI in interface APIDelegate<ESUsersessionImpl>APIDelegate.createAPI()Copyright © 2017. All rights reserved.