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

All Superinterfaces:
AbstractChangePackage, APIDelegate<ESChangePackage>, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
FileBasedChangePackageImpl

public interface FileBasedChangePackage
extends AbstractChangePackage, APIDelegate<ESChangePackage>

A representation of the model object 'File Based Change Package'.

See Also:
VersioningPackage.getFileBasedChangePackage()

Method Summary
 String getFilePath()
          Returns the value of the 'File Path' attribute.
 org.eclipse.emf.common.util.EList<OperationProxy> getOperationProxies()
          Returns the value of the 'Operation Proxies' containment reference list.
 String getTempFilePath()
          Returns the file path to the temporary file that is used in between saves.
 void initialize(String filePath)
          Initializes this change package.
 void move(String newFilePath)
          Moves this change package.
 FileBasedChangePackage reverse()
          Creates a copy of the change package and reverses it.
 void setFilePath(String value)
          Sets the value of the ' File Path' attribute.
 ChangePackage toInMemoryChangePackage()
          Converts this file-based change package to an in-memory change package.
NOTE: for very big change packages this might cause a serious performance hit and also cause OutOfMemoryErrors.
 
Methods inherited from interface org.eclipse.emf.emfstore.internal.server.model.versioning.AbstractChangePackage
add, addAll, apply, apply, attachToProjectSpace, clear, get, getLogMessage, isEmpty, leafSize, operations, removeAtEnd, reversedOperations, save, setLogMessage, size, toAPI
 
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
 
Methods inherited from interface org.eclipse.emf.emfstore.internal.common.api.APIDelegate
createAPI, toAPI
 

Method Detail

getFilePath

String getFilePath()
Returns the value of the 'File Path' attribute.

If the meaning of the 'File Path' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'File Path' attribute.
See Also:
setFilePath(String), VersioningPackage.getFileBasedChangePackage_FilePath()

setFilePath

void setFilePath(String value)
Sets the value of the ' File Path' attribute.

Parameters:
value - the new value of the 'File Path' attribute.
See Also:
getFilePath()

getOperationProxies

org.eclipse.emf.common.util.EList<OperationProxy> getOperationProxies()
Returns the value of the 'Operation Proxies' containment reference list. The list contents are of type OperationProxy.

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

Returns:
the value of the 'Operation Proxies' containment reference list.
See Also:
VersioningPackage.getFileBasedChangePackage_OperationProxies()

initialize

void initialize(String filePath)
Initializes this change package.

Parameters:
filePath - the file path where the change package should be initialized

reverse

FileBasedChangePackage reverse()
Creates a copy of the change package and reverses it.

Specified by:
reverse in interface AbstractChangePackage
Returns:
the reversed change packages
See Also:
AbstractChangePackage.reverse()

toInMemoryChangePackage

ChangePackage toInMemoryChangePackage()
Converts this file-based change package to an in-memory change package.
NOTE: for very big change packages this might cause a serious performance hit and also cause OutOfMemoryErrors.

Returns:
an in-memory change-package

getTempFilePath

String getTempFilePath()
Returns the file path to the temporary file that is used in between saves.

Returns:
the absolute path to the temporary file

move

void move(String newFilePath)
          throws IOException
Moves this change package.

Parameters:
newFilePath - the file path where the change package should be moved to
Throws:
IOException - in case of an error during move


Copyright © 2016. All Rights Reserved.