Class RevisionImpl
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.RevisionImpl
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.InternalEObject
,Item
,Revision
An implementation of the model object '
Revision'.
The following features are implemented:
-
Nested Class Summary
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.Revision
VERSION_QUALIFIER_FORMAT
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAdapters
(org.eclipse.emf.common.util.EList<org.eclipse.emf.common.notify.Adapter> adapters) void
build
(org.eclipse.core.runtime.IProgressMonitor monitor) void
checkout
(long stateTime) void
void
void
void
create
(org.eclipse.core.runtime.IProgressMonitor monitor) void
delete
(org.eclipse.core.runtime.IProgressMonitor monitor) eGet
(int featureID, boolean resolve, boolean coreType) 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.common.util.EMap<StageQualifier,
Customizer> long
getState()
long
org.osgi.framework.Version
initialize
(boolean commit) void
load
(boolean create, boolean loadOnDemand) make
(org.eclipse.core.runtime.IProgressMonitor monitor) newState()
void
setLanguage
(String value) void
void
setProject
(Project newProject) void
void
setTimestamp
(long newTimestamp) void
setVersion
(org.osgi.framework.Version newVersion) toString()
Methods inherited from class org.enterprisedomain.classmaker.impl.ItemImpl
basicSetDomainModel, copyModel, eInverseAdd, getLocale, getModelName, getParent, getPhase, getProject, setDomainModel, 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
copyModel, getLocale, getModelName, getParent, getPhase, getProject, setDomainModel, setLocale, setModelName, setPhase
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
setProject
- Specified by:
setProject
in interfaceItem
- Overrides:
setProject
in classItemImpl
- Parameters:
newProject
- the new value of the 'Project' reference.- See Also:
-
getState
-
basicGetState
-
setState
-
getTimestamp
public long getTimestamp()- Specified by:
getTimestamp
in interfaceRevision
- Returns:
- the value of the 'Timestamp' attribute.
- See Also:
-
setTimestamp
public void setTimestamp(long newTimestamp) - Specified by:
setTimestamp
in interfaceRevision
- Parameters:
newTimestamp
- the new value of the 'Timestamp' attribute.- See Also:
-
getStateHistory
- Specified by:
getStateHistory
in interfaceRevision
- Returns:
- the value of the 'State History' map.
- See Also:
-
getLatestTimestamp
public long getLatestTimestamp()- Specified by:
getLatestTimestamp
in interfaceRevision
- Returns:
- the value of the 'Latest Timestamp' attribute.
- See Also:
-
getVersion
public org.osgi.framework.Version getVersion()- Specified by:
getVersion
in interfaceRevision
- Returns:
- the value of the 'Version' attribute.
- See Also:
-
setVersion
public void setVersion(org.osgi.framework.Version newVersion) - Specified by:
setVersion
in interfaceRevision
- Parameters:
newVersion
- the new value of the 'Version' attribute.- See Also:
-
getLanguage
Description copied from class:ItemImpl
- Specified by:
getLanguage
in interfaceItem
- Overrides:
getLanguage
in classItemImpl
- Returns:
- the value of the 'Language' attribute.
- See Also:
-
setLanguage
Description copied from class:ItemImpl
- Specified by:
setLanguage
in interfaceItem
- Overrides:
setLanguage
in classItemImpl
- Parameters:
value
- the new value of the 'Language' attribute.- See Also:
-
getDomainModel
Description copied from class:ItemImpl
- Specified by:
getDomainModel
in interfaceItem
- Overrides:
getDomainModel
in classItemImpl
- Returns:
- the value of the 'Domain Model' containment reference.
- See Also:
-
ClassMakerPackage.getItem_DomainModel()
org.enterprisedomain.classmaker.ModelPair#getParent
-
getCustomizers
Description copied from class:ItemImpl
- Specified by:
getCustomizers
in interfaceItem
- Overrides:
getCustomizers
in classItemImpl
- Returns:
- the value of the 'Customizers' map.
- 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
-
create
public void create(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException -
checkout
-
checkout
public void checkout(long stateTime) -
checkout
-
newState
-
make
-
load
public void load(boolean create, boolean loadOnDemand) throws org.eclipse.core.runtime.CoreException Description copied from class:ItemImpl
-
delete
public void delete(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException -
addAdapters
public void addAdapters(org.eclipse.emf.common.util.EList<org.eclipse.emf.common.notify.Adapter> adapters) - Specified by:
addAdapters
in interfaceRevision
-
copyModel
-
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
-
eGet
-
eSet
-
eUnset
public void eUnset(int featureID) -
eIsSet
public boolean eIsSet(int featureID) -
toString
-
build
public void build(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException Description copied from class:ItemImpl
-
basicGetProject
Description copied from class:ItemImpl
- Specified by:
basicGetProject
in classItemImpl
-