org.sourcejammer.project.model.filesys
Class ProjectNodeFS

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

public class ProjectNodeFS
extends ProjectNode
implements NodeFS

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

Version:
1.0
Author:
Robert MacGrogan

Field Summary
private  long mlFileSysKey
           
private  java.lang.String msFileName
           
 
Fields inherited from class org.sourcejammer.project.controller.ProjectNode
 
Fields inherited from class org.sourcejammer.project.controller.ControllerNode
lightweightView
 
Constructor Summary
ProjectNodeFS()
           
 
Method Summary
 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 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)
          Creates and stores the XML file for this Node.
 
Methods inherited from class org.sourcejammer.project.controller.ProjectNode
addChildNode, addChildNode, childCount, getChildNode, getChildrenInfo, getFullPath, getParentID, getRemovedChildInfo, getRemovedChildren, permanentlyDeleteRemovedChildNode, removeChildNode, removeChildNode, renameChild, restoreRemovedChildNode, setFullPath, setParentID, setRemovedChildren
 
Methods inherited from class org.sourcejammer.project.controller.ControllerNode
checkKey, compareTo, equals, getCreatedDate, getLightweightView, getLightweightViewString, getNodeName, getUniqueID, isLocked, isShared, lock, setCreatedDate, setNodeName, setUniqueID, toString, unlock, updateLightweightViewString
 
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

msFileName

private java.lang.String msFileName

mlFileSysKey

private long mlFileSysKey
Constructor Detail

ProjectNodeFS

public ProjectNodeFS()
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

store

public void store(long key,
                  ArchiveInfoFlex info)
           throws FileAccessException
Creates and stores the XML file for this Node.

Specified by:
store in class ControllerNode
FileAccessException

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


Copyright 2003 Soucejammer project.