Class JOP.test.TestObject4
All Packages  Class Hierarchy  This Package  Previous  Next  Index  Home

Class JOP.test.TestObject4

java.lang.Object
   |
   +----JOP.test.TestObject0
           |
           +----JOP.test.TestObject4

public class TestObject4
extends TestObject0
implements Persistable

This is an INTERNAL class.

Simple test object that contains a reference to another object. Just like TestObject1 except that we'll inherit from TestObject as a comparison.


Constructor Index

 o TestObject4()

Method Index

 o addReference(Object)
Can have narrow type or just Object as is required.
 o defineObject(PersistController)
 o streamIn(PersistController)
now requires 'throws exception' because of the nested object
 o streamOut(PersistController)
now requires 'throws exception' because of the nested object
 o toString()

Constructors

 o TestObject4
  public TestObject4()

Methods

 o addReference
  public void addReference(Object o)
Can have narrow type or just Object as is required. Use natural Java
 o toString
  public String toString()
Overrides:
toString in class TestObject0
 o defineObject
  public void defineObject(PersistController c) throws Exception
Overrides:
defineObject in class TestObject0
 o streamIn
  public void streamIn(PersistController c) throws Exception
now requires 'throws exception' because of the nested object
Overrides:
streamIn in class TestObject0
 o streamOut
  public void streamOut(PersistController c) throws Exception
now requires 'throws exception' because of the nested object
Overrides:
streamOut in class TestObject0

All Packages  Class Hierarchy  This Package  Previous  Next  Index  Home