Package org.enterprisedomain.classmaker
Interface Revision
- All Superinterfaces:
org.eclipse.emf.ecore.EObject
,Item
,org.eclipse.emf.common.notify.Notifier
- All Known Implementing Classes:
RevisionImpl
A representation of the model object
'Revision'.
A revision of Contribution. Identified by
Version
.
The following features are supported:
- See Also:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAdapters
(org.eclipse.emf.common.util.EList<org.eclipse.emf.common.notify.Adapter> adapters) void
checkout
(long timestamp) void
void
void
void
create
(org.eclipse.core.runtime.IProgressMonitor monitor) void
delete
(org.eclipse.core.runtime.IProgressMonitor monitor) long
Returns the value of the 'Latest Timestamp' attribute.getState()
Returns the value of the 'State' reference.Returns the value of the 'State History' map.long
Returns the value of the 'Timestamp' attribute.org.osgi.framework.Version
Returns the value of the 'Version' attribute.newState()
void
Sets the value of the 'State
' reference.void
setTimestamp
(long value) Sets the value of the 'Timestamp
' attribute.void
setVersion
(org.osgi.framework.Version value) Sets the value of the 'Version
' attribute.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.enterprisedomain.classmaker.Item
build, copyModel, getCustomizers, getDomainModel, getLanguage, getLocale, getModelName, getParent, getPhase, getProject, initialize, load, make, setDomainModel, setLanguage, setLocale, setModelName, setParent, setPhase, setProject
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Field Details
-
VERSION_QUALIFIER_FORMAT
-
-
Method Details
-
getState
State getState()Returns the value of the 'State' reference.If the meaning of the 'State' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'State' reference.
- See Also:
-
setState
Sets the value of the 'State
' reference.- Parameters:
value
- the new value of the 'State' reference.- See Also:
-
getTimestamp
long getTimestamp()Returns the value of the 'Timestamp' attribute.If the meaning of the 'Timestamp' attribute isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Timestamp' attribute.
- See Also:
-
setTimestamp
void setTimestamp(long value) Sets the value of the 'Timestamp
' attribute.- Parameters:
value
- the new value of the 'Timestamp' attribute.- See Also:
-
getStateHistory
Returns the value of the 'State History' map. The key is of typeLong
, and the value is of typeState
,If the meaning of the 'State History' map isn't clear, there really should be more of a description here...
AState
s history.- Returns:
- the value of the 'State History' map.
- See Also:
-
getLatestTimestamp
long getLatestTimestamp()Returns the value of the 'Latest Timestamp' attribute.Get latest time stamp from state history. If state history is empty, return value of default time stamp.
- Returns:
- the value of the 'Latest Timestamp' attribute.
- See Also:
-
getVersion
org.osgi.framework.Version getVersion()Returns the value of the 'Version' attribute. AVersion
of the Item.- Returns:
- the value of the 'Version' attribute.
- See Also:
-
setVersion
void setVersion(org.osgi.framework.Version value) Sets the value of the 'Version
' attribute.- Parameters:
value
- the new value of the 'Version' attribute.- See Also:
-
create
void create(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException - Throws:
org.eclipse.core.runtime.CoreException
-
checkout
-
checkout
void checkout(long timestamp) -
checkout
-
newState
State newState() -
delete
void delete(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException - Throws:
org.eclipse.core.runtime.CoreException
-
addAdapters
void addAdapters(org.eclipse.emf.common.util.EList<org.eclipse.emf.common.notify.Adapter> adapters) -
copyModel
-