com.dotmarketing.beans
Class MultiTree

java.lang.Object
  extended by com.dotmarketing.beans.MultiTree
All Implemented Interfaces:
java.io.Serializable

public class MultiTree
extends java.lang.Object
implements java.io.Serializable

Author:
maria
See Also:
Serialized Form

Constructor Summary
MultiTree()
          default constructor
MultiTree(long parent1, long parent2, long child)
          minimal constructor
MultiTree(long parent1, long parent2, long child, java.lang.String relationType, int treeOrder)
          full constructor
 
Method Summary
 boolean equals(java.lang.Object other)
           
 long getChild()
           
 long getParent1()
           
 long getParent2()
           
 java.lang.String getRelationType()
           
 int getTreeOrder()
           
 int hashCode()
           
 void setChild(long child)
           
 void setParent1(long parent1)
           
 void setParent2(long parent2)
           
 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

MultiTree

public MultiTree(long parent1,
                 long parent2,
                 long child,
                 java.lang.String relationType,
                 int treeOrder)
full constructor


MultiTree

public MultiTree()
default constructor


MultiTree

public MultiTree(long parent1,
                 long parent2,
                 long child)
minimal constructor

Method Detail

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

getParent1

public long getParent1()
Returns:
Returns the parent1.

setParent1

public void setParent1(long parent1)
Parameters:
parent1 - The parent1 to set.

getParent2

public long getParent2()
Returns:
Returns the parent2.

setParent2

public void setParent2(long parent2)
Parameters:
parent2 - The parent2 to set.


Copyright © 2006 Dotmarketing, Inc. All Rights Reserved.