|
||||||||||
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.examples.extlibrary.impl.ItemImpl
org.eclipse.emf.examples.extlibrary.impl.CirculatingItemImpl
org.eclipse.emf.examples.extlibrary.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 static int |
CATEGORY_ESETFLAG
The flag representing whether the Category attribute has been set |
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.examples.extlibrary.impl.CirculatingItemImpl |
---|
borrowers, copies, COPIES_EDEFAULT |
Fields inherited from class org.eclipse.emf.examples.extlibrary.impl.ItemImpl |
---|
PUBLICATION_DATE_EDEFAULT, publicationDate |
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()
|
boolean |
isSetCategory()
|
void |
setAuthor(Writer newAuthor)
|
void |
setCategory(BookCategory newCategory)
|
void |
setPages(int newPages)
|
void |
setTitle(java.lang.String newTitle)
|
java.lang.String |
toString()
|
void |
unsetCategory()
|
Methods inherited from class org.eclipse.emf.examples.extlibrary.impl.CirculatingItemImpl |
---|
eBaseStructuralFeatureID, eDerivedStructuralFeatureID, getBorrowers, getCopies, setCopies |
Methods inherited from class org.eclipse.emf.examples.extlibrary.impl.ItemImpl |
---|
getPublicationDate, setPublicationDate |
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.examples.extlibrary.Item |
---|
getPublicationDate, setPublicationDate |
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.examples.extlibrary.Lendable |
---|
getBorrowers, getCopies, setCopies |
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 static final int CATEGORY_ESETFLAG
protected Writer author
Author
' reference.
getAuthor()
Constructor Detail |
---|
protected BookImpl()
Method Detail |
---|
protected EClass eStaticClass()
eStaticClass
in class CirculatingItemImpl
public java.lang.String getTitle()
getTitle
in interface Book
Book.setTitle(String)
,
EXTLibraryPackage.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)
,
EXTLibraryPackage.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.isSetCategory()
,
Book.unsetCategory()
,
Book.setCategory(BookCategory)
,
EXTLibraryPackage.getBook_Category()
public void setCategory(BookCategory newCategory)
setCategory
in interface Book
newCategory
- the new value of the 'Category' attribute.BookCategory
,
Book.isSetCategory()
,
Book.unsetCategory()
,
Book.getCategory()
public void unsetCategory()
unsetCategory
in interface Book
Book.isSetCategory()
,
Book.getCategory()
,
Book.setCategory(BookCategory)
public boolean isSetCategory()
isSetCategory
in interface Book
Book.unsetCategory()
,
Book.getCategory()
,
Book.setCategory(BookCategory)
public Writer getAuthor()
getAuthor
in interface Book
Book.setAuthor(Writer)
,
EXTLibraryPackage.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 CirculatingItemImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class CirculatingItemImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class CirculatingItemImpl
InternalEObject.eGet(EStructuralFeature, boolean, boolean)
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class CirculatingItemImpl
EObject.eSet(EStructuralFeature, Object)
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class CirculatingItemImpl
EObject.eUnset(EStructuralFeature)
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class CirculatingItemImpl
EObject.eIsSet(EStructuralFeature)
public java.lang.String toString()
toString
in class CirculatingItemImpl
|
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 |