Class StateImpl
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.ItemImpl
org.enterprisedomain.classmaker.impl.StateImpl
- 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
,Item
,State
An implementation of the model object '
State'.
The following features are implemented:
Package Class Name
Edit Plugin Class Name
Editor Plugin Class Name
Required Plugins
Revision
Timestamp
Deployable Unit Name
Edit Deployable Unit Name
Editor Deployable Unit Name
Job Family
Resource
Commit Ids
Commit Id
State Customizers
Non Exclusive State Customizers
Project Name
Making
Edit
Editor
Strategy
Base Package
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
class
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
Fields inherited from interface org.enterprisedomain.classmaker.State
defaultRequiredPlugins
-
Method Summary
Modifier and TypeMethodDescriptionvoid
org.eclipse.emf.common.notify.NotificationChain
basicSetStrategy
(Strategy newStrategy, org.eclipse.emf.common.notify.NotificationChain msgs) void
build
(org.eclipse.core.runtime.IProgressMonitor monitor) void
checkout()
void
commit()
boolean
contains
(org.eclipse.core.runtime.jobs.ISchedulingRule otherRule) void
void
delete
(org.eclipse.core.runtime.IProgressMonitor monitor) eGet
(int featureID, boolean resolve, boolean coreType) org.eclipse.emf.common.notify.NotificationChain
eInverseAdd
(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChain
eInverseRemove
(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) boolean
eIsSet
(int featureID) void
void
eUnset
(int featureID) org.eclipse.emf.ecore.EObject
org.eclipse.emf.common.util.EList<String>
org.eclipse.emf.common.util.EMap<StageQualifier,
Customizer> org.eclipse.emf.common.util.EMap<StageQualifier,
Customizer> org.eclipse.emf.common.util.EList<String>
org.eclipse.emf.ecore.resource.Resource
org.eclipse.emf.common.util.EMap<StageQualifier,
Customizer> long
initialize
(boolean commit) boolean
isConflicting
(org.eclipse.core.runtime.jobs.ISchedulingRule otherRule) boolean
isEdit()
boolean
isEditor()
boolean
isMaking()
void
load
(boolean create, boolean loadOnDemand) Initialize and load resource.void
loadResource
(org.eclipse.emf.common.util.URI modelURI, boolean create, boolean loadOnDemand) make
(org.eclipse.core.runtime.IProgressMonitor monitor) void
void
setBasePackage
(String newBasePackage) void
setCommitId
(String newCommitId) void
setDeployableUnitName
(String newDeployableUnitName) void
setEdit
(boolean newEdit) void
setEditDeployableUnitName
(String newDeployableUnitName) void
setEditor
(boolean newEditor) void
setEditorDeployableUnitName
(String newDeployableUnitName) void
setEditorPluginClassName
(String newEditorPluginClassName) void
setEditPluginClassName
(String newEditPluginClassName) void
setJobFamily
(String newJobFamily) void
setMaking
(boolean newMaking) void
setPackageClassName
(String newPackageClassName) void
void
setProject
(Project newProject) void
setProjectName
(String newProjectName) void
setProjectVersion
(org.eclipse.core.runtime.IProgressMonitor monitor) void
setResource
(org.eclipse.emf.ecore.resource.Resource newResource) void
setRevision
(Revision newRevision) void
setStrategy
(Strategy newStrategy) void
setTimestamp
(long newTimestamp) toString()
Methods inherited from class org.enterprisedomain.classmaker.impl.ItemImpl
basicSetDomainModel, getDomainModel, getLanguage, getLocale, getParent, getPhase, getProject, setDomainModel, setLanguage, setLocale, setModelName, setPhase
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, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, 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 class java.lang.Object
equals, 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.InternalEObject
eNotificationRequired
Methods inherited from interface org.enterprisedomain.classmaker.Item
getDomainModel, getLanguage, getLocale, getParent, getPhase, getProject, setDomainModel, setLanguage, setLocale, setModelName, setPhase
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getPackageClassName
- Specified by:
getPackageClassName
in interfaceState
- Returns:
- the value of the 'Package Class Name' attribute.
- See Also:
-
setPackageClassName
- Specified by:
setPackageClassName
in interfaceState
- Parameters:
newPackageClassName
- the new value of the 'Package Class Name' attribute.- See Also:
-
getEditPluginClassName
- Specified by:
getEditPluginClassName
in interfaceState
- Returns:
- the value of the 'Edit Plugin Class Name' attribute.
- See Also:
-
setEditPluginClassName
- Specified by:
setEditPluginClassName
in interfaceState
- Parameters:
newEditPluginClassName
- the new value of the 'Edit Plugin Class Name' attribute.- See Also:
-
getEditorPluginClassName
- Specified by:
getEditorPluginClassName
in interfaceState
- Returns:
- the value of the 'Editor Plugin Class Name' attribute.
- See Also:
-
setEditorPluginClassName
- Specified by:
setEditorPluginClassName
in interfaceState
- Parameters:
newEditorPluginClassName
- the new value of the 'Editor Plugin Class Name' attribute.- See Also:
-
getRequiredPlugins
- Specified by:
getRequiredPlugins
in interfaceState
- Returns:
- the value of the 'Required Plugins' attribute list.
- See Also:
-
getTimestamp
public long getTimestamp()- Specified by:
getTimestamp
in interfaceState
- Returns:
- the value of the 'Timestamp' attribute.
- See Also:
-
#setTimestamp(Date)
org.enterprisedomain.EnterpriseDomainPackage#getState_Timestamp()
-
setTimestamp
public void setTimestamp(long newTimestamp) - Specified by:
setTimestamp
in interfaceState
- Parameters:
newTimestamp
- the new value of the 'Timestamp' attribute.- See Also:
-
getDeployableUnitName
- Specified by:
getDeployableUnitName
in interfaceState
- Returns:
- the value of the 'Deployable Unit Name' attribute.
- See Also:
-
setDeployableUnitName
- Specified by:
setDeployableUnitName
in interfaceState
- Parameters:
newDeployableUnitName
- the new value of the 'Deployable Unit Name' attribute.- See Also:
-
getEditDeployableUnitName
- Specified by:
getEditDeployableUnitName
in interfaceState
- Returns:
- the value of the 'Edit Deployable Unit Name' attribute.
- See Also:
-
setEditDeployableUnitName
- Specified by:
setEditDeployableUnitName
in interfaceState
- Parameters:
newDeployableUnitName
- the new value of the 'Edit Deployable Unit Name' attribute.- See Also:
-
getEditorDeployableUnitName
- Specified by:
getEditorDeployableUnitName
in interfaceState
- Returns:
- the value of the 'Editor Deployable Unit Name' attribute.
- See Also:
-
setEditorDeployableUnitName
- Specified by:
setEditorDeployableUnitName
in interfaceState
- Parameters:
newDeployableUnitName
- the new value of the 'Editor Deployable Unit Name' attribute.- See Also:
-
basicGetParent
Description copied from class:ItemImpl
- Overrides:
basicGetParent
in classItemImpl
-
setParent
Description copied from class:ItemImpl
-
initialize
Description copied from class:ItemImpl
- Specified by:
initialize
in interfaceItem
- Overrides:
initialize
in classItemImpl
-
getModelName
Description copied from class:ItemImpl
- Specified by:
getModelName
in interfaceItem
- Overrides:
getModelName
in classItemImpl
- Returns:
- the value of the 'Model Name' attribute.
- See Also:
-
loadResource
public void loadResource(org.eclipse.emf.common.util.URI modelURI, boolean create, boolean loadOnDemand) -
saveResource
public void saveResource()Description copied from interface:State
- Specified by:
saveResource
in interfaceState
-
eInverseAdd
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) - Overrides:
eInverseAdd
in classItemImpl
-
make
-
load
public void load(boolean create, boolean loadOnDemand) throws org.eclipse.core.runtime.CoreException Initialize and load resource. Parent revision should be set. -
checkout
public void checkout() -
checkout
-
add
-
commit
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) - Overrides:
eInverseRemove
in classItemImpl
-
copyModel
Description copied from class:ItemImpl
-
basicGetProject
- Specified by:
basicGetProject
in classItemImpl
-
setProject
- Specified by:
setProject
in interfaceItem
- Overrides:
setProject
in classItemImpl
- Parameters:
newProject
- the new value of the 'Project' reference.- See Also:
-
getRevision
- Specified by:
getRevision
in interfaceState
- Returns:
- the value of the 'Revision' reference.
- See Also:
-
basicGetRevision
-
setRevision
- Specified by:
setRevision
in interfaceState
- Parameters:
newRevision
- the new value of the 'Revision' reference.- See Also:
-
getJobFamily
- Specified by:
getJobFamily
in interfaceState
- Returns:
- the value of the 'Job Family' attribute.
- See Also:
-
setJobFamily
- Specified by:
setJobFamily
in interfaceState
- Parameters:
newJobFamily
- the new value of the 'Job Family' attribute.- See Also:
-
getResource
public org.eclipse.emf.ecore.resource.Resource getResource()- Specified by:
getResource
in interfaceState
- Returns:
- the value of the 'Resource' reference.
- See Also:
-
setResource
public void setResource(org.eclipse.emf.ecore.resource.Resource newResource) - Specified by:
setResource
in interfaceState
- Parameters:
newResource
- the new value of the 'Resource' reference.- See Also:
-
getCommitIds
- Specified by:
getCommitIds
in interfaceState
- Returns:
- the value of the 'Commit Ids' attribute list.
- See Also:
-
getCommitId
- Specified by:
getCommitId
in interfaceState
- Returns:
- the value of the 'Commit Id' attribute.
- See Also:
-
setCommitId
- Specified by:
setCommitId
in interfaceState
- Parameters:
newCommitId
- the new value of the 'Commit Id' attribute.- See Also:
-
getCustomizers
Description copied from class:ItemImpl
- Specified by:
getCustomizers
in interfaceItem
- Overrides:
getCustomizers
in classItemImpl
- Returns:
- the value of the 'Customizers' map.
- See Also:
-
getStateCustomizers
- Specified by:
getStateCustomizers
in interfaceState
- Returns:
- the value of the 'State Customizers' map.
- See Also:
-
getNonExclusiveStateCustomizers
public org.eclipse.emf.common.util.EMap<StageQualifier,Customizer> getNonExclusiveStateCustomizers()- Specified by:
getNonExclusiveStateCustomizers
in interfaceState
- Returns:
- the value of the 'Non Exclusive State Customizers' map.
- See Also:
-
getProjectName
- Specified by:
getProjectName
in interfaceState
- Returns:
- the value of the 'Project Name' attribute.
- See Also:
-
setProjectName
- Specified by:
setProjectName
in interfaceState
- Parameters:
newProjectName
- the new value of the 'Project Name' attribute.- See Also:
-
isMaking
public boolean isMaking() -
setMaking
public void setMaking(boolean newMaking) -
isEdit
public boolean isEdit() -
setEdit
public void setEdit(boolean newEdit) -
isEditor
public boolean isEditor() -
setEditor
public void setEditor(boolean newEditor) -
getStrategy
- Specified by:
getStrategy
in interfaceState
- Returns:
- the value of the 'Strategy' reference.
- See Also:
-
basicGetStrategy
-
basicSetStrategy
public org.eclipse.emf.common.notify.NotificationChain basicSetStrategy(Strategy newStrategy, org.eclipse.emf.common.notify.NotificationChain msgs) -
setStrategy
- Specified by:
setStrategy
in interfaceState
- Parameters:
newStrategy
- the new value of the 'Strategy' reference.- See Also:
-
getBasePackage
- Specified by:
getBasePackage
in interfaceState
- Returns:
- the value of the 'Base Package' attribute.
- See Also:
-
setBasePackage
- Specified by:
setBasePackage
in interfaceState
- Parameters:
newBasePackage
- the new value of the 'Base Package' attribute.- See Also:
-
setProjectVersion
public void setProjectVersion(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException - Specified by:
setProjectVersion
in interfaceState
- Throws:
org.eclipse.core.runtime.CoreException
-
delete
public void delete(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException -
find
-
eGet
-
eSet
-
eUnset
public void eUnset(int featureID) -
eIsSet
public boolean eIsSet(int featureID) -
toString
-
contains
public boolean contains(org.eclipse.core.runtime.jobs.ISchedulingRule otherRule) - Specified by:
contains
in interfaceorg.eclipse.core.runtime.jobs.ISchedulingRule
-
isConflicting
public boolean isConflicting(org.eclipse.core.runtime.jobs.ISchedulingRule otherRule) - Specified by:
isConflicting
in interfaceorg.eclipse.core.runtime.jobs.ISchedulingRule
-
build
public void build(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException Description copied from class:ItemImpl
-