spark.data
Interface SParented

All Known Subinterfaces:
SA, SO
All Known Implementing Classes:
SArray, SObj, SOReflect

public interface SParented

This is the interface for all objects that have a parent. This include SO and SA

Author:
olsen

Method Summary
 SParented myParent()
          Returns the parent of this object, if this object is part of a tree.
 void newParent(SParented newParent)
          changes the parent of this object.
 

Method Detail

myParent

SParented myParent()
Returns the parent of this object, if this object is part of a tree. This has been named so as not to interfere with the get/set method patterns used by SOReflect

Returns:
the parent object.

newParent

void newParent(SParented newParent)
changes the parent of this object. This has been named so as not to interfere with the get/set method patterns used by SObjReflect.

Parameters:
newParent - the new parent object.