Class ContributionImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.enterprisedomain.classmaker.impl.ProjectImpl
org.enterprisedomain.classmaker.impl.ContributionImpl
- All Implemented Interfaces:
org.eclipse.core.runtime.jobs.ISchedulingRule
,org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.InternalEObject
,Contribution
,Item
,Project
An implementation of the model object '
Contribution'.
The following features are implemented:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.enterprisedomain.classmaker.impl.ProjectImpl
ProjectImpl.ProjectNameAdapter
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
-
Field Summary
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.emf.common.notify.NotificationChain
basicSetState
(State newState, org.eclipse.emf.common.notify.NotificationChain msgs) void
build
(org.eclipse.core.runtime.IProgressMonitor monitor) void
void
create
(org.eclipse.core.runtime.IProgressMonitor monitor) void
delete
(org.eclipse.core.runtime.IProgressMonitor monitor) void
void
doNewRevision
(Revision newRevision) Sub-classes may implement.eGet
(int featureID, boolean resolve, boolean coreType) boolean
eIsSet
(int featureID) org.eclipse.emf.common.util.EMap<StageQualifier,
Customizer> org.eclipse.emf.common.util.EList<String>
org.osgi.framework.Version
getName()
getPhase()
getState()
getState
(long timestamp) void
initAdapters
(Revision revision) initialize
(boolean commit) make
(org.eclipse.core.runtime.IProgressMonitor monitor) void
setLanguage
(String newLanguage) void
void
void
setProject
(Project newProject) void
setProjectVersion
(org.osgi.framework.Version newProjectVersion) () Should be used instead ofProjectImpl.getVersion()
.Methods inherited from class org.enterprisedomain.classmaker.impl.ProjectImpl
addCompletionListener, addResourceChangeListener, basicGetCompletionNotificationAdapter, basicGetRevision, basicGetSelectRevealHandler, basicSetCompletionNotificationAdapter, basicSetDomainModel, basicSetModelResourceAdapter, basicSetWorkspace, checkout, checkout, checkout, checkout, checkout, checkout, close, contains, createRevision, eBaseStructuralFeatureID, eBasicRemoveFromContainerFeature, eDerivedStructuralFeatureID, eInverseAdd, eInverseRemove, equals, eSet, eUnset, getChildren, getCompletionNotificationAdapter, getModelName, getModelResourceAdapter, getParent, getProject, getProjectName, getProjectVersion, getResourceReloadListener, getRevision, getRevisions, getSelectRevealHandler, getVersion, getWorkspace, hashCode, isConflicting, isDirty, isNeedCompletionNotification, isSavingResource, load, newBareRevision, newRevision, newVersion, newVersion, nextVersion, notifyCompletion, notifyResourceChanged, onModelResourceCreate, open, removeCompletionListener, removeResourceChangeListener, setCompletionNotificationAdapter, setDirty, setDomainModel, setLocale, setModelName, setNeedCompletionNotification, setPhase, setProjectName, setRevision, setSavingResource, setSelectRevealHandler, setVersion, setWorkspace, toString
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
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.InternalEObject
eNotificationRequired
Methods inherited from interface org.eclipse.core.runtime.jobs.ISchedulingRule
contains, isConflicting
Methods inherited from interface org.enterprisedomain.classmaker.Item
getModelName, getParent, getProject, load, setDomainModel, setLocale, setModelName, setPhase
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
Methods inherited from interface org.enterprisedomain.classmaker.Project
addCompletionListener, addResourceChangeListener, checkout, checkout, checkout, checkout, checkout, checkout, close, createRevision, getChildren, getCompletionNotificationAdapter, getModelResourceAdapter, getProjectName, getProjectVersion, getResourceReloadListener, getRevision, getRevisions, getSelectRevealHandler, getVersion, getWorkspace, isDirty, isNeedCompletionNotification, isSavingResource, newBareRevision, newRevision, newVersion, newVersion, nextVersion, notifyCompletion, notifyResourceChanged, open, removeCompletionListener, removeResourceChangeListener, setCompletionNotificationAdapter, setDirty, setNeedCompletionNotification, setProjectName, setRevision, setSavingResource, setSelectRevealHandler, setVersion, setWorkspace
-
Method Details
-
getPhase
- Specified by:
getPhase
in interfaceItem
- Overrides:
getPhase
in classProjectImpl
- Returns:
- the value of the 'Phase' attribute.
- See Also:
-
getState
- Specified by:
getState
in interfaceProject
- Overrides:
getState
in classProjectImpl
- Returns:
- the value of the 'State' reference.
- See Also:
-
basicSetState
public org.eclipse.emf.common.notify.NotificationChain basicSetState(State newState, org.eclipse.emf.common.notify.NotificationChain msgs) -
basicGetState
- Overrides:
basicGetState
in classProjectImpl
-
getLatestVersion
public org.osgi.framework.Version getLatestVersion()- Specified by:
getLatestVersion
in interfaceContribution
- Returns:
- the value of the 'Latest Version' attribute.
- See Also:
-
copyModel
- Specified by:
copyModel
in interfaceItem
- Overrides:
copyModel
in classProjectImpl
-
getLocale
- Specified by:
getLocale
in interfaceItem
- Overrides:
getLocale
in classProjectImpl
- Returns:
- the value of the 'Locale' attribute.
- See Also:
-
basicGetProject
- Overrides:
basicGetProject
in classProjectImpl
-
setProject
- Specified by:
setProject
in interfaceItem
- Overrides:
setProject
in classProjectImpl
- Parameters:
newProject
- the new value of the 'Project' reference.- See Also:
-
getDependencies
- Specified by:
getDependencies
in interfaceContribution
- Returns:
- the value of the 'Dependencies' attribute list.
- See Also:
-
getCustomizers
- Specified by:
getCustomizers
in interfaceItem
- Overrides:
getCustomizers
in classProjectImpl
- Returns:
- the value of the 'Customizers' map.
- See Also:
-
basicGetParent
- Overrides:
basicGetParent
in classProjectImpl
-
setParent
- Specified by:
setParent
in interfaceItem
- Overrides:
setParent
in classProjectImpl
- Parameters:
newParent
- the new value of the 'Parent' reference.- See Also:
-
initialize
- Specified by:
initialize
in interfaceItem
- Specified by:
initialize
in interfaceProject
- Overrides:
initialize
in classProjectImpl
- Parameters:
commit
- whether to perform commit- Returns:
- commit Id
-
create
public void create(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException Description copied from class:ProjectImpl
- Specified by:
create
in interfaceProject
- Overrides:
create
in classProjectImpl
- Throws:
org.eclipse.core.runtime.CoreException
-
make
public String make(Revision revision, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException - Specified by:
make
in interfaceContribution
- Throws:
org.eclipse.core.runtime.CoreException
-
make
public String make(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException Description copied from class:ProjectImpl
-
doNewRevision
Description copied from class:ProjectImpl
Sub-classes may implement.- Specified by:
doNewRevision
in interfaceProject
- Overrides:
doNewRevision
in classProjectImpl
-
getName
- Specified by:
getName
in interfaceProject
- Overrides:
getName
in classProjectImpl
- Returns:
- the value of the 'Name' attribute.
- See Also:
-
setName
- Specified by:
setName
in interfaceProject
- Overrides:
setName
in classProjectImpl
- Parameters:
newName
- the new value of the 'Name' attribute.- See Also:
-
getLanguage
- Specified by:
getLanguage
in interfaceItem
- Overrides:
getLanguage
in classProjectImpl
- Returns:
- the value of the 'Language' attribute.
- See Also:
-
setLanguage
- Specified by:
setLanguage
in interfaceItem
- Overrides:
setLanguage
in classProjectImpl
- Parameters:
newLanguage
- the new value of the 'Language' attribute.- See Also:
-
getDomainModel
- Specified by:
getDomainModel
in interfaceItem
- Overrides:
getDomainModel
in classProjectImpl
- Returns:
- the value of the 'Domain Model' containment reference.
- See Also:
-
ClassMakerPackage.getItem_DomainModel()
org.enterprisedomain.classmaker.ModelPair#getParent
-
setProjectVersion
public void setProjectVersion(org.osgi.framework.Version newProjectVersion) ( ) Should be used instead ofProjectImpl.getVersion()
.- Specified by:
setProjectVersion
in interfaceProject
- Overrides:
setProjectVersion
in classProjectImpl
- Parameters:
newProjectVersion
- the new value of the 'Project Version' attribute.- See Also:
-
getResourcePath
Description copied from class:ProjectImpl
- Specified by:
getResourcePath
in interfaceProject
- Overrides:
getResourcePath
in classProjectImpl
- Returns:
- the value of the 'Resource Path' attribute.
- See Also:
-
getState
- Specified by:
getState
in interfaceContribution
-
initAdapters
- Specified by:
initAdapters
in interfaceProject
- Overrides:
initAdapters
in classProjectImpl
-
build
public void build(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException - Specified by:
build
in interfaceItem
- Overrides:
build
in classProjectImpl
- Throws:
org.eclipse.core.runtime.CoreException
-
delete
public void delete(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException - Specified by:
delete
in interfaceContribution
- Specified by:
delete
in interfaceProject
- Overrides:
delete
in classProjectImpl
- Throws:
org.eclipse.core.runtime.CoreException
-
delete
Description copied from class:ProjectImpl
- Specified by:
delete
in interfaceProject
- Overrides:
delete
in classProjectImpl
-
eGet
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classProjectImpl
-
eIsSet
public boolean eIsSet(int featureID) - Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classProjectImpl
-