org.sourcejammer.project.view
Class ViewNode

java.lang.Object
  |
  +--org.sourcejammer.project.view.ViewNode
All Implemented Interfaces:
Node
Direct Known Subclasses:
Project

public abstract class ViewNode
extends java.lang.Object
implements Node

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

Version:
$Revision: 1.3 $
Author:
Robert MacGrogan

Field Summary
private  boolean mbShared
           
private  SJDate mdCreatedDate
           
private  long mlParentID
           
private  long mlUniqueID
           
private  java.lang.String msName
           
 
Constructor Summary
ViewNode()
           
 
Method Summary
abstract  int childCount()
          Returns count of number of child of this Node.
 SJDate getCreatedDate()
          Returns the date the Node was added to the archive.
 java.lang.String getNodeName()
          Returns the name of the node.
 long getParentID()
           
 long getUniqueID()
          Returns the unique ID of the underlying node on the server.
 boolean isShared()
          Returns true if the Node is shared to another location in the archive.
 void setCreatedDate(SJDate d)
           
 void setNodeName(java.lang.String s)
           
 void setParentID(long l)
          Provided for convenience of client.
 void setShared(boolean b)
           
 void setUniqueID(long l)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mdCreatedDate

private SJDate mdCreatedDate

mbShared

private boolean mbShared

mlUniqueID

private long mlUniqueID

msName

private java.lang.String msName

mlParentID

private long mlParentID
Constructor Detail

ViewNode

public ViewNode()
Method Detail

getNodeName

public java.lang.String getNodeName()
Description copied from interface: Node
Returns the name of the node.

Specified by:
getNodeName in interface Node

setNodeName

public void setNodeName(java.lang.String s)

getCreatedDate

public SJDate getCreatedDate()
Returns the date the Node was added to the archive.


setCreatedDate

public void setCreatedDate(SJDate d)

isShared

public boolean isShared()
Returns true if the Node is shared to another location in the archive.

Specified by:
isShared in interface Node

setShared

public void setShared(boolean b)

childCount

public abstract int childCount()
Returns count of number of child of this Node.

Specified by:
childCount in interface Node

getUniqueID

public long getUniqueID()
Returns the unique ID of the underlying node on the server.

Specified by:
getUniqueID in interface Node

setUniqueID

public void setUniqueID(long l)

getParentID

public long getParentID()

setParentID

public void setParentID(long l)
Provided for convenience of client. Client can set the parent ID when a file or project ViewNode is retrieved to make it easier to keep track of parent/child releationships.



Copyright 2003 Soucejammer project.