org.sourcejammer.project.view
Class Project

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

public class Project
extends ViewNode

Represents of view of a project within the project hierarchy.


Field Summary
private  java.lang.String[] childrenLightweight
           
(package private)  NodeList moChildren
           
 
Fields inherited from class org.sourcejammer.project.view.ViewNode
 
Constructor Summary
Project()
           
 
Method Summary
 void buildChildrenFromStrings()
           
 int childCount()
          Returns count of number of child of this Node.
 NodeList childList()
           
 NodeIterator childNodes()
           
 java.lang.String[] getChildNodeArray()
           
 void setChildNodeArray(java.lang.String[] nodes)
          Set child nodes using an array of NodeInfo objects.
 java.lang.String toString()
           
 void useChildNodeList(NodeList children)
          Make sure this is a NodeList of NodeInfo objects.
 
Methods inherited from class org.sourcejammer.project.view.ViewNode
getCreatedDate, getNodeName, getParentID, getUniqueID, isShared, setCreatedDate, setNodeName, setParentID, setShared, setUniqueID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

moChildren

NodeList moChildren

childrenLightweight

private java.lang.String[] childrenLightweight
Constructor Detail

Project

public Project()
Method Detail

setChildNodeArray

public void setChildNodeArray(java.lang.String[] nodes)
Set child nodes using an array of NodeInfo objects. This is necesary for current version of Apache SOAP.

Throws:
NodeExistsException - if the array contains one or more nodes with the same nodeName.

buildChildrenFromStrings

public void buildChildrenFromStrings()
                              throws NodeExistsException
NodeExistsException

getChildNodeArray

public java.lang.String[] getChildNodeArray()

useChildNodeList

public void useChildNodeList(NodeList children)
Make sure this is a NodeList of NodeInfo objects.


childList

public NodeList childList()

childNodes

public NodeIterator childNodes()

childCount

public int childCount()
Description copied from class: ViewNode
Returns count of number of child of this Node.

Specified by:
childCount in interface Node
Specified by:
childCount in class ViewNode

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright 2003 Soucejammer project.