public class BookImpl extends CirculatingItemImpl implements Book
The following features are implemented:
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
InternalEObject.EStore
Modifier and Type | Field and Description |
---|---|
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 |
borrowers, copies, COPIES_EDEFAULT
PUBLICATION_DATE_EDEFAULT, publicationDate
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
EOPPOSITE_FEATURE_BASE
Modifier | Constructor and Description |
---|---|
protected |
BookImpl() |
Modifier and Type | Method and Description |
---|---|
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() |
eBaseStructuralFeatureID, eDerivedStructuralFeatureID, getBorrowers, getCopies, setCopies
getPublicationDate, setPublicationDate
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, 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, eVirtualValues
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPublicationDate, setPublicationDate
getBorrowers, getCopies, setCopies
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
eNotificationRequired
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()
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