com.dotmarketing.beans
Class Tree

java.lang.Object
  extended by com.dotmarketing.beans.Tree
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public class Tree
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable

Author:
maria
See Also:
Serialized Form

Constructor Summary
Tree()
          default constructor
Tree(java.lang.String parent, java.lang.String child)
          minimal constructor
Tree(java.lang.String parent, java.lang.String child, java.lang.String relationType, int treeOrder)
          full constructor
 
Method Summary
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object other)
           
 java.lang.String getChild()
           
 java.lang.String getParent()
           
 java.lang.String getRelationType()
           
 int getTreeOrder()
           
 int hashCode()
           
 void setChild(java.lang.String child)
           
 void setParent(java.lang.String 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(java.lang.String parent,
            java.lang.String child,
            java.lang.String relationType,
            int treeOrder)
full constructor


Tree

public Tree()
default constructor


Tree

public Tree(java.lang.String parent,
            java.lang.String child)
minimal constructor

Method Detail

getParent

public java.lang.String getParent()

setParent

public void setParent(java.lang.String parent)

getChild

public java.lang.String getChild()

setChild

public void setChild(java.lang.String 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

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable


Copyright © 2013 dotCMS Inc. All Rights Reserved.