com.dotmarketing.beans
Class MultiTree
java.lang.Object
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 |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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
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.