org.eclipse.emf.examples.extlibrary.impl
Class AudioVisualItemImpl

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.examples.extlibrary.impl.ItemImpl
                  extended by org.eclipse.emf.examples.extlibrary.impl.CirculatingItemImpl
                      extended by org.eclipse.emf.examples.extlibrary.impl.AudioVisualItemImpl
All Implemented Interfaces:
Notifier, EObject, InternalEObject, AudioVisualItem, CirculatingItem, Item, Lendable
Direct Known Subclasses:
BookOnTapeImpl, VideoCassetteImpl

public abstract class AudioVisualItemImpl
extends CirculatingItemImpl
implements AudioVisualItem

An implementation of the model object 'Audo Visual Item'.

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 static boolean DAMAGED_EDEFAULT
          The default value of the 'Damaged' attribute
protected static int DAMAGED_EFLAG
          The flag representing the value of the 'Damaged' attribute
protected static int MINUTES_LENGTH_EDEFAULT
          The default value of the 'Minutes Length' attribute
protected  int minutesLength
          The cached value of the 'Minutes Length' 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 AudioVisualItemImpl()
           
 
Method Summary
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 int getMinutesLength()
           
 java.lang.String getTitle()
           
 boolean isDamaged()
           
 void setDamaged(boolean newDamaged)
           
 void setMinutesLength(int newMinutesLength)
           
 void setTitle(java.lang.String newTitle)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.emf.examples.extlibrary.impl.CirculatingItemImpl
eBaseStructuralFeatureID, eDerivedStructuralFeatureID, eInverseAdd, eInverseRemove, 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.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 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

TITLE_EDEFAULT

protected static final java.lang.String TITLE_EDEFAULT
The default value of the 'Title' attribute.

See Also:
getTitle()

title

protected java.lang.String title
The cached value of the 'Title' attribute.

See Also:
getTitle()

MINUTES_LENGTH_EDEFAULT

protected static final int MINUTES_LENGTH_EDEFAULT
The default value of the 'Minutes Length' attribute.

See Also:
getMinutesLength(), Constant Field Values

minutesLength

protected int minutesLength
The cached value of the 'Minutes Length' attribute.

See Also:
getMinutesLength()

DAMAGED_EDEFAULT

protected static final boolean DAMAGED_EDEFAULT
The default value of the 'Damaged' attribute.

See Also:
isDamaged(), Constant Field Values

DAMAGED_EFLAG

protected static final int DAMAGED_EFLAG
The flag representing the value of the 'Damaged' attribute.

See Also:
isDamaged(), Constant Field Values
Constructor Detail

AudioVisualItemImpl

protected AudioVisualItemImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class CirculatingItemImpl

getTitle

public java.lang.String getTitle()

Specified by:
getTitle in interface AudioVisualItem
Returns:
the value of the 'Title' attribute.
See Also:
AudioVisualItem.setTitle(String), EXTLibraryPackage.getAudioVisualItem_Title()

setTitle

public void setTitle(java.lang.String newTitle)

Specified by:
setTitle in interface AudioVisualItem
Parameters:
newTitle - the new value of the 'Title' attribute.
See Also:
AudioVisualItem.getTitle()

getMinutesLength

public int getMinutesLength()

Specified by:
getMinutesLength in interface AudioVisualItem
Returns:
the value of the 'Minutes Length' attribute.
See Also:
AudioVisualItem.setMinutesLength(int), EXTLibraryPackage.getAudioVisualItem_MinutesLength()

setMinutesLength

public void setMinutesLength(int newMinutesLength)

Specified by:
setMinutesLength in interface AudioVisualItem
Parameters:
newMinutesLength - the new value of the 'Minutes Length' attribute.
See Also:
AudioVisualItem.getMinutesLength()

isDamaged

public boolean isDamaged()

Specified by:
isDamaged in interface AudioVisualItem
Returns:
the value of the 'Damaged' attribute.
See Also:
AudioVisualItem.setDamaged(boolean), EXTLibraryPackage.getAudioVisualItem_Damaged()

setDamaged

public void setDamaged(boolean newDamaged)

Specified by:
setDamaged in interface AudioVisualItem
Parameters:
newDamaged - the new value of the 'Damaged' attribute.
See Also:
AudioVisualItem.isDamaged()

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface InternalEObject
Overrides:
eGet in class CirculatingItemImpl
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 CirculatingItemImpl
See Also:
EObject.eSet(EStructuralFeature, Object)

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface InternalEObject
Overrides:
eUnset in class CirculatingItemImpl
See Also:
EObject.eUnset(EStructuralFeature)

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface InternalEObject
Overrides:
eIsSet in class CirculatingItemImpl
See Also:
EObject.eIsSet(EStructuralFeature)

toString

public java.lang.String toString()

Overrides:
toString in class CirculatingItemImpl

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.