com.dotmarketing.beans
Class Tree
java.lang.Object
com.dotmarketing.beans.Tree
- All Implemented Interfaces:
- java.io.Serializable
public class Tree
- extends java.lang.Object
- implements java.io.Serializable
- Author:
- maria
- See Also:
- Serialized Form
|
Constructor Summary |
Tree()
default constructor |
Tree(long parent,
long child)
minimal constructor |
Tree(long parent,
long child,
java.lang.String relationType,
int treeOrder)
full constructor |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Tree
public Tree(long parent,
long child,
java.lang.String relationType,
int treeOrder)
- full constructor
Tree
public Tree()
- default constructor
Tree
public Tree(long parent,
long child)
- minimal constructor
getParent
public long getParent()
setParent
public void setParent(long parent)
getChild
public long getChild()
setChild
public void setChild(long child)
getRelationType
public java.lang.String getRelationType()
setRelationType
public void setRelationType(java.lang.String relationType)
getTreeOrder
public int getTreeOrder()
setTreeOrder
public void setTreeOrder(int treeOrder)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
Copyright © 2006 Dotmarketing, Inc. All Rights Reserved.