com.frovi.ss.Tree
Class BaseNode

java.lang.Object
  |
  +--com.frovi.ss.Tree.BaseNode
Direct Known Subclasses:
CategoryNodeImpl, ContentNodeImpl, ManagementNodeImpl, SiteNodeNodeImpl

public abstract class BaseNode
extends java.lang.Object

BaseNode.java PureHtmlTree node object Created on 2002-sep-27

Author:
Stefan Sik, ss@frovi.com ss

Constructor Summary
BaseNode()
           
 
Method Summary
 java.lang.Integer getId()
          Returns the id.
 int getLevel()
          Returns the level.
 java.lang.String getOpenCloseKey()
          Returns the openCloseKey.
 java.lang.String getOpenCloseKeyEx()
          Returns the openCloseKeyEx.
 java.util.Map getParameters()
           
 java.util.List getRowList()
           
 java.lang.String getThisKey()
          Returns the thisKey.
 java.lang.String getTitle()
          Returns the title.
 java.util.Vector getTreeStuff()
          Returns the treeStuff.
 boolean hasChildren()
          Returns the children.
 boolean isContainer()
          Returns the container.
 boolean isOpen()
          Returns the open.
 boolean isRoot()
          Returns the root.
 void setChildren(boolean children)
          Sets the children.
 void setContainer(boolean container)
          Sets the container.
 void setId(java.lang.Integer id)
          Sets the id.
 void setIsRoot(boolean root)
          Sets the root.
 void setLevel(int level)
          Sets the level.
 void setOpen(boolean open)
          Sets the open.
 void setOpenCloseKey(java.lang.String openCloseKey)
          Sets the openCloseKey.
 void setOpenCloseKeyEx(java.lang.String openCloseKeyEx)
          Sets the openCloseKeyEx.
 void setThisKey(java.lang.String thisKey)
          Sets the thisKey.
 void setTitle(java.lang.String title)
          Sets the title.
 void setTreeStuff(java.util.Vector treeStuff)
          Sets the treeStuff.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseNode

public BaseNode()
Method Detail

getId

public java.lang.Integer getId()
Returns the id.

Returns:
Integer

getTitle

public java.lang.String getTitle()
Returns the title.

Returns:
String

setId

public void setId(java.lang.Integer id)
Sets the id.

Parameters:
id - The id to set

setTitle

public void setTitle(java.lang.String title)
Sets the title.

Parameters:
title - The title to set

getTreeStuff

public java.util.Vector getTreeStuff()
Returns the treeStuff.

Returns:
ArrayList

getRowList

public java.util.List getRowList()

setTreeStuff

public void setTreeStuff(java.util.Vector treeStuff)
Sets the treeStuff.

Parameters:
treeStuff - The treeStuff to set

isOpen

public boolean isOpen()
Returns the open.

Returns:
boolean

setOpen

public void setOpen(boolean open)
Sets the open.

Parameters:
open - The open to set

getLevel

public int getLevel()
Returns the level.

Returns:
int

setLevel

public void setLevel(int level)
Sets the level.

Parameters:
level - The level to set

getOpenCloseKey

public java.lang.String getOpenCloseKey()
Returns the openCloseKey.

Returns:
String

setOpenCloseKey

public void setOpenCloseKey(java.lang.String openCloseKey)
Sets the openCloseKey.

Parameters:
openCloseKey - The openCloseKey to set

hasChildren

public boolean hasChildren()
Returns the children.

Returns:
boolean

setChildren

public void setChildren(boolean children)
Sets the children.

Parameters:
children - The children to set

isContainer

public boolean isContainer()
Returns the container.

Returns:
boolean

setContainer

public void setContainer(boolean container)
Sets the container.

Parameters:
container - The container to set

getThisKey

public java.lang.String getThisKey()
Returns the thisKey.

Returns:
String

setThisKey

public void setThisKey(java.lang.String thisKey)
Sets the thisKey.

Parameters:
thisKey - The thisKey to set

isRoot

public boolean isRoot()
Returns the root.

Returns:
boolean

setIsRoot

public void setIsRoot(boolean root)
Sets the root.

Parameters:
root - The root to set

getOpenCloseKeyEx

public java.lang.String getOpenCloseKeyEx()
Returns the openCloseKeyEx.

Returns:
String

setOpenCloseKeyEx

public void setOpenCloseKeyEx(java.lang.String openCloseKeyEx)
Sets the openCloseKeyEx.

Parameters:
openCloseKeyEx - The openCloseKeyEx to set

getParameters

public java.util.Map getParameters()