SourceJammer 1.2.0.1 May 20, 2002
Copyright (c) 2001, 2002 Robert MacGrogan

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:


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
 

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.

SourceJammer 1.2.0.1 May 20, 2002
Copyright (c) 2001, 2002 Robert MacGrogan