com.extentech.ExtenBean
Interface RelationalObject

All Known Subinterfaces:
DataObject, PageableDataObject
All Known Implementing Classes:
CellRangeDataObject, DataObjectImpl, ExtenBeanTreeNode, ExtenDataObject, GenericDataObject, NamedRangeDataObject, RelationalObjectImpl, XMLBeanNode, XMLDataObject

public interface RelationalObject

An Interface defining relational Data Objects encapsulating Relational data information. Interface defining a Data Object encapsulating data. DataObjects can be hierarchical and maintain a child-parent relationship as defined in this interface.

Version:
1.1
Author:
John McMahon -- Copyright ©2011Extentech Inc.
See Also:
ExtenBeanFactory, DataObject, colinfo

Method Summary
 void addChildObject(RelationalObject c)
           
 Vector getAllChildrenInHeirarchy()
           
 List getChildObjects()
          return a Listof all Child Objects
 int getLevel()
           
 RelationalObject getParentObject()
           
 boolean hasChildren()
           
 void setLevel(int i)
          the level indicates the depth of this object in a Relational Heirarchy
 void setParent(RelationalObject par)
           
 

Method Detail

getChildObjects

List getChildObjects()
return a Listof all Child Objects

Returns:

getAllChildrenInHeirarchy

Vector getAllChildrenInHeirarchy()

hasChildren

boolean hasChildren()

addChildObject

void addChildObject(RelationalObject c)

setParent

void setParent(RelationalObject par)

getParentObject

RelationalObject getParentObject()

setLevel

void setLevel(int i)
the level indicates the depth of this object in a Relational Heirarchy


getLevel

int getLevel()


Copyright © 2011 Extentech Inc. All Rights Reserved.