org.electrocodeogram.cpc.core.api.data.special
Interface ICreatorCloneFile

All Superinterfaces:
java.lang.Cloneable, org.eclipse.core.runtime.IAdaptable, ICloneDataElement, ICloneFile, ICloneObject, java.io.Serializable
All Known Subinterfaces:
ICloneFileInterfaces

public interface ICreatorCloneFile
extends ICloneFile

Internal sub-interface of ICloneFile containing internal methods which are related to the creation of new clone file objects as well as any kind of modification.

This interface may only be used by modules which create or modify clone file objects.

Users:

Author:
vw

Field Summary
 
Fields inherited from interface org.electrocodeogram.cpc.core.api.data.ICloneFile
PERSISTENCE_CLASS_IDENTIFIER
 
Fields inherited from interface org.electrocodeogram.cpc.core.api.data.ICloneObject
PERSISTENCE_OBJECT_IDENTIFIER
 
Method Summary
 void setModificationDate(long modificationDate)
          Set by IStoreProvider during a call to IStoreProvider.persistData(ICloneFile).
 void setPath(java.lang.String path)
          Set by IStoreProvider at ICloneFile creation time and on file moves.
 void setProject(java.lang.String project)
          Set by IStoreProvider at ICloneFile creation time and on file moves.
 void setSize(long size)
          Set by IStoreProvider during a call to IStoreProvider.persistData(ICloneFile).
 
Methods inherited from interface org.electrocodeogram.cpc.core.api.data.ICloneFile
getModificationDate, getPath, getProject, getSize
 
Methods inherited from interface org.electrocodeogram.cpc.core.api.data.ICloneObject
addExtension, clone, equals, equalsAll, getExtension, getExtensions, getUuid, hasExtensions, hashCode, isMarked, removeExtension, removeExtension, setMarked, toString
 
Methods inherited from interface org.electrocodeogram.cpc.core.api.data.ICloneDataElement
isSealed, seal
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Method Detail

setProject

void setProject(java.lang.String project)
Set by IStoreProvider at ICloneFile creation time and on file moves.

Parameters:
project - the project name, never null.

setPath

void setPath(java.lang.String path)
Set by IStoreProvider at ICloneFile creation time and on file moves.

Parameters:
path - the project relative path of the file, never null.

setSize

void setSize(long size)
Set by IStoreProvider during a call to IStoreProvider.persistData(ICloneFile).

Parameters:
size - the file size in bytes.

setModificationDate

void setModificationDate(long modificationDate)
Set by IStoreProvider during a call to IStoreProvider.persistData(ICloneFile).

Parameters:
modificationDate - the last modification date of the file.