org.eclipse.emf.test.models.movie.db.impl
Class MovieTypeImpl

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.test.models.movie.db.impl.MovieTypeImpl
All Implemented Interfaces:
Notifier, EObject, InternalEObject, MovieType

public class MovieTypeImpl
extends EObjectImpl
implements MovieType

An implementation of the model object 'Movie Type'.

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  java.util.List<java.lang.String> actors
          The cached value of the 'Actors' attribute
protected static java.util.List<java.lang.String> ACTORS_EDEFAULT
          The default value of the 'Actors' attribute
protected  FeatureMap any
          The cached value of the 'Any' attribute list
protected  CustomerType checkedOutBy
          The cached value of the 'Checked Out By' reference
protected  FeatureMap criticsReviewGroup
          The cached value of the 'Critics Review Group' attribute list
protected  java.lang.String director
          The cached value of the 'Director' attribute
protected static java.lang.String DIRECTOR_EDEFAULT
          The default value of the 'Director' attribute
protected  GenreTypes genre
          The cached value of the 'Genre' attribute
protected static GenreTypes GENRE_EDEFAULT
          The default value of the 'Genre' attribute
protected  boolean genreESet
          This is true if the Genre attribute has been set
protected  java.lang.String iD
          The cached value of the 'ID' attribute
protected static java.lang.String ID_EDEFAULT
          The default value of the 'ID' attribute
protected  java.lang.String summary
          The cached value of the 'Summary' attribute
protected static java.lang.String SUMMARY_EDEFAULT
          The default value of the 'Summary' 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 MovieTypeImpl()
           
 
Method Summary
 CustomerType basicGetCheckedOutBy()
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 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)
           
 java.util.List<java.lang.String> getActors()
           
 FeatureMap getAny()
           
 CustomerType getCheckedOutBy()
           
 EList<CriticsReviewType> getCriticsReview()
           
 FeatureMap getCriticsReviewGroup()
           
 java.lang.String getDirector()
           
 GenreTypes getGenre()
           
 java.lang.String getID()
           
 java.lang.String getSummary()
           
 java.lang.String getTitle()
           
 boolean isSetGenre()
           
 void setActors(java.util.List<java.lang.String> newActors)
           
 void setCheckedOutBy(CustomerType newCheckedOutBy)
           
 void setDirector(java.lang.String newDirector)
           
 void setGenre(GenreTypes newGenre)
           
 void setID(java.lang.String newID)
           
 void setSummary(java.lang.String newSummary)
           
 void setTitle(java.lang.String newTitle)
           
 java.lang.String toString()
           
 void unsetGenre()
           
 
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, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, 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, 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.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()

ACTORS_EDEFAULT

protected static final java.util.List<java.lang.String> ACTORS_EDEFAULT
The default value of the 'Actors' attribute.

See Also:
getActors()

actors

protected java.util.List<java.lang.String> actors
The cached value of the 'Actors' attribute.

See Also:
getActors()

DIRECTOR_EDEFAULT

protected static final java.lang.String DIRECTOR_EDEFAULT
The default value of the 'Director' attribute.

See Also:
getDirector()

director

protected java.lang.String director
The cached value of the 'Director' attribute.

See Also:
getDirector()

GENRE_EDEFAULT

protected static final GenreTypes GENRE_EDEFAULT
The default value of the 'Genre' attribute.

See Also:
getGenre()

genre

protected GenreTypes genre
The cached value of the 'Genre' attribute.

See Also:
getGenre()

genreESet

protected boolean genreESet
This is true if the Genre attribute has been set.


SUMMARY_EDEFAULT

protected static final java.lang.String SUMMARY_EDEFAULT
The default value of the 'Summary' attribute.

See Also:
getSummary()

summary

protected java.lang.String summary
The cached value of the 'Summary' attribute.

See Also:
getSummary()

criticsReviewGroup

protected FeatureMap criticsReviewGroup
The cached value of the 'Critics Review Group' attribute list.

See Also:
getCriticsReviewGroup()

checkedOutBy

protected CustomerType checkedOutBy
The cached value of the 'Checked Out By' reference.

See Also:
getCheckedOutBy()

any

protected FeatureMap any
The cached value of the 'Any' attribute list.

See Also:
getAny()

ID_EDEFAULT

protected static final java.lang.String ID_EDEFAULT
The default value of the 'ID' attribute.

See Also:
getID()

iD

protected java.lang.String iD
The cached value of the 'ID' attribute.

See Also:
getID()
Constructor Detail

MovieTypeImpl

protected MovieTypeImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class EObjectImpl

getTitle

public java.lang.String getTitle()

Specified by:
getTitle in interface MovieType
Returns:
the value of the 'Title' attribute.
See Also:
MovieType.setTitle(String), DBPackage.getMovieType_Title()

setTitle

public void setTitle(java.lang.String newTitle)

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

getActors

public java.util.List<java.lang.String> getActors()

Specified by:
getActors in interface MovieType
Returns:
the value of the 'Actors' attribute.
See Also:
MovieType.setActors(List), DBPackage.getMovieType_Actors()

setActors

public void setActors(java.util.List<java.lang.String> newActors)

Specified by:
setActors in interface MovieType
Parameters:
newActors - the new value of the 'Actors' attribute.
See Also:
MovieType.getActors()

getDirector

public java.lang.String getDirector()

Specified by:
getDirector in interface MovieType
Returns:
the value of the 'Director' attribute.
See Also:
MovieType.setDirector(String), DBPackage.getMovieType_Director()

setDirector

public void setDirector(java.lang.String newDirector)

Specified by:
setDirector in interface MovieType
Parameters:
newDirector - the new value of the 'Director' attribute.
See Also:
MovieType.getDirector()

getGenre

public GenreTypes getGenre()

Specified by:
getGenre in interface MovieType
Returns:
the value of the 'Genre' attribute.
See Also:
GenreTypes, MovieType.isSetGenre(), MovieType.unsetGenre(), MovieType.setGenre(GenreTypes), DBPackage.getMovieType_Genre()

setGenre

public void setGenre(GenreTypes newGenre)

Specified by:
setGenre in interface MovieType
Parameters:
newGenre - the new value of the 'Genre' attribute.
See Also:
GenreTypes, MovieType.isSetGenre(), MovieType.unsetGenre(), MovieType.getGenre()

unsetGenre

public void unsetGenre()

Specified by:
unsetGenre in interface MovieType
See Also:
MovieType.isSetGenre(), MovieType.getGenre(), MovieType.setGenre(GenreTypes)

isSetGenre

public boolean isSetGenre()

Specified by:
isSetGenre in interface MovieType
Returns:
whether the value of the 'Genre' attribute is set.
See Also:
MovieType.unsetGenre(), MovieType.getGenre(), MovieType.setGenre(GenreTypes)

getSummary

public java.lang.String getSummary()

Specified by:
getSummary in interface MovieType
Returns:
the value of the 'Summary' attribute.
See Also:
MovieType.setSummary(String), DBPackage.getMovieType_Summary()

setSummary

public void setSummary(java.lang.String newSummary)

Specified by:
setSummary in interface MovieType
Parameters:
newSummary - the new value of the 'Summary' attribute.
See Also:
MovieType.getSummary()

getCriticsReviewGroup

public FeatureMap getCriticsReviewGroup()

Specified by:
getCriticsReviewGroup in interface MovieType
Returns:
the value of the 'Critics Review Group' attribute list.
See Also:
DBPackage.getMovieType_CriticsReviewGroup()

getCriticsReview

public EList<CriticsReviewType> getCriticsReview()

Specified by:
getCriticsReview in interface MovieType
Returns:
the value of the 'Critics Review' containment reference list.
See Also:
DBPackage.getMovieType_CriticsReview()

getCheckedOutBy

public CustomerType getCheckedOutBy()

Specified by:
getCheckedOutBy in interface MovieType
Returns:
the value of the 'Checked Out By' reference.
See Also:
MovieType.setCheckedOutBy(CustomerType), DBPackage.getMovieType_CheckedOutBy()

basicGetCheckedOutBy

public CustomerType basicGetCheckedOutBy()


setCheckedOutBy

public void setCheckedOutBy(CustomerType newCheckedOutBy)

Specified by:
setCheckedOutBy in interface MovieType
Parameters:
newCheckedOutBy - the new value of the 'Checked Out By' reference.
See Also:
MovieType.getCheckedOutBy()

getAny

public FeatureMap getAny()

Specified by:
getAny in interface MovieType
Returns:
the value of the 'Any' attribute list.
See Also:
DBPackage.getMovieType_Any()

getID

public java.lang.String getID()

Specified by:
getID in interface MovieType
Returns:
the value of the 'ID' attribute.
See Also:
MovieType.setID(String), DBPackage.getMovieType_ID()

setID

public void setID(java.lang.String newID)

Specified by:
setID in interface MovieType
Parameters:
newID - the new value of the 'ID' attribute.
See Also:
MovieType.getID()

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 BasicEObjectImpl
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 BasicEObjectImpl
See Also:
EObject.eSet(EStructuralFeature, Object)

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

toString

public java.lang.String toString()

Overrides:
toString in class BasicEObjectImpl

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