Class UserImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.atlanmod.zoo.socialnetwork.impl.UserImpl
- All Implemented Interfaces:
User,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder,org.eclipse.emf.ecore.InternalEObject
public class UserImpl extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container implements User
An implementation of the model object 'User'.
The following features are implemented:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.DynamicNested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.ContainerNested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImplNested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList -
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.emf.common.util.EList<User>friendsThe cached value of the 'Friends' reference list.protected java.lang.StringidThe cached value of the 'Id' attribute.protected static java.lang.StringID_EDEFAULTThe default value of the 'Id' attribute.protected org.eclipse.emf.common.util.EList<Comment>likesThe cached value of the 'Likes' reference list.protected java.lang.StringnameThe cached value of the 'Name' attribute.protected static java.lang.StringNAME_EDEFAULTThe default value of the 'Name' attribute.protected org.eclipse.emf.common.util.EList<Submission>submissionsThe cached value of the 'Submissions' reference list.Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET -
Constructor Summary
Constructors Modifier Constructor Description protectedUserImpl() -
Method Summary
Modifier and Type Method Description java.lang.ObjecteGet(int featureID, boolean resolve, boolean coreType)org.eclipse.emf.common.notify.NotificationChaineInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)org.eclipse.emf.common.notify.NotificationChaineInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)booleaneIsSet(int featureID)voideSet(int featureID, java.lang.Object newValue)protected org.eclipse.emf.ecore.EClasseStaticClass()voideUnset(int featureID)org.eclipse.emf.common.util.EList<User>getFriends()java.lang.StringgetId()org.eclipse.emf.common.util.EList<Comment>getLikes()java.lang.StringgetName()org.eclipse.emf.common.util.EList<Submission>getSubmissions()voidsetId(java.lang.String newId)voidsetName(java.lang.String newName)java.lang.StringtoString()Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainerMethods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettingsMethods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValuesMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
ID_EDEFAULT
protected static final java.lang.String ID_EDEFAULTThe default value of the 'Id' attribute.- See Also:
getId()
-
id
protected java.lang.String idThe cached value of the 'Id' attribute.- See Also:
getId()
-
NAME_EDEFAULT
protected static final java.lang.String NAME_EDEFAULTThe default value of the 'Name' attribute.- See Also:
getName()
-
name
protected java.lang.String nameThe cached value of the 'Name' attribute.- See Also:
getName()
-
submissions
The cached value of the 'Submissions' reference list.- See Also:
getSubmissions()
-
likes
The cached value of the 'Likes' reference list.- See Also:
getLikes()
-
friends
The cached value of the 'Friends' reference list.- See Also:
getFriends()
-
-
Constructor Details
-
UserImpl
protected UserImpl()
-
-
Method Details
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()- Overrides:
eStaticClassin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
getId
public java.lang.String getId()- Specified by:
getIdin interfaceUser- Returns:
- the value of the 'Id' attribute.
- See Also:
User.setId(String),SocialNetworkPackage.getUser_Id()
-
setId
public void setId(java.lang.String newId)- Specified by:
setIdin interfaceUser- Parameters:
newId- the new value of the 'Id' attribute.- See Also:
User.getId()
-
getName
public java.lang.String getName()- Specified by:
getNamein interfaceUser- Returns:
- the value of the 'Name' attribute.
- See Also:
User.setName(String),SocialNetworkPackage.getUser_Name()
-
setName
public void setName(java.lang.String newName)- Specified by:
setNamein interfaceUser- Parameters:
newName- the new value of the 'Name' attribute.- See Also:
User.getName()
-
getSubmissions
- Specified by:
getSubmissionsin interfaceUser- Returns:
- the value of the 'Submissions' reference list.
- See Also:
SocialNetworkPackage.getUser_Submissions(),Submission.getSubmitter()
-
getLikes
- Specified by:
getLikesin interfaceUser- Returns:
- the value of the 'Likes' reference list.
- See Also:
SocialNetworkPackage.getUser_Likes(),Comment.getLikedBy()
-
getFriends
- Specified by:
getFriendsin interfaceUser- Returns:
- the value of the 'Friends' reference list.
- See Also:
SocialNetworkPackage.getUser_Friends()
-
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:
eInverseAddin classorg.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:
eInverseRemovein classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
public void eSet(int featureID, java.lang.Object newValue)- Specified by:
eSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID)- Specified by:
eUnsetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eUnsetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID)- Specified by:
eIsSetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eIsSetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
public java.lang.String toString()- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-