Class UserImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.atlanmod.DefaultSerializableEObject
org.atlanmod.zoo.socialnetwork.impl.UserImpl
- All Implemented Interfaces:
Serializable,SerializableEObject,User,org.eclipse.emf.common.notify.Notifier,org.eclipse.emf.ecore.EObject,org.eclipse.emf.ecore.InternalEObject
public class UserImpl extends DefaultSerializableEObject implements User
An implementation of the model object 'User'.
The following features are implemented:
- See Also:
- Serialized Form
-
Nested Class Summary
Nested 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 Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterListNested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore -
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 StringidThe cached value of the 'Id' attribute.protected static 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 StringnameThe cached value of the 'Name' attribute.protected static 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.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXYFields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETFields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE -
Constructor Summary
Constructors Modifier Constructor Description protectedUserImpl() -
Method Summary
Modifier and Type Method Description 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, Object newValue)protected org.eclipse.emf.ecore.EClasseStaticClass()voideUnset(int featureID)org.eclipse.emf.common.util.EList<User>getFriends()StringgetId()org.eclipse.emf.common.util.EList<Comment>getLikes()StringgetName()org.eclipse.emf.common.util.EList<Submission>getSubmissions()voidsetId(String newId)voidsetName(String newName)StringtoString()Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURIMethods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, 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
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequiredMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Field Details
-
ID_EDEFAULT
The default value of the 'Id' attribute.- See Also:
getId()
-
id
The cached value of the 'Id' attribute.- See Also:
getId()
-
NAME_EDEFAULT
The default value of the 'Name' attribute.- See Also:
getName()
-
name
The 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.EObjectImpl
-
getId
- Specified by:
getIdin interfaceUser- Returns:
- the value of the 'Id' attribute.
- See Also:
User.setId(String),SocialNetworkPackage.getUser_Id()
-
setId
- Specified by:
setIdin interfaceUser- Parameters:
newId- the new value of the 'Id' attribute.- See Also:
User.getId()
-
getName
- Specified by:
getNamein interfaceUser- Returns:
- the value of the 'Name' attribute.
- See Also:
User.setName(String),SocialNetworkPackage.getUser_Name()
-
setName
- 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
- Specified by:
eGetin interfaceorg.eclipse.emf.ecore.InternalEObject- Overrides:
eGetin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
- 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
- Overrides:
toStringin classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-