SourceJammer 1.3.0 November 20, 2002
Copyright (c) 2001, 2002 Robert MacGrogan

org.sourcejammer.project.model.filesys
Class VersionNodeFS

java.lang.Object
  |
  +--org.sourcejammer.project.controller.ControllerNode
        |
        +--org.sourcejammer.project.controller.VersionNode
              |
              +--org.sourcejammer.project.model.filesys.VersionNodeFS
All Implemented Interfaces:
java.lang.Comparable, Node, NodeFS

public class VersionNodeFS
extends VersionNode
implements NodeFS

Title: SourceJammer v 0.1.0 Description: Copyright: Copyright (c) 2001 Company:


Field Summary
 long mlFileSysKey
           
 
Constructor Summary
VersionNodeFS()
           
 
Method Summary
 java.lang.String getCommentFileName()
           
 java.lang.String getFileName()
          Gets the name of the file used by the filesys implementation to store info on this Node.
 long getFileSysKey()
          Returns key used to lock and unlock object file on the file system.
 void setCommentFileName(java.lang.String s, long key)
           
 void setFileName(java.lang.String s, long key)
          Sets the name to the file used by filesys implementation to store info on this Node.
 void setFileSysKey(long l)
           
 void store(long key, ArchiveInfoFlex info)
          For now this method does nothing.
 
Methods inherited from class org.sourcejammer.project.controller.VersionNode
childCount, getCreatedUser, getSoruceSizeInBytes, getSourceType, getVersionNumber, setCreatedUser, setNodeName, setSourceSizeInBytes, setSourceType, setVersionNumber
 
Methods inherited from class org.sourcejammer.project.controller.ControllerNode
checkKey, compareTo, equals, getCreatedDate, getNodeName, getParent, getRootParent, getShareParent, getUniqueID, isCorrectKey, isLocked, isShared, lock, setCreatedDate, setParent, setShared, setShareParent, setUniqueID, toString, unlock
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.sourcejammer.project.model.filesys.NodeFS
getCreatedDate, getNodeName, isShared
 

Field Detail

mlFileSysKey

public long mlFileSysKey
Constructor Detail

VersionNodeFS

public VersionNodeFS()
Method Detail

setFileName

public void setFileName(java.lang.String s,
                        long key)
Sets the name to the file used by filesys implementation to store info on this Node.
Specified by:
setFileName in interface NodeFS

getFileName

public java.lang.String getFileName()
Gets the name of the file used by the filesys implementation to store info on this Node.
Specified by:
getFileName in interface NodeFS

setCommentFileName

public void setCommentFileName(java.lang.String s,
                               long key)

getCommentFileName

public java.lang.String getCommentFileName()

store

public void store(long key,
                  ArchiveInfoFlex info)
           throws FileAccessException
For now this method does nothing. We are storing all version info in the file xml, except for the comment, which is stored using a different process.
Overrides:
store in class ControllerNode

setFileSysKey

public void setFileSysKey(long l)

getFileSysKey

public long getFileSysKey()
Description copied from interface: NodeFS
Returns key used to lock and unlock object file on the file system.
Specified by:
getFileSysKey in interface NodeFS

SourceJammer 1.3.0 November 20, 2002
Copyright (c) 2001, 2002 Robert MacGrogan