org.sourcejammer.client.gui.conf
Class FileNodeInfo

java.lang.Object
  |
  +--org.sourcejammer.project.view.NodeInfo
        |
        +--org.sourcejammer.client.gui.conf.FileNodeInfo
All Implemented Interfaces:
java.lang.Comparable, org.sourcejammer.project.Node

public class FileNodeInfo
extends org.sourcejammer.project.view.NodeInfo

Title: $FileName: FileNodeInfo.java$

Version:
$VerNum: 4$
Author:
$AuthorName: Rob MacGrogan$

$Description: Wrapper for NodeInfo. Adds info about sync state of file.$
$KeyWordsOff: $

Field Summary
static int IN_SYNC
           
static java.lang.String IN_SYNC_STRING
           
private  int localRemoteSyncState
           
static int NOT_IN_ARCHIVE
           
static java.lang.String NOT_IN_ARCHIVE_STRING
           
static int NOT_ON_LOCAL
           
static java.lang.String NOT_ON_LOCAL_STRING
           
static int OUT_OF_SYNC
           
static java.lang.String OUT_OF_SYNC_STRING
           
private  org.sourcejammer.project.view.NodeInfo parent
           
private  ProjectTreeNode parentTreeNode
           
private static java.util.ArrayList STRING_ICONS
           
static int UNKNOWN
           
static java.lang.String UNKNOWN_STRING
           
 
Fields inherited from class org.sourcejammer.project.view.NodeInfo
 
Constructor Summary
FileNodeInfo(org.sourcejammer.project.view.NodeInfo parent)
           
 
Method Summary
 int childCount()
           
 int compareTo(java.lang.Object arg0)
           
 org.sourcejammer.util.SJDate getCheckedOutDate()
           
 java.lang.String getCheckedOutToPath()
           
 java.lang.String getCheckedOutToUser()
           
 org.sourcejammer.util.SJDate getCreatedDate()
           
 java.lang.String getCreatedUser()
           
 int getFileType()
           
 boolean getHasChildren()
           
 long getLatestVerUniqueID()
           
 java.lang.String getLocalRemoteString()
           
 int getLocalRemoteSyncState()
          Returns the localRemoteSyncState.
 org.sourcejammer.util.SJDate getModifiedDate()
           
 java.lang.String getNodeName()
           
 int getNodeType()
           
 int getNumVersions()
           
 long getParentID()
           
 ProjectTreeNode getParentTreeNode()
          Returns the parentTreeNode.
 long getSourceSizeInBytes()
           
 long getUniqueID()
           
 boolean isCheckedOut()
           
 boolean isPlaceHolder()
           
 boolean isShared()
           
 void setCheckedOut(boolean b)
           
 void setCheckedOutDate(org.sourcejammer.util.SJDate d)
           
 void setCheckedOutToPath(java.lang.String s)
           
 void setCheckedOutToUser(java.lang.String s)
           
 void setChildCount(int i)
           
 void setCreatedDate(org.sourcejammer.util.SJDate d)
           
 void setCreatedUser(java.lang.String s)
           
 void setFileType(int i)
           
 void setHasChildren(boolean b)
           
 void setLatestVerUniqueID(long latestVerUniqueID)
           
 void setLocalRemoteSyncState(int localRemoteSyncState)
          Sets the localRemoteSyncState.
 void setModifiedDate(org.sourcejammer.util.SJDate d)
           
 void setNodeName(java.lang.String s)
           
 void setNodeType(int i)
           
 void setNumVersions(int i)
           
 void setParentID(long l)
           
 void setParentTreeNode(ProjectTreeNode parentTreeNode)
          Sets the parentTreeNode.
 void setPlaceHolder(boolean b)
           
 void setShared(boolean b)
           
 void setSourceSizeInBytes(long l)
           
 void setUniqueID(long l)
           
 java.lang.String toString()
           
 
Methods inherited from class org.sourcejammer.project.view.NodeInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

IN_SYNC

public static final int IN_SYNC
See Also:
Constant Field Values

OUT_OF_SYNC

public static final int OUT_OF_SYNC
See Also:
Constant Field Values

NOT_IN_ARCHIVE

public static final int NOT_IN_ARCHIVE
See Also:
Constant Field Values

NOT_ON_LOCAL

public static final int NOT_ON_LOCAL
See Also:
Constant Field Values

UNKNOWN

public static final int UNKNOWN
See Also:
Constant Field Values

UNKNOWN_STRING

public static final java.lang.String UNKNOWN_STRING
See Also:
Constant Field Values

IN_SYNC_STRING

public static final java.lang.String IN_SYNC_STRING
See Also:
Constant Field Values

OUT_OF_SYNC_STRING

public static final java.lang.String OUT_OF_SYNC_STRING
See Also:
Constant Field Values

NOT_IN_ARCHIVE_STRING

public static final java.lang.String NOT_IN_ARCHIVE_STRING
See Also:
Constant Field Values

NOT_ON_LOCAL_STRING

public static final java.lang.String NOT_ON_LOCAL_STRING
See Also:
Constant Field Values

STRING_ICONS

private static final java.util.ArrayList STRING_ICONS

parent

private org.sourcejammer.project.view.NodeInfo parent

localRemoteSyncState

private int localRemoteSyncState

parentTreeNode

private ProjectTreeNode parentTreeNode
Constructor Detail

FileNodeInfo

public FileNodeInfo(org.sourcejammer.project.view.NodeInfo parent)
Method Detail

childCount

public int childCount()
Specified by:
childCount in interface org.sourcejammer.project.Node
Overrides:
childCount in class org.sourcejammer.project.view.NodeInfo
See Also:
Node.childCount()

compareTo

public int compareTo(java.lang.Object arg0)
Specified by:
compareTo in interface java.lang.Comparable
Overrides:
compareTo in class org.sourcejammer.project.view.NodeInfo
See Also:
Comparable.compareTo(Object)

getCheckedOutDate

public org.sourcejammer.util.SJDate getCheckedOutDate()
Overrides:
getCheckedOutDate in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.getCheckedOutDate()

getCheckedOutToPath

public java.lang.String getCheckedOutToPath()
Overrides:
getCheckedOutToPath in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.getCheckedOutToPath()

getCheckedOutToUser

public java.lang.String getCheckedOutToUser()
Overrides:
getCheckedOutToUser in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.getCheckedOutToUser()

getCreatedDate

public org.sourcejammer.util.SJDate getCreatedDate()
Overrides:
getCreatedDate in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.getCreatedDate()

getCreatedUser

public java.lang.String getCreatedUser()
Overrides:
getCreatedUser in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.getCreatedUser()

getFileType

public int getFileType()
Overrides:
getFileType in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.getFileType()

getHasChildren

public boolean getHasChildren()
Overrides:
getHasChildren in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.getHasChildren()

getLatestVerUniqueID

public long getLatestVerUniqueID()
Overrides:
getLatestVerUniqueID in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.getLatestVerUniqueID()

getModifiedDate

public org.sourcejammer.util.SJDate getModifiedDate()
Overrides:
getModifiedDate in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.getModifiedDate()

getNodeName

public java.lang.String getNodeName()
Specified by:
getNodeName in interface org.sourcejammer.project.Node
Overrides:
getNodeName in class org.sourcejammer.project.view.NodeInfo
See Also:
Node.getNodeName()

getNodeType

public int getNodeType()
Overrides:
getNodeType in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.getNodeType()

getNumVersions

public int getNumVersions()
Overrides:
getNumVersions in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.getNumVersions()

getParentID

public long getParentID()
Overrides:
getParentID in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.getParentID()

getSourceSizeInBytes

public long getSourceSizeInBytes()
Overrides:
getSourceSizeInBytes in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.getSourceSizeInBytes()

getUniqueID

public long getUniqueID()
Specified by:
getUniqueID in interface org.sourcejammer.project.Node
Overrides:
getUniqueID in class org.sourcejammer.project.view.NodeInfo
See Also:
Node.getUniqueID()

isCheckedOut

public boolean isCheckedOut()
Overrides:
isCheckedOut in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.isCheckedOut()

isPlaceHolder

public boolean isPlaceHolder()
Overrides:
isPlaceHolder in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.isPlaceHolder()

isShared

public boolean isShared()
Specified by:
isShared in interface org.sourcejammer.project.Node
Overrides:
isShared in class org.sourcejammer.project.view.NodeInfo
See Also:
Node.isShared()

setCheckedOut

public void setCheckedOut(boolean b)
Overrides:
setCheckedOut in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.setCheckedOut(boolean)

setCheckedOutDate

public void setCheckedOutDate(org.sourcejammer.util.SJDate d)
Overrides:
setCheckedOutDate in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.setCheckedOutDate(SJDate)

setCheckedOutToPath

public void setCheckedOutToPath(java.lang.String s)
Overrides:
setCheckedOutToPath in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.setCheckedOutToPath(String)

setCheckedOutToUser

public void setCheckedOutToUser(java.lang.String s)
Overrides:
setCheckedOutToUser in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.setCheckedOutToUser(String)

setChildCount

public void setChildCount(int i)
Overrides:
setChildCount in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.setChildCount(int)

setCreatedDate

public void setCreatedDate(org.sourcejammer.util.SJDate d)
Overrides:
setCreatedDate in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.setCreatedDate(SJDate)

setCreatedUser

public void setCreatedUser(java.lang.String s)
Overrides:
setCreatedUser in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.setCreatedUser(String)

setFileType

public void setFileType(int i)
Overrides:
setFileType in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.setFileType(int)

setHasChildren

public void setHasChildren(boolean b)
Overrides:
setHasChildren in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.setHasChildren(boolean)

setLatestVerUniqueID

public void setLatestVerUniqueID(long latestVerUniqueID)
Overrides:
setLatestVerUniqueID in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.setLatestVerUniqueID(long)

setModifiedDate

public void setModifiedDate(org.sourcejammer.util.SJDate d)
Overrides:
setModifiedDate in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.setModifiedDate(SJDate)

setNodeName

public void setNodeName(java.lang.String s)
Overrides:
setNodeName in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.setNodeName(String)

setNodeType

public void setNodeType(int i)
Overrides:
setNodeType in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.setNodeType(int)

setNumVersions

public void setNumVersions(int i)
Overrides:
setNumVersions in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.setNumVersions(int)

setParentID

public void setParentID(long l)
Overrides:
setParentID in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.setParentID(long)

setPlaceHolder

public void setPlaceHolder(boolean b)
Overrides:
setPlaceHolder in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.setPlaceHolder(boolean)

setShared

public void setShared(boolean b)
Overrides:
setShared in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.setShared(boolean)

setSourceSizeInBytes

public void setSourceSizeInBytes(long l)
Overrides:
setSourceSizeInBytes in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.setSourceSizeInBytes(long)

setUniqueID

public void setUniqueID(long l)
Overrides:
setUniqueID in class org.sourcejammer.project.view.NodeInfo
See Also:
NodeInfo.setUniqueID(long)

toString

public java.lang.String toString()
Overrides:
toString in class org.sourcejammer.project.view.NodeInfo
See Also:
Object.toString()

getLocalRemoteSyncState

public int getLocalRemoteSyncState()
Returns the localRemoteSyncState.

Returns:
int

setLocalRemoteSyncState

public void setLocalRemoteSyncState(int localRemoteSyncState)
Sets the localRemoteSyncState.

Parameters:
localRemoteSyncState - The localRemoteSyncState to set

getLocalRemoteString

public java.lang.String getLocalRemoteString()

getParentTreeNode

public ProjectTreeNode getParentTreeNode()
Returns the parentTreeNode.

Returns:
ProjectTreeNode

setParentTreeNode

public void setParentTreeNode(ProjectTreeNode parentTreeNode)
Sets the parentTreeNode.

Parameters:
parentTreeNode - The parentTreeNode to set


Copyright 2003 Soucejammer project.