org.eclipse.emf.ecp.view.validation.test.model.impl
Class WriterImpl

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.ecp.view.validation.test.model.impl.WriterImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, Writer

public class WriterImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements Writer

An implementation of the model object 'Writer'.

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
 org.eclipse.emf.common.notify.NotificationChain basicSetLibrary(Library newLibrary, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
           
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 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)
           
 Date getBirthDate()
           
 org.eclipse.emf.common.util.EList<Book> getBooks()
           
 String getEMail()
           
 String getFirstName()
           
 String getLastName()
           
 Library getLibrary()
           
 boolean isPseudonym()
           
 void setBirthDate(Date newBirthDate)
           
 void setEMail(String newEMail)
           
 void setFirstName(String newFirstName)
           
 void setLastName(String newLastName)
           
 void setLibrary(Library newLibrary)
           
 void setPseudonym(boolean newPseudonym)
           
 String toString()
           
 boolean validate(org.eclipse.emf.common.util.DiagnosticChain chain, Map<Object,Object> context)
          Validates the writer.
 
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, 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, 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

getFirstName

public String getFirstName()

Specified by:
getFirstName in interface Writer
Returns:
the value of the 'First Name' attribute.
See Also:
Writer.setFirstName(String), TestPackage.getWriter_FirstName()

setFirstName

public void setFirstName(String newFirstName)

Specified by:
setFirstName in interface Writer
Parameters:
newFirstName - the new value of the 'First Name' attribute.
See Also:
Writer.getFirstName()

getLastName

public String getLastName()

Specified by:
getLastName in interface Writer
Returns:
the value of the 'Last Name' attribute.
See Also:
Writer.setLastName(String), TestPackage.getWriter_LastName()

setLastName

public void setLastName(String newLastName)

Specified by:
setLastName in interface Writer
Parameters:
newLastName - the new value of the 'Last Name' attribute.
See Also:
Writer.getLastName()

getEMail

public String getEMail()

Specified by:
getEMail in interface Writer
Returns:
the value of the 'EMail' attribute.
See Also:
Writer.setEMail(String), TestPackage.getWriter_EMail()

setEMail

public void setEMail(String newEMail)

Specified by:
setEMail in interface Writer
Parameters:
newEMail - the new value of the 'EMail' attribute.
See Also:
Writer.getEMail()

getBirthDate

public Date getBirthDate()

Specified by:
getBirthDate in interface Writer
Returns:
the value of the 'Birth Date' attribute.
See Also:
Writer.setBirthDate(Date), TestPackage.getWriter_BirthDate()

setBirthDate

public void setBirthDate(Date newBirthDate)

Specified by:
setBirthDate in interface Writer
Parameters:
newBirthDate - the new value of the 'Birth Date' attribute.
See Also:
Writer.getBirthDate()

getBooks

public org.eclipse.emf.common.util.EList<Book> getBooks()

Specified by:
getBooks in interface Writer
Returns:
the value of the 'Books' reference list.
See Also:
TestPackage.getWriter_Books(), Book.getWriters()

isPseudonym

public boolean isPseudonym()

Specified by:
isPseudonym in interface Writer
Returns:
the value of the 'Pseudonym' attribute.
See Also:
Writer.setPseudonym(boolean), TestPackage.getWriter_Pseudonym()

setPseudonym

public void setPseudonym(boolean newPseudonym)

Specified by:
setPseudonym in interface Writer
Parameters:
newPseudonym - the new value of the 'Pseudonym' attribute.
See Also:
Writer.isPseudonym()

getLibrary

public Library getLibrary()

Specified by:
getLibrary in interface Writer
Returns:
the value of the 'Library' container reference.
See Also:
Writer.setLibrary(Library), TestPackage.getWriter_Library(), Library.getWriters()

basicSetLibrary

public org.eclipse.emf.common.notify.NotificationChain basicSetLibrary(Library newLibrary,
                                                                       org.eclipse.emf.common.notify.NotificationChain msgs)


setLibrary

public void setLibrary(Library newLibrary)

Specified by:
setLibrary in interface Writer
Parameters:
newLibrary - the new value of the 'Library' container reference.
See Also:
Writer.getLibrary()

validate

public boolean validate(org.eclipse.emf.common.util.DiagnosticChain chain,
                        Map<Object,Object> context)
Validates the writer. Only adds one diagnostic item to the chain.

Specified by:
validate in interface Writer

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:
eInverseAdd in class org.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:
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eBasicRemoveFromContainerFeature

public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eBasicRemoveFromContainerFeature 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


Copyright © 2014. All Rights Reserved.