org.eclipse.emf.emfstore.internal.server.model.versioning
Interface Version

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
VersionImpl

public interface Version
extends org.eclipse.emf.ecore.EObject

A representation of the model object ' Version'.

The following features are supported:

See Also:
VersioningPackage.getVersion()

Method Summary
 Version getAncestorVersion()
          Returns the value of the 'Ancestor Version' reference.
 org.eclipse.emf.common.util.EList<Version> getBranchedVersions()
          Returns the value of the 'Branched Versions' reference list.
 ChangePackage getChanges()
          Allows to retrieve the ChangePackage associated with this version.
 LogMessage getLogMessage()
          Returns the value of the 'Log Message' containment reference.
 org.eclipse.emf.common.util.EList<Version> getMergedFromVersion()
          Returns the value of the 'Merged From Version' reference list.
 org.eclipse.emf.common.util.EList<Version> getMergedToVersion()
          Returns the value of the 'Merged To Version' reference list.
 Version getNextVersion()
          Returns the value of the 'Next Version' reference.
 Version getPreviousVersion()
          Returns the value of the 'Previous Version' reference.
 PrimaryVersionSpec getPrimarySpec()
          Returns the value of the 'Primary Spec' containment reference.
 Project getProjectState()
          Allows to retrieve the project state associated with this version.
 org.eclipse.emf.common.util.EList<TagVersionSpec> getTagSpecs()
          Returns the value of the 'Tag Specs' containment reference list.
 void setAncestorVersion(Version value)
          Sets the value of the ' Ancestor Version' reference.
 void setChangeResource(org.eclipse.emf.ecore.resource.Resource resource)
          Allows for setting the resource containing the changePackage the getChanges()-method is to return.
 void setLogMessage(LogMessage value)
          Sets the value of the 'Log Message' containment reference.
 void setNextVersion(Version value)
          Sets the value of the 'Next Version' reference.
 void setPreviousVersion(Version value)
          Sets the value of the ' Previous Version' reference.
 void setPrimarySpec(PrimaryVersionSpec value)
          Sets the value of the 'Primary Spec' containment reference.
 void setProjectStateResource(org.eclipse.emf.ecore.resource.Resource resource)
          Allows for setting the resource containing the project state the getProjectState()-method is to return.
 
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.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getPrimarySpec

PrimaryVersionSpec getPrimarySpec()
Returns the value of the 'Primary Spec' containment reference.

If the meaning of the 'Primary Spec' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Primary Spec' containment reference.
See Also:
setPrimarySpec(PrimaryVersionSpec), VersioningPackage.getVersion_PrimarySpec()

setPrimarySpec

void setPrimarySpec(PrimaryVersionSpec value)
Sets the value of the 'Primary Spec' containment reference.

Parameters:
value - the new value of the 'Primary Spec' containment reference.
See Also:
getPrimarySpec()

getTagSpecs

org.eclipse.emf.common.util.EList<TagVersionSpec> getTagSpecs()
Returns the value of the 'Tag Specs' containment reference list. The list contents are of type TagVersionSpec.

If the meaning of the 'Tag Specs' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Tag Specs' containment reference list.
See Also:
VersioningPackage.getVersion_TagSpecs()

getNextVersion

Version getNextVersion()
Returns the value of the 'Next Version' reference. It is bidirectional and its opposite is ' Previous Version'.

If the meaning of the 'Next Version' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Next Version' reference.
See Also:
setNextVersion(Version), VersioningPackage.getVersion_NextVersion(), getPreviousVersion()

setNextVersion

void setNextVersion(Version value)
Sets the value of the 'Next Version' reference.

Parameters:
value - the new value of the 'Next Version' reference.
See Also:
getNextVersion()

getPreviousVersion

Version getPreviousVersion()
Returns the value of the 'Previous Version' reference. It is bidirectional and its opposite is ' Next Version'.

If the meaning of the 'Previous Version' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Previous Version' reference.
See Also:
setPreviousVersion(Version), VersioningPackage.getVersion_PreviousVersion(), getNextVersion()

setPreviousVersion

void setPreviousVersion(Version value)
Sets the value of the ' Previous Version' reference.

Parameters:
value - the new value of the 'Previous Version' reference.
See Also:
getPreviousVersion()

getLogMessage

LogMessage getLogMessage()
Returns the value of the 'Log Message' containment reference.

If the meaning of the 'Log Message' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Log Message' containment reference.
See Also:
setLogMessage(LogMessage), VersioningPackage.getVersion_LogMessage()

setLogMessage

void setLogMessage(LogMessage value)
Sets the value of the 'Log Message' containment reference.

Parameters:
value - the new value of the 'Log Message' containment reference.
See Also:
getLogMessage()

getAncestorVersion

Version getAncestorVersion()
Returns the value of the 'Ancestor Version' reference. It is bidirectional and its opposite is ' Branched Versions'.

If the meaning of the 'Ancestor Version' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Ancestor Version' reference.
See Also:
setAncestorVersion(Version), VersioningPackage.getVersion_AncestorVersion(), getBranchedVersions()

setAncestorVersion

void setAncestorVersion(Version value)
Sets the value of the ' Ancestor Version' reference.

Parameters:
value - the new value of the 'Ancestor Version' reference.
See Also:
getAncestorVersion()

getBranchedVersions

org.eclipse.emf.common.util.EList<Version> getBranchedVersions()
Returns the value of the 'Branched Versions' reference list. The list contents are of type Version. It is bidirectional and its opposite is ' Ancestor Version'.

If the meaning of the 'Branched Versions' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Branched Versions' reference list.
See Also:
VersioningPackage.getVersion_BranchedVersions(), getAncestorVersion()

getMergedToVersion

org.eclipse.emf.common.util.EList<Version> getMergedToVersion()
Returns the value of the 'Merged To Version' reference list. The list contents are of type Version. It is bidirectional and its opposite is ' Merged From Version'.

If the meaning of the 'Merged To Version' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Merged To Version' reference list.
See Also:
VersioningPackage.getVersion_MergedToVersion(), getMergedFromVersion()

getMergedFromVersion

org.eclipse.emf.common.util.EList<Version> getMergedFromVersion()
Returns the value of the 'Merged From Version' reference list. The list contents are of type Version. It is bidirectional and its opposite is ' Merged To Version'.

If the meaning of the 'Merged From Version' reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Merged From Version' reference list.
See Also:
VersioningPackage.getVersion_MergedFromVersion(), getMergedToVersion()

getChanges

ChangePackage getChanges()
Allows to retrieve the ChangePackage associated with this version.

Returns:
the changes

getProjectState

Project getProjectState()
Allows to retrieve the project state associated with this version.

Returns:
the project state

setChangeResource

void setChangeResource(org.eclipse.emf.ecore.resource.Resource resource)
Allows for setting the resource containing the changePackage the getChanges()-method is to return. The resource will be removed from its resourceSet if it is contained in one.

Parameters:
resource - the new change resource

setProjectStateResource

void setProjectStateResource(org.eclipse.emf.ecore.resource.Resource resource)
Allows for setting the resource containing the project state the getProjectState()-method is to return. The resource will be removed from its resourceSet if it is contained in one.

Parameters:
resource - the new project state resource


Copyright © 2015. All Rights Reserved.