pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.component.statistics.model.aggregation
Class PathTreeElement

java.lang.Object
  extended by org.torweg.pulse.util.entity.AbstractBasicEntity
      extended by org.torweg.pulse.util.entity.Node
          extended by org.torweg.pulse.component.statistics.model.aggregation.AbstractTreeElement<PathTreeElement>
              extended by org.torweg.pulse.component.statistics.model.aggregation.PathTreeElement
All Implemented Interfaces:
java.io.Serializable

@Entity
public class PathTreeElement
extends AbstractTreeElement<PathTreeElement>

Represents a path string element within the pulse website statistics.

Version:
$Revision: 1555 $
Author:
Daniel Dietz
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.torweg.pulse.component.statistics.model.aggregation.AbstractTreeElement
LOGGER
 
Constructor Summary
protected PathTreeElement()
          Deprecated. 
  PathTreeElement(StatisticsServer s)
          Creates a new root node for the given server.
  PathTreeElement(java.lang.String pathElement, StatisticsServer s)
          Creates a new PathTreeElement for the given pathString element.
 
Method Summary
 
Methods inherited from class org.torweg.pulse.component.statistics.model.aggregation.AbstractTreeElement
getChildByPathString, getPathString, getStatisticsServer, isRootNode, setPathString, setPathString, setRooNode, setServer, toString
 
Methods inherited from class org.torweg.pulse.util.entity.Node
addChild, addChild, getChild, getChildIndex, getChildren, getParent, hasChildren, removeChild, setChildren, toJSON
 
Methods inherited from class org.torweg.pulse.util.entity.AbstractBasicEntity
compareTo, equals, getFullQualifiedClassNameJAXB, getId, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PathTreeElement

@Deprecated
protected PathTreeElement()
Deprecated. 

Default constructor.


PathTreeElement

public PathTreeElement(StatisticsServer s)
Creates a new root node for the given server.

Parameters:
s - the statistics server

PathTreeElement

public PathTreeElement(java.lang.String pathElement, StatisticsServer s)
                throws java.lang.NullPointerException,
                       java.lang.IllegalArgumentException
Creates a new PathTreeElement for the given pathString element.

Parameters:
pathElement - the name of the pathString element as represented by this PathTreeElement.
s - the server the path element belongs to
Throws:
java.lang.NullPointerException - if the given pathElement is null
java.lang.IllegalArgumentException - if the given pathElement is empty string