org.eclipse.emf.examples.extlibrary.impl
Class CirculatingItemImpl
java.lang.Object
org.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
- All Implemented Interfaces:
- Notifier, EObject, InternalEObject, CirculatingItem, Item, Lendable
- Direct Known Subclasses:
- AudioVisualItemImpl, BookImpl
public abstract class CirculatingItemImpl
- extends ItemImpl
- implements CirculatingItem
An implementation of the model object 'Circulating Item'.
The following features are implemented:
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.ecore.impl.BasicEObjectImpl |
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 |
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.ecore.EObject |
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset |
COPIES_EDEFAULT
protected static final int COPIES_EDEFAULT
- The default value of the '
Copies
' attribute.
- See Also:
getCopies()
,
Constant Field Values
copies
protected int copies
- The cached value of the '
Copies
' attribute.
- See Also:
getCopies()
borrowers
protected EList<Borrower> borrowers
- The cached value of the '
Borrowers
' reference list.
- See Also:
getBorrowers()
CirculatingItemImpl
protected CirculatingItemImpl()
-
eStaticClass
protected EClass eStaticClass()
-
- Overrides:
eStaticClass
in class ItemImpl
getCopies
public int getCopies()
-
- Specified by:
getCopies
in interface Lendable
- Returns:
- the value of the 'Copies' attribute.
- See Also:
Lendable.setCopies(int)
,
EXTLibraryPackage.getLendable_Copies()
setCopies
public void setCopies(int newCopies)
-
- Specified by:
setCopies
in interface Lendable
- Parameters:
newCopies
- the new value of the 'Copies' attribute.- See Also:
Lendable.getCopies()
getBorrowers
public EList<Borrower> getBorrowers()
-
- Specified by:
getBorrowers
in interface Lendable
- Returns:
- the value of the 'Borrowers' reference list.
- See Also:
EXTLibraryPackage.getLendable_Borrowers()
,
Borrower.getBorrowed()
eInverseAdd
public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
-
- Overrides:
eInverseAdd
in class BasicEObjectImpl
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs)
-
- Overrides:
eInverseRemove
in class BasicEObjectImpl
eGet
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
-
- Specified by:
eGet
in interface InternalEObject
- Overrides:
eGet
in class ItemImpl
- See Also:
InternalEObject.eGet(EStructuralFeature, boolean, boolean)
eSet
public void eSet(int featureID,
java.lang.Object newValue)
-
- Specified by:
eSet
in interface InternalEObject
- Overrides:
eSet
in class ItemImpl
- See Also:
EObject.eSet(EStructuralFeature, Object)
eUnset
public void eUnset(int featureID)
-
- Specified by:
eUnset
in interface InternalEObject
- Overrides:
eUnset
in class ItemImpl
- See Also:
EObject.eUnset(EStructuralFeature)
eIsSet
public boolean eIsSet(int featureID)
-
- Specified by:
eIsSet
in interface InternalEObject
- Overrides:
eIsSet
in class ItemImpl
- See Also:
EObject.eIsSet(EStructuralFeature)
eBaseStructuralFeatureID
public int eBaseStructuralFeatureID(int derivedFeatureID,
java.lang.Class<?> baseClass)
-
- Specified by:
eBaseStructuralFeatureID
in interface InternalEObject
- Overrides:
eBaseStructuralFeatureID
in class BasicEObjectImpl
- Parameters:
derivedFeatureID
- the ID in the actual derived classbaseClass
- the base class for which a relative ID is desired.
- Returns:
- the up-cast feature ID.
eDerivedStructuralFeatureID
public int eDerivedStructuralFeatureID(int baseFeatureID,
java.lang.Class<?> baseClass)
-
- Specified by:
eDerivedStructuralFeatureID
in interface InternalEObject
- Overrides:
eDerivedStructuralFeatureID
in class BasicEObjectImpl
- Parameters:
baseFeatureID
- the ID relative to a base class.baseClass
- the base class to which the ID is relative.
- Returns:
- the down-cast feature ID.
toString
public java.lang.String toString()
-
- Overrides:
toString
in class ItemImpl