org.sourcejammer.server.keywords
Class ProjectObjects

java.lang.Object
  |
  +--org.sourcejammer.server.keywords.ProjectObjects

public class ProjectObjects
extends java.lang.Object

A repository for project/file related objects that might be needed by an implementation of KeywordExpander. This seems like a messy way to do this, but making all the object available to all expanders is much faster than using if/then's to figure out what keyword we have and what object is actually needed.


Field Summary
private  ArchiveInfoFlex archInfo
           
private  java.lang.String currentComment
           
private  FileNode flNode
           
private  NodeLibrary library
           
private  ProjectNode projNode
           
private  User user
           
private  org.sourcejammer.project.view.NodeInfo verNode
           
 
Constructor Summary
ProjectObjects()
           
 
Method Summary
 ArchiveInfoFlex getArchInfo()
           
 java.lang.String getCurrentComment()
           
 FileNode getFileNode()
           
 NodeLibrary getLibrary()
           
 ProjectNode getProjNode()
           
 User getUser()
           
 org.sourcejammer.project.view.NodeInfo getVersion()
           
 void setArchInfo(ArchiveInfoFlex o)
           
 void setCurrentComment(java.lang.String s)
           
 void setFileNode(FileNode nd)
           
 void setLibrary(NodeLibrary lib)
           
 void setProjNode(ProjectNode nd)
           
 void setUser(User u)
           
 void setVersion(org.sourcejammer.project.view.NodeInfo nd)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

archInfo

private ArchiveInfoFlex archInfo

projNode

private ProjectNode projNode

flNode

private FileNode flNode

library

private NodeLibrary library

user

private User user

verNode

private org.sourcejammer.project.view.NodeInfo verNode

currentComment

private java.lang.String currentComment
Constructor Detail

ProjectObjects

public ProjectObjects()
Method Detail

setArchInfo

public void setArchInfo(ArchiveInfoFlex o)

getArchInfo

public ArchiveInfoFlex getArchInfo()

setProjNode

public void setProjNode(ProjectNode nd)

getProjNode

public ProjectNode getProjNode()

setFileNode

public void setFileNode(FileNode nd)

getFileNode

public FileNode getFileNode()

setLibrary

public void setLibrary(NodeLibrary lib)

getLibrary

public NodeLibrary getLibrary()

setUser

public void setUser(User u)

getUser

public User getUser()

setVersion

public void setVersion(org.sourcejammer.project.view.NodeInfo nd)

getVersion

public org.sourcejammer.project.view.NodeInfo getVersion()

setCurrentComment

public void setCurrentComment(java.lang.String s)

getCurrentComment

public java.lang.String getCurrentComment()


Copyright 2003 Soucejammer project.