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 NameEdit Plugin Class NameEditor Plugin Class NameRequired PluginsRevisionTimestampDeployable Unit NameEdit Deployable Unit NameEditor Deployable Unit NameJob FamilyResourceCommit IdsCommit IdState CustomizersNon Exclusive State CustomizersProject NameMakingEditEditorStrategyBase Package
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclassNested 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.EScannableAdapterListNested 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_FLAGFields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASEFields inherited from interface org.enterprisedomain.classmaker.State
defaultRequiredPlugins -
Method Summary
Modifier and TypeMethodDescriptionvoidorg.eclipse.emf.common.notify.NotificationChainbasicSetStrategy(Strategy newStrategy, org.eclipse.emf.common.notify.NotificationChain msgs) voidbuild(org.eclipse.core.runtime.IProgressMonitor monitor) voidcheckout()voidcommit()booleancontains(org.eclipse.core.runtime.jobs.ISchedulingRule otherRule) voidvoiddelete(org.eclipse.core.runtime.IProgressMonitor monitor) eGet(int featureID, boolean resolve, boolean coreType) org.eclipse.emf.common.notify.NotificationChaineInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) org.eclipse.emf.common.notify.NotificationChaineInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs) booleaneIsSet(int featureID) voidvoideUnset(int featureID) org.eclipse.emf.ecore.EObjectorg.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.Resourceorg.eclipse.emf.common.util.EMap<StageQualifier,Customizer> longinitialize(boolean commit) booleanisConflicting(org.eclipse.core.runtime.jobs.ISchedulingRule otherRule) booleanisEdit()booleanisEditor()booleanisMaking()voidload(boolean create, boolean loadOnDemand) Initialize and load resource.voidloadResource(org.eclipse.emf.common.util.URI modelURI, boolean create, boolean loadOnDemand) make(org.eclipse.core.runtime.IProgressMonitor monitor) voidvoidsetBasePackage(String newBasePackage) voidsetCommitId(String newCommitId) voidsetDeployableUnitName(String newDeployableUnitName) voidsetEdit(boolean newEdit) voidsetEditDeployableUnitName(String newDeployableUnitName) voidsetEditor(boolean newEditor) voidsetEditorDeployableUnitName(String newDeployableUnitName) voidsetEditorPluginClassName(String newEditorPluginClassName) voidsetEditPluginClassName(String newEditPluginClassName) voidsetJobFamily(String newJobFamily) voidsetMaking(boolean newMaking) voidsetPackageClassName(String newPackageClassName) voidvoidsetProject(Project newProject) voidsetProjectName(String newProjectName) voidsetProjectVersion(org.eclipse.core.runtime.IProgressMonitor monitor) voidsetResource(org.eclipse.emf.ecore.resource.Resource newResource) voidsetRevision(Revision newRevision) voidsetStrategy(Strategy newStrategy) voidsetTimestamp(long newTimestamp) toString()Methods inherited from class org.enterprisedomain.classmaker.impl.ItemImpl
basicSetDomainModel, getDomainModel, getLanguage, getLocale, getParent, getPhase, getProject, setDomainModel, setLanguage, setLocale, setModelName, setPhaseMethods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eSetClass, eSetDeliver, eSetProxyURIMethods 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, eVirtualUnsetMethods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotifyMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequiredMethods inherited from interface org.enterprisedomain.classmaker.Item
getDomainModel, getLanguage, getLocale, getParent, getPhase, getProject, setDomainModel, setLanguage, setLocale, setModelName, setPhaseMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getPackageClassName
- Specified by:
getPackageClassNamein interfaceState- Returns:
- the value of the 'Package Class Name' attribute.
- See Also:
-
setPackageClassName
- Specified by:
setPackageClassNamein interfaceState- Parameters:
newPackageClassName- the new value of the 'Package Class Name' attribute.- See Also:
-
getEditPluginClassName
- Specified by:
getEditPluginClassNamein interfaceState- Returns:
- the value of the 'Edit Plugin Class Name' attribute.
- See Also:
-
setEditPluginClassName
- Specified by:
setEditPluginClassNamein interfaceState- Parameters:
newEditPluginClassName- the new value of the 'Edit Plugin Class Name' attribute.- See Also:
-
getEditorPluginClassName
- Specified by:
getEditorPluginClassNamein interfaceState- Returns:
- the value of the 'Editor Plugin Class Name' attribute.
- See Also:
-
setEditorPluginClassName
- Specified by:
setEditorPluginClassNamein interfaceState- Parameters:
newEditorPluginClassName- the new value of the 'Editor Plugin Class Name' attribute.- See Also:
-
getRequiredPlugins
- Specified by:
getRequiredPluginsin interfaceState- Returns:
- the value of the 'Required Plugins' attribute list.
- See Also:
-
getTimestamp
public long getTimestamp()- Specified by:
getTimestampin 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:
setTimestampin interfaceState- Parameters:
newTimestamp- the new value of the 'Timestamp' attribute.- See Also:
-
getDeployableUnitName
- Specified by:
getDeployableUnitNamein interfaceState- Returns:
- the value of the 'Deployable Unit Name' attribute.
- See Also:
-
setDeployableUnitName
- Specified by:
setDeployableUnitNamein interfaceState- Parameters:
newDeployableUnitName- the new value of the 'Deployable Unit Name' attribute.- See Also:
-
getEditDeployableUnitName
- Specified by:
getEditDeployableUnitNamein interfaceState- Returns:
- the value of the 'Edit Deployable Unit Name' attribute.
- See Also:
-
setEditDeployableUnitName
- Specified by:
setEditDeployableUnitNamein interfaceState- Parameters:
newDeployableUnitName- the new value of the 'Edit Deployable Unit Name' attribute.- See Also:
-
getEditorDeployableUnitName
- Specified by:
getEditorDeployableUnitNamein interfaceState- Returns:
- the value of the 'Editor Deployable Unit Name' attribute.
- See Also:
-
setEditorDeployableUnitName
- Specified by:
setEditorDeployableUnitNamein interfaceState- Parameters:
newDeployableUnitName- the new value of the 'Editor Deployable Unit Name' attribute.- See Also:
-
basicGetParent
Description copied from class:ItemImpl- Overrides:
basicGetParentin classItemImpl
-
setParent
Description copied from class:ItemImpl -
initialize
Description copied from class:ItemImpl- Specified by:
initializein interfaceItem- Overrides:
initializein classItemImpl
-
getModelName
Description copied from class:ItemImpl- Specified by:
getModelNamein interfaceItem- Overrides:
getModelNamein 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:
saveResourcein 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:
eInverseAddin 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:
eInverseRemovein classItemImpl
-
copyModel
Description copied from class:ItemImpl -
basicGetProject
- Specified by:
basicGetProjectin classItemImpl
-
setProject
- Specified by:
setProjectin interfaceItem- Overrides:
setProjectin classItemImpl- Parameters:
newProject- the new value of the 'Project' reference.- See Also:
-
getRevision
- Specified by:
getRevisionin interfaceState- Returns:
- the value of the 'Revision' reference.
- See Also:
-
basicGetRevision
-
setRevision
- Specified by:
setRevisionin interfaceState- Parameters:
newRevision- the new value of the 'Revision' reference.- See Also:
-
getJobFamily
- Specified by:
getJobFamilyin interfaceState- Returns:
- the value of the 'Job Family' attribute.
- See Also:
-
setJobFamily
- Specified by:
setJobFamilyin interfaceState- Parameters:
newJobFamily- the new value of the 'Job Family' attribute.- See Also:
-
getResource
public org.eclipse.emf.ecore.resource.Resource getResource()- Specified by:
getResourcein interfaceState- Returns:
- the value of the 'Resource' reference.
- See Also:
-
setResource
public void setResource(org.eclipse.emf.ecore.resource.Resource newResource) - Specified by:
setResourcein interfaceState- Parameters:
newResource- the new value of the 'Resource' reference.- See Also:
-
getCommitIds
- Specified by:
getCommitIdsin interfaceState- Returns:
- the value of the 'Commit Ids' attribute list.
- See Also:
-
getCommitId
- Specified by:
getCommitIdin interfaceState- Returns:
- the value of the 'Commit Id' attribute.
- See Also:
-
setCommitId
- Specified by:
setCommitIdin interfaceState- Parameters:
newCommitId- the new value of the 'Commit Id' attribute.- See Also:
-
getCustomizers
Description copied from class:ItemImpl- Specified by:
getCustomizersin interfaceItem- Overrides:
getCustomizersin classItemImpl- Returns:
- the value of the 'Customizers' map.
- See Also:
-
getStateCustomizers
- Specified by:
getStateCustomizersin interfaceState- Returns:
- the value of the 'State Customizers' map.
- See Also:
-
getNonExclusiveStateCustomizers
public org.eclipse.emf.common.util.EMap<StageQualifier,Customizer> getNonExclusiveStateCustomizers()- Specified by:
getNonExclusiveStateCustomizersin interfaceState- Returns:
- the value of the 'Non Exclusive State Customizers' map.
- See Also:
-
getProjectName
- Specified by:
getProjectNamein interfaceState- Returns:
- the value of the 'Project Name' attribute.
- See Also:
-
setProjectName
- Specified by:
setProjectNamein 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:
getStrategyin 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:
setStrategyin interfaceState- Parameters:
newStrategy- the new value of the 'Strategy' reference.- See Also:
-
getBasePackage
- Specified by:
getBasePackagein interfaceState- Returns:
- the value of the 'Base Package' attribute.
- See Also:
-
setBasePackage
- Specified by:
setBasePackagein 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:
setProjectVersionin 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:
containsin interfaceorg.eclipse.core.runtime.jobs.ISchedulingRule
-
isConflicting
public boolean isConflicting(org.eclipse.core.runtime.jobs.ISchedulingRule otherRule) - Specified by:
isConflictingin 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
-