com.dotmarketing.beans
Class Tree

java.lang.Object
  extended by 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
 
Method Summary
 boolean equals(java.lang.Object other)
           
 long getChild()
           
 long getParent()
           
 java.lang.String getRelationType()
           
 int getTreeOrder()
           
 int hashCode()
           
 void setChild(long child)
           
 void setParent(long parent)
           
 void setRelationType(java.lang.String relationType)
           
 void setTreeOrder(int treeOrder)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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

Method Detail

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.