|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.emf.test.models.library.impl.BookImpl
public class BookImpl
An implementation of the model object 'Book'.
The following features are implemented:
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterList |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
InternalEObject.EStore |
Field Summary | |
---|---|
protected Writer |
author
The cached value of the ' Author ' reference |
protected BookCategory |
category
The cached value of the ' Category ' attribute |
protected static BookCategory |
CATEGORY_EDEFAULT
The default value of the ' Category ' attribute |
protected int |
pages
The cached value of the ' Pages ' attribute |
protected static int |
PAGES_EDEFAULT
The default value of the ' Pages ' attribute |
protected java.lang.String |
title
The cached value of the ' Title ' attribute |
protected static java.lang.String |
TITLE_EDEFAULT
The default value of the ' Title ' attribute |
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Constructor Summary | |
---|---|
protected |
BookImpl()
|
Method Summary | |
---|---|
Writer |
basicGetAuthor()
|
NotificationChain |
basicSetAuthor(Writer newAuthor,
NotificationChain msgs)
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
Writer |
getAuthor()
|
BookCategory |
getCategory()
|
int |
getPages()
|
java.lang.String |
getTitle()
|
void |
setAuthor(Writer newAuthor)
|
void |
setCategory(BookCategory newCategory)
|
void |
setPages(int newPages)
|
void |
setTitle(java.lang.String newTitle)
|
java.lang.String |
toString()
|
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, 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 |
Field Detail |
---|
protected static final java.lang.String TITLE_EDEFAULT
Title
' attribute.
getTitle()
protected java.lang.String title
Title
' attribute.
getTitle()
protected static final int PAGES_EDEFAULT
Pages
' attribute.
getPages()
,
Constant Field Valuesprotected int pages
Pages
' attribute.
getPages()
protected static final BookCategory CATEGORY_EDEFAULT
Category
' attribute.
getCategory()
protected BookCategory category
Category
' attribute.
getCategory()
protected Writer author
Author
' reference.
getAuthor()
Constructor Detail |
---|
protected BookImpl()
Method Detail |
---|
protected EClass eStaticClass()
eStaticClass
in class EObjectImpl
public java.lang.String getTitle()
getTitle
in interface Book
Book.setTitle(String)
,
LibraryPackage.getBook_Title()
public void setTitle(java.lang.String newTitle)
setTitle
in interface Book
newTitle
- the new value of the 'Title' attribute.Book.getTitle()
public int getPages()
getPages
in interface Book
Book.setPages(int)
,
LibraryPackage.getBook_Pages()
public void setPages(int newPages)
setPages
in interface Book
newPages
- the new value of the 'Pages' attribute.Book.getPages()
public BookCategory getCategory()
getCategory
in interface Book
BookCategory
,
Book.setCategory(BookCategory)
,
LibraryPackage.getBook_Category()
public void setCategory(BookCategory newCategory)
setCategory
in interface Book
newCategory
- the new value of the 'Category' attribute.BookCategory
,
Book.getCategory()
public Writer getAuthor()
getAuthor
in interface Book
Book.setAuthor(Writer)
,
LibraryPackage.getBook_Author()
,
Writer.getBooks()
public Writer basicGetAuthor()
public NotificationChain basicSetAuthor(Writer newAuthor, NotificationChain msgs)
public void setAuthor(Writer newAuthor)
setAuthor
in interface Book
newAuthor
- the new value of the 'Author' reference.Book.getAuthor()
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd
in class BasicEObjectImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class BasicEObjectImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class BasicEObjectImpl
InternalEObject.eGet(EStructuralFeature, boolean, boolean)
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class BasicEObjectImpl
EObject.eSet(EStructuralFeature, Object)
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class BasicEObjectImpl
EObject.eUnset(EStructuralFeature)
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class BasicEObjectImpl
EObject.eIsSet(EStructuralFeature)
public java.lang.String toString()
toString
in class BasicEObjectImpl
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |